Jump to content

Align images vertically


Recommended Posts

I’m trying to automate the process for aligning two images vertically. The images are from different sensors mounted on the same PCA.

As shown below in the "aligned_images.png", images overlayed are vertically aligned:

Currently the alignment acceptance criteria is determined by the operator performing the alignment. My intent is to remove the subjective criteria and have software decide if alignment is correct.

Things attempted:

1.     I compared the distance from bottom to first edge; shown in Right_image.png and Left_image.png. The lower the difference the better the alignment (in theory).

Is this a good approach? Is there a better process for doing this?

Thanks

aligned_images.png

Right_image.png

Left_image.png

Link to comment
On 1/28/2017 at 0:52 PM, Tico_tech said:

1.     I compared the distance from bottom to first edge; shown in Right_image.png and Left_image.png. The lower the difference the better the alignment (in theory).

 

Is this a good approach? Is there a better process for doing this?

That's a simple but valid approach, assuming that both sensors are very close together and face the same direction at all times.

The technical term for alignment is "image registration" or "image fusion". The Advanced Signal Processing toolkit contains an example for doing image fusion -- do you have it installed?

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.