Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Wrong images

Hello!

I'm new to labview and vision. My problem is that labview show incorrect images when I show them on the front panel. Is there anyone who can see what is wrong?

I enclose my program and 2 images.

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

Hi Jansen81,

Have you found a solution to your issue?

If not, I would like to know what you expect to see on the two pictures you posted?
How is the image on the front panel incorrect in comparison to what you expect to see?


Could you please tell me the versions number of the software you use for both LabVIEW and NI Vision?

Kristoffer
0 Kudos
Message 2 of 3
(970 Views)

When you create the image refs, you leave an input unconnected.  This defaults the image type to U8.  Make sure that you connect the U8 output of the 'Image to Array' vis.  Also, before you do the subtraction, you should convert the U8 data to I16 to make sure you do not lose the negative numbers.  Lastly, make the difference image type 16-bit to visualize the data.

Randall Pursley
0 Kudos
Message 3 of 3
(955 Views)