[Digikam-devel] [Bug 148540] Plugin for adding noise to images

Gilles Caulier caulier.gilles at gmail.com
Tue Jan 26 07:11:59 GMT 2010


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





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2010-01-26 08:11:56 ---
Created an attachment (id=40242)
 --> (http://bugs.kde.org/attachment.cgi?id=40242)
HSV noise generator

Julien,

This patch is a first try, not optimized, not finalized, but it run. 

Original image is parsed pixel by pixel. Each color components are converted
from RGB to HSL and hue saturation and lightness are adjusted with a random
value receptively. Fianly, HSL color is reconverted to RGB to create target
image.

I can see some side effect if sensitivity is very high, like color cast. This
can be fixed to clamp adjusted value.

What do you think about ?

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