RSS/Atom feed Twitter
Site is read-only, email is disabled

Removal of yellow and green eyes

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Removal of yellow and green eyes Per Tunedal 03 Nov 14:49
  Removal of yellow and green eyes Akkana Peck 04 Nov 02:41
   Removal of yellow and green eyes Torsten Neuer 04 Nov 10:23
Per Tunedal
2010-11-03 14:49:34 UTC (over 13 years ago)

Removal of yellow and green eyes

Hi,
what about variants of the remove red eyes filter?

I take pictures of animals and they get other unwanted colours like green or yellow in their eyes.

I suppose it would be feasible to introduce the opportunity to remove other colours but red.

The remove red eyes filter is found under filter - enhance.

I would be happy if there was two more filters:

remove green eyes and remove yellow eyes.

Or maybe a filter with an option to chose which colour to remove.

Yours, Per Tunedal
http://en.wikipedia.org/wiki/End_of_Message

--

Akkana Peck
2010-11-04 02:41:31 UTC (over 13 years ago)

Removal of yellow and green eyes

Per Tunedal writes:

I would be happy if there was two more filters:

remove green eyes and remove yellow eyes.

Or maybe a filter with an option to chose which colour to remove.

I've wanted that too. You can do it the old way (the way we used before the red-eye filter was added in GIMP 2.4): select the pupil, perhaps with the ellipse selection tool, then use something like the Hue-Saturation tool to desaturate and darken.

But it doesn't work as well on animal eyes as on human, because animal pupils are often much larger and is very light, and it's hard to make it turn black. Sometimes I have to paint in some black. Also, the animal pupil colors tend to be a lot less saturated than human redeye, so it might be harder to write a tool to select it in an automated way.

Anybody have a reliable way to deal with animal greeneye? Please share techniques!

...Akkana

Torsten Neuer
2010-11-04 10:23:25 UTC (over 13 years ago)

Removal of yellow and green eyes

Am 04.11.2010 03:41, schrieb Akkana Peck:

Per Tunedal writes:

I would be happy if there was two more filters:

remove green eyes and remove yellow eyes.

Or maybe a filter with an option to chose which colour to remove.

I've wanted that too. You can do it the old way (the way we used before the red-eye filter was added in GIMP 2.4): select the pupil, perhaps with the ellipse selection tool, then use something like the Hue-Saturation tool to desaturate and darken.

But it doesn't work as well on animal eyes as on human, because animal pupils are often much larger and is very light, and it's hard to make it turn black. Sometimes I have to paint in some black. Also, the animal pupil colors tend to be a lot less saturated than human redeye, so it might be harder to write a tool to select it in an automated way.

Anybody have a reliable way to deal with animal greeneye? Please share techniques!

You could also use the following:

(a) The Colour-Match plug-in (select eye region, select colour to substitute within the region and the colour you want it to change into)

(b) The User-Filter plug-in (you can adopt the formula for the red-eye reduction for other colours - especially green should be fairly easy). The formula is not as accurate as the native red-eye reduction since User-Filter does not use floating point values, but it still works pretty well - in fact, I think it is an old formula of the native plug-in. I don't have a working example of green-eye reduction (lacking some proper animal pictures) but you can still play around with the formula for red-eyes (ctl(0) being the slider which controls the sensitivity for colour removal):
R=(r/5>=g-ctl(0))&&(r/5>=b/2-ctl(0))?g+b/2:r G=g
B=b
A=a

Torsten