Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Color Image adjustments

What is the method/example to use CWIMAQColor.Contrast?
0 Kudos
Message 1 of 4
(6,159 Views)
Hi Steve,

I think I saw your e-mail about this earlier today!

CWIMAQColor is not a method. If you are trying to use the CWIMAQColor item, you will need to set the contrast and other properties directly.

Here is an example:

CWIMAQ1.Color.Contrast = 10

where CWIMAQ1 is of CWIMAQ
and Color is of CWIMAQColor

Hope this helps,

Robert
0 Kudos
Message 2 of 4
(6,149 Views)
I got your email reply too, thanks!

I actually tried this but as I understand it (via help) the .Brightness item is a range of -50 to +50 and .Contrast is 0 to 1.5. I set up a couple of scroll bars to set the CWIMAQ1.Color.Brightness and .Contrast but they are not having any effect on my live image.

It must be that these are not supported by the Pulnix.

I will try the transform method, which I have used before for other applications.

Thanks again.

I will post the solution when I get this working.
0 Kudos
Message 3 of 4
(6,144 Views)
Hi Steve,

My impression was that this process was post-acquisition, meaning you can do it with any camera. Let me know how your testing goes... I may give this a try as well!

Robert
0 Kudos
Message 4 of 4
(6,141 Views)