Re:Widespread gamma error in image scaling algorithms (2007)
by petewarden on Monday February 22, 2010 @03:17AM
(#1142248)
> Calling a gaussian blur “camera blur” or “defocus” (whatever the color space) is just inaccurate and confusing.
Nonsense. When you defocus a camera, you get an effect that's comparable with a gaussian blur performed in linear space. Blurring is a well-understood operation that's existed for a long time in the analog world, before we ever did any digital processing.
Re:Widespread gamma error in image scaling algorithms (2007)
by jacobolus on Monday February 22, 2010 @03:30AM
(#1142269)
Well, “comparable” insofar as you don’t care about the details, I suppose; you could also call a square or triangle blur kernel “defocus” if you wanted.
A real lens blur doesn’t look much like a gaussian blur for someone who is familiar with both and paying attention.
For explanation, see for instance http://en.wikipedia.org/wiki/Bokeh
Re:Widespread gamma error in image scaling algorithms (2007)
by petewarden on Monday February 22, 2010 @10:07AM
(#1142793)
Yep, my 'camera defocus' also included arbitrary kernel geometry as an option! I'm not trying to be obnoxious about this, but I really did spend five years of my life coding this stuff for Apple.
Compositing and interpolating should definitely be done in linear space though.