Re: Redeye algorithm



Please could you have a look at this and see if you think it's any use. It
works by clamping the green to no more than twice the blue level and then
clamping the red to no more than twice the green level.  You could possible
make it  little more strict by using 1.5* instead of 2*. You need to leave
some leeway for pinkish shades though, for when people accidentally select
flesh rouns the eyes, and for coloured reflections in the pupils.

Are there any standard algorithms for this? It seems "reasonable" that
what it "should" do is look for a bright red colour and change that to
black. It might be easier to do that using luminance values though.
(And looking at the luminance and Cr / Cb values.)

What does the current implementation in F-Spot do?

I know from experience that the algorithm in Picasa has a tendency to
work quite poorly.

/Marcus Hast



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]