News for hackers. Stuff that matters.
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).

Re:Accurate Image Alignment and Registration Using OpenCV by hikarudo on Wednesday March 09, 2022 @12:35PM (#30617500)
The opencv_contrib repo does have a module, called "reg", for direct alignment.