Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Cutoff

Hello all,

I'm taking an array of 30 images (5 horizontal, 6 vertical) and combining them first in 6 rows, then combining those rows thereafter.  The individual image size is 1024x768, so each row will be 5120x768, leading to an entire combined image of 5120x4608.  However, when each 1024x768 image is sent to be combined into rows the image size is reduced into a square of 768x768.  The loss of 256 pixels is not accounted for in any way and I cannot see where or how they are being cutoff/lost other than a region that is 1280x768 pixels of blank/black after the actual images (see attached image).

Methods of horizontal and vertical image combination (see attached image)

Vertical Image Combination (see attached VI)

I hope that there is some error in addition, the shift register, or X/Y resolution that I cannot see in the attached image/VI.



Download All
0 Kudos
Message 1 of 3
(3,292 Views)

Steve,

You didn't swap all your x and y values.  When you create rows, you are still using the y dimension to increment the x offset.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,280 Views)
I just noticed that in the 2nd loop.  The images were adding on at the Y position and not the X position therefore creating an overlap and also the "blank" space at the end.

Thank you for taking a look at that Bruce, now I'm absolutely sure what I thought is correct.
0 Kudos
Message 3 of 3
(3,278 Views)