Having a D7000 with pop-up flash, I occasionally get it with certain subjects. My niece has big, bright red pupils in the photos I shot of her maternity shower. I tried a bunch of tools, but most were rather draconian, e.g., color the entire area gray, or somesuch. So, I wrote a redeye tool for my raw processor that allows selection of the eye center, then works its way out to a radius doing the following for each pixel:
- compute the average of the G and B tones
- if the R tone is 1.5 times greater than that average, replace the R with the GB average value.
In a working color space where no single color dominates, this works quite well to render a pupil that retains some highlight. It’s in rawproc 0.6, which I’m going to release in a week or two. If you want a compile-from-scratch adventure, you can clone the master branches from here:
https://github.com/butcherg/rawproc - the GUI program
https://github.com/butcherg/gimage - the image library, in gimage.cpp, line 2000, you’ll find the C++ function.
Here’s before-and-after clips: