11-30-2016 09:06 AM
Hallo,
I am using the IMAQ color BCG lookup to process some RGB images. Does someone know the range of the brightness, contrast, gamma of a RGB image?
Best regard
Solved! Go to Solution.
11-30-2016 11:00 AM
Check the help topic. Right-click the VI and select Help.
These values will be relative to the current pixel they're being applied to. Brightness is the x-intercept of a transfer function and accepts between 0 and 256 with 128 being neutral (no effect). Contrast is the slope so it can go between 0 and 90 (45 is no effect). Gamma is a little weird due to the way the human eye percieves contrast between light and dark but generally 1 is neutral and 0 and 2 are the extremes.
https://en.wikipedia.org/wiki/Gamma_correction
Why don't you just display your image in a loop and make all 9 variable controlled by sliders? Then you can play around with different images and see what each control does and how it interacts with all the other controls.
11-30-2016 03:33 PM
Hello,
thanks for your reply.
I have solved the problem.:)
Best regards
12-01-2016 06:56 AM
If you have "solved the Problem", how about giving back to the Community by posting your "Solution" and marking it as the Solution? This lets someone else with the same question find your Solution to their problem.
Bob Schor
12-02-2016 04:42 AM
Hello Bob,
I have used the vision module from LabVIEW to solve this problem. With This VI from LabVIEW I can control the BCG parameters of the RGB image.
Best regard