Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Unsigned 16-Bit Image Brightness Contrast

Hello, Everyone

I have Unsigned 16-Bit Image , I want to change the brightness & Contrast of this Image.
I dont found any VI in LabVIEW to do that with this format (there is BCG but only for 8-Bit).

I found this link for that issue:Adjusting Brightness and Contrast for 16-Bit Image


So, I used the Operators function to do that. but i dont know if  the order of that functions is sensitive or NOT. see Picture

 

Operators 

 

and did i realy need to use Subtract operators and Divide operators .


Best wishes
Alzhrani

 

0 Kudos
Message 1 of 4
(3,687 Views)

Hi Al-Zahrani,

 

I don't believe that it matters whether you do brightness or contrast first. You can verify this by looking at a picture using both methods you showed below. However, when I did this, I did not see much of a difference and believe that you can place either brightness or contrast first. Also, you will need to include the math functions in order to perform the image processing you are trying to do. Hope this helps!

 

Mychal F

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,667 Views)
Thankyou Mychal for your reply
 
and did i realy need to use Subtract operators and Divide operators .


Best regard
Alzhrani
0 Kudos
Message 3 of 4
(3,622 Views)

Hi Alzhrani,

 

As far as using subtract and divide operators, it depends if you want to increase or decrease your brightness and contrast. Add will increase and Subtract will decrease the brightness. Multiply will increase and Divide will decrease the contrast.

 

Tim O

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,609 Views)