Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I implement IMAQ correlation for 16bit image?

Hi

 

When using IMAQ correlate. vi in Machine vision Filter catergory, the vi only works for 8 bit source and template image case.

16 bit source image case makes error.

 

But I need 16 bit source image without losing image information, I want to use full 16 bit image correlation with 8 bit template.

 

How can I implement the code in labview?

 

Need help.

 

Many thanks.

0 Kudos
Message 1 of 2
(4,190 Views)

Unfortunately you can't do so.

There are some functions in the Vision Lib that only accept 8bit images. In order to use them you have to convert your image to an 8bit Image.

Keep in mind that converting an Image to 8bit will not necessary result in a loss of data. Check your Images, it might be that you are not using the full range of a 16bit value. you might be able to use a mixture of dynamic shifting and bit shifting in order to convert an image to an 8 bit, then embedding these criterias in the image and use them to convert back to a 16bit at a later time without losing any data, or in most cases minimal precision loss. 

If you would like to attach one of the images you are using, I can take a look at it to see if this is possible in your case.

 

Good luck,

 

Dan,

0 Kudos
Message 2 of 2
(4,180 Views)