wiki:ossim-batch-test

Version 4 (modified by dburken, 12 years ago) ( diff )

--

ossim-batch-test

ossim-batch-test is a command line test application that can execute programs, test the results against expected results, and log the output with differences between expected results and run times. ossim-batch-test requires a test configuration file for input and generates a log file on output. Multiple test can be in a single configuration file. A single test, all test or multiple test can be ran with a single ossim-batch-test command. All times are logged for each command. So you can easily test for changes in output and changes in output times. This application is written in c++ so it's portable on windows, linux, MACs. Typically to switch from on to another the file paths and diff commands have to be query / replaced in config file.

Example of ossim-orthoigen test on a NITF image with RPC model:

For this test three things:
1) The height about the center of the test image. Because this image has a RPC sensor model which is affected by elevation, the first test is the height at the center of the image. If this changes the output bounds will also change.
2) The initial output of ossim-info -d -i -p of the source test image. This alone will test many changes in the code.
3) The orthoigen output. Test reprojecting image to an output file. Testing the histogram checks for pixel changes. Testing the ossim-info -d -i -p <output-image> tests for geometry changes.

From here on out commands start with $ and comments start with .

This example was generated on linux

Note: See TracWiki for help on using the wiki.