Maxar-Corp / omar

The Ossim Mapping ARchiver
GNU Lesser General Public License v2.1
8 stars 5 forks source link

Autonomous Image Registration #46

Open dhicks10 opened 10 years ago

dhicks10 commented 10 years ago

Develop a stand-alone command-line capability to automatically register (align) two overlapping images.

This development requires integration of two previously developed GeoCell-related classes,

mlucas17 commented 9 years ago

Dave Hicks has made significant progress towards adding this capability. Current status includes image correlation adjusting parameters in the sensor models.

mlucas17 commented 9 years ago

Dave Hicks has continued to make progress on adding this capability to the OSSIM baseline as a side project. The capabilities that he has developed have been exposed through the GeoCell application for testing. Basic image to image correlation and adjustment is now working and in testing in the baseline. He plans on adding the capability of >2 image adjustment correlations in the future. Some example pics showing the tie point selection, and before/after adjustments have been published.

dhicks10 commented 9 years ago

1st Qtr 2015 Status..... Initial command-line autonomous registration capability has been committed to SVN. This involved migration of the interactive GeoCell auto tie point measurement and bundle adjustment (ossimAdjustmentExecutive and ossimTieMeasurementGenerator classes) functions to a stand-alone executable ossim-autreg and associated ossimAutRegUtil class.

Initial capability key points:

dhicks10 commented 9 years ago

ossim-autoreg usage example..... Attached screenshots show results from 3 command lines below... . unregistered 2cmv ("before") from ossim-chipper . optional OpenCV match window pop-up from ossim-autreg . registered 2cmv ("after") from ossim-chipper

ossim-chipper --cut-center-llwh 28.597595604687303 -80.676283359298097 512 512 --op 2cmv /data/Space_Coast/Test/po_176062_pan_0000000.ntf /data/Space_Coast/Test/3V050726P0000820271A0100007003410_00574200.ntf 2cmv-unreg.tif

ossim-autreg --op coreg --img_1 /data/Space_Coast/Test/po_176062_pan_0000000.ntf --img_2 /data/Space_Coast/Test/3V050726P0000820271A0100007003410_00574200.ntf --ocv_config_file /Users/dhicks/Temp/ocv-default-config.kwl --oax_config_file /Users/dhicks/Temp/oax-default-config.kwl --roi-center-llwh 28.597595604687303 -80.676283359298097 512 512 -T "ossimAutRegUtil:debug" test1

ossim-chipper --cut-center-llwh 28.597595604687303 -80.676283359298097 512 512 --op 2cmv /data/Space_Coast/Test/po_176062_pan_0000000.ntf /data/Space_Coast/Test/3V050726P0000820271A0100007003410_00574200.ntf 2cmv-reg.tif

screen shot unreg screen shot matches screen shot reg

dhicks10 commented 9 years ago

ossimAdjustableParameterInterface dependency..... Input images must have an associated ossimAdjustableParameterInterface - this means the image geometry must have an error model. Related open issues:

  1. ossimAdjustableParameterInterface class requires review; may not provide expected behavior in current form.
  2. ossimAdjustableParameterInterface should be added to orthos (map projection) to allow registration to CIB-like control imagery.
  3. Option for "register to control image" (lock image) should be added (currently available in GeoCell).