"align” two images.

asked 2018-10-04 07:26:57 -0600

Hi.

I have a question on how to “align” two images. I have two pictures, one generated form Gerber data (the black and white one) And one taken by my mobile phone. Is there a way to align these two images ( boards ), I need it so I can get all the soldering points, and see if they are done correctly.

Hope anyone can point me in the right way..

Best regards, and thanks in advance.. SPA.

C:\fakepath\IMG_20181004_104949 (1).jpg C:\fakepath\Soldermask bottom Black.jpg

edit retag flag offensive close merge delete

Comments

i won't write the code for it here, but you could try to find a homography (maybe using AKAZE features) between your images, and warpPerspective() to map them onto each other.

berak gravatar imageberak ( 2018-10-04 07:49:26 -0600 )edit

you should think about feature points

jsxyhelu gravatar imagejsxyhelu ( 2018-10-06 09:13:58 -0600 )edit

Will this work for you? cv2.createAlignMTB()

supra56 gravatar imagesupra56 ( 2018-10-18 08:34:26 -0600 )edit