Re: help on better image
- From: John Cupitt ng-london org uk
- To: simithn yahoo com
- Cc: qce-ga-devel lists sourceforge net, gtk-list gnome org
- Subject: Re: help on better image
- Date: Tue, 27 Aug 2002 19:47:45 +0100
simith nambiar wrote:
> i have a Logitech Quickcam express up and
> running, the only problem i have is the color !
> the color is a bit bluish when i plot it using
> gdk_draw_raw_rgb_image using gtk .
Hi, you probably need to add a white balance function. Add a button
somewhere ... on click, find the average pixel value in each of the
three channels (eg. you might get R = 128, G = 128, B = 200), and use
that to weight the pixels you send to the display. Do it with look up
tables and you won't see much of a slowdown.
John
==========================================================
Fabric of Vision
Dress and Drapery in Painting
19 June - 8 September 2002
For information and tickets:
http://www.nationalgallery.org.uk/exhibitions/fabric/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]