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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier
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: [hidden email], [hidden email]


 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);
         
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel