[Digikam-devel] [Bug 148540] Improvements of adding noise tool

Gilles Caulier caulier.gilles at gmail.com
Wed Mar 17 07:40:33 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=148540





--- Comment #37 from Gilles Caulier <caulier gilles gmail com>  2010-03-17 08:40:31 ---
Julien,

This is normal. You try to add Chrominance noise (from YCbCr color space) to
use Hue channel from HSL color space. Both color space are not the same.

To fix it, you must convert RGB to YCbCr and randomize Cb or Cr channel ! after
that, convert back to RGB.

To convert RGB<=>YCrCb, look into Noise Reduction filter, methods are there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/filters/nr/nrfilter.h#94

To re-use these methods, you must foctoring somewhere the code. DImg APi sound
like the best place.

About luminance noise, all is fine.

Gilles Caulier

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list