Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imagetoimage 2 Not working

I am trying to use the imagetoimage 2.vi function in one my subvi's. Currently, I have a large image and am extracting part of it to do further processing. When the processing is complete, I would like to use the imagetoimage function to combine the processed image with the original image. I believe I have everything wired correctly and the output from the imagetoimage function provides an empty image. If anyone can tell me why it is doing this, it would be great.

Thanks,

Kyle

P.S. Here is the file

0 Kudos
Message 1 of 3
(3,302 Views)

You didn't allocate a new image to store your extracted image, so it reused the original image.  When you tried to combine your extracted image with the original image, the original image no longer exists.

Create a new image and use it as the destination for your Extract operation.  This should fix your problem.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,297 Views)
Bruce,

Thanks a bunch. Works perfectly.

-Kyle
0 Kudos
Message 3 of 3
(3,293 Views)