Re:Accurate Image Alignment and Registration Using OpenCV
by versatran01 on Wednesday March 09, 2022 @09:58AM
(#30615075)
Direct methods could be useful in your case. https://pages.cs.wisc.edu/~dyer/ai-qual/irani-visalg00.pdf
[ Parent
| on HN ]
Re:Accurate Image Alignment and Registration Using OpenCV
by SCUSKU on Wednesday March 09, 2022 @12:27PM
(#30617339)
At work I had to make a custom image registration pipeline, that uses only 2 degrees of freedom, so just x,y translation. OpenCV did not have anything that did this, but a python library called Kornia does this well.
https://kornia-tutorials.readthedocs.io/en/latest/image_regi...
Re:Accurate Image Alignment and Registration Using OpenCV
by zalo on Wednesday March 09, 2022 @05:38PM
(#30620910)
Actually base-OpenCV has a great function for this: `cv2.findTransformECC()`:
https://learnopencv.com/image-alignment-ecc-in-opencv-c-pyth...
It can do dense translation, translation + rotation, Affine, and Homography alignment; I've used it in the past to do sub-pixel Aruco/AprilTag alignment (and I'd probably also use it for astrophotography).