[Digikam-devel] [Bug 109255] Improvement suggestions for the Image Restoration plugin

Maximilian Hombsch max at hombsch.de
Thu Nov 10 12:33:41 GMT 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=109255         




------- Additional Comments From max hombsch de  2005-11-10 13:33 -------
Some cameras do have red and green color flakes along with noise. For example the Canon Power Shot G1.
Those color flakes are very large and thus cannot be eliminated y blurring or restoring the image as is.
I found out that the color flakes and the noise are separated very well with YCrCb-transformation: (TV-Signal)
The Luminance Channel only has fine noise and thus needs but little restoration, so sharpness can be preserved.
reddishness Cr and bluishness Cb contain the color flakes.
They are blurry anyways and can be blurred very strongly with but little effect on the Image: only some color fringes occur.

Thus, I propose the following restoration algorithm:
1.Generate a flow Matrix based on RGB Channels (for edges with no luminance difference, for example blue / red)
2.Transform the Image into YCrCb
3.Correct Y (Luminance) seperately with settings for fine noise
4.Correct both Cr and Cb (color information) with very much smoothing
(both with the flow matrix based on RGB)
5.Merge the Image and transform back to RGB



More information about the Digikam-devel mailing list