LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

brightness contrast

Hi all,

I am trying to change the brightness of a raw image that is "I16". I tried using the BCG Lookup function but it takes only "U8" image as an input. I convert the image from "I16" using the image cast function but during casting the critical image information dies and I can only see noisy and unwanted image.
Is there a posibility to cope with this problem using labview 7.1?

Regards,
Bilal
0 Kudos
Message 1 of 2
(2,613 Views)

Are you casting a U16 to U8, this truncates the data and you will only see the noise that is the least 8 significant bits.  You should devide by 256 then cast to ux or just split the 16 bit to 2 8bit numbers and use onle the upper 8 bits.  You will loose dynamic range either way.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 2
(2,601 Views)