[Digikam-devel] extragear/graphics/digikamimageplugins/noisereduction

Gilles Caulier caulier.gilles at free.fr
Fri Apr 28 12:23:03 BST 2006


SVN commit 535014 by cgilles:

digikam from trunk : NoiseReduction tool : patch from Peter Heckert : fix vertical smear in images.
This bug causes, that  horizontal edge detection buffer is used as template for vertical blurring operation.

CCMAIL: digikam-devel at kde.org, lists at hphsite.de


 M  +1 -1      noisereduction.cpp  


--- trunk/extragear/graphics/digikamimageplugins/noisereduction/noisereduction.cpp #535013:535014
@@ -149,7 +149,7 @@
             memcpy(src + n*bytes, destPR + (col + width*n)*bytes, bytes);
                 
         for (int n = 0 ; n < height ; n++)
-            memcpy(dest + n*bytes, destPR + (col + width*n)*bytes, bytes);
+            memcpy(dest + n*bytes, srcPR + (col + width*n)*bytes, bytes);
         
         blur_line (data+w, data2+w, buffer+w, rbuf+w, tbuf+w, src, dest, height);
         



More information about the Digikam-devel mailing list