Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Autonomous Image Registration #46

Open
dhicks10 opened this issue May 30, 2014 · 5 comments
Open

Autonomous Image Registration #46

dhicks10 opened this issue May 30, 2014 · 5 comments
Assignees

Comments

@dhicks10
Copy link
Contributor

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,

  • ossimAdjustmentExecutive (photogrammetric bundle adjustment), and
  • ossimTieMeasurementGenerator (OpenCV-based image correlation),
    as well as their supporting classes and other ossim core functions.
@dhicks10 dhicks10 self-assigned this May 30, 2014
@mlucas17
Copy link

mlucas17 commented Apr 2, 2015

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

@doconnor24 doconnor24 assigned ossimdave and dhicks10 and unassigned dhicks10 and ossimdave Apr 8, 2015
@mlucas17
Copy link

mlucas17 commented Apr 8, 2015

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
Copy link
Contributor Author

dhicks10 commented Apr 8, 2015

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:
- operation and code structure conforms to ossim-chipper approach
- currently attempts to co-register two image chips defined by "--roi-center-llwh" or "--roi-center-llr" ossim-chipper options
- executes OpenCV detector/descriptor/matcher and pops up optional match window for visual verification
- executes bundle adjustment using auto-measured tie points
- generates updated geometry files for input images
- ingests external OpenCV configuration file as command line option
- generates optional report/audit file summarizing operation
- limited options currently

@dhicks10
Copy link
Contributor Author

dhicks10 commented Apr 8, 2015

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
Copy link
Contributor Author

dhicks10 commented Apr 8, 2015

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants