Re: JMF: controlling webcam color settings from java

From: bauscharln (bauscharln_at_hotmail.com)
Date: 02/28/05


Date: Mon, 28 Feb 2005 17:14:05 +0100

Roland Poellinger wrote:

> problem: the camera automatically adjusts itself to new light conditions
> etc., so that it is not possible to compare two pictures because of the
> changing colors!
> ...
> this has to be possible in java, too.

Hello Roland,
I'm also playing around with my webcam(also logitech), and image
processing. I just switched from C# to JMF.
In C# i had to use vfw. I didn't adjust the settings programmatically
but with the messages WM_CAP_DLG_VIDEODISPLAY or WM_CAP_DLG_VIDEOSOURCE
I could invoke a Settings-Window, set the parameters manually, and
deactivate the auto-adjust function...

However, I hope you find a more elegant way to achive this. If so, I
would be very interested in the solution.

cheers,
martin



Relevant Pages