From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera output mode problem - some gray level values are never assigned?

Camera - basler line scan camera spl 4096-140km

Frame grabbler - PCIe-1433

 

When acquiring at 12-bit mode, some gray level values are never assigned? An example is shown below. Card and camera were set to run in 12-bit mode. Test image looks normal. I suspected the IMAQ write to tiff vi is the problem but I am not sure.  

 

histogram_pixel_level.png

 

 

0 Kudos
Message 1 of 3
(2,832 Views)

Are you reading this in Matlab then you need to invert the Tiff endian type. This is a comon problem between Matlab and LabVIEW. What do you get when you try a histogram in LabVIEW? 

0 Kudos
Message 2 of 3
(2,792 Views)

Hi, could you elaborate more? The image was subtracted of 2^15.

0 Kudos
Message 3 of 3
(2,781 Views)