[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint/imagelib/effects (silent)
From:       Clarence Dang <dang () kde ! org>
Date:       2007-10-20 1:31:06
Message-ID: 1192843866.595368.25429.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 727228 by dang:

SVN_SILENT +explanations of Blur/Sharpen from mosfet


 M  +16 -0     kpEffectBlurSharpen.cpp  


--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectBlurSharpen.cpp #727227:727228
@@ -46,6 +46,22 @@
 #endif
 
 
+//
+// For info on "radius" and "sigma", see http://redskiesatnight.com/Articles/IMsharpen/
+//
+// Daniel Duley says:
+//
+// <quote>
+// I don't think I can describe it any better than the article: The radius
+// controls many how pixels are taken into account when determining the value
+// of the center pixel. This controls the quality [and speed] of the result but not
+// necessarily the strength. The sigma controls how those neighboring pixels
+// are weighted depending on how far the are from the center one. This is
+// closer to strength, but not exactly >:)
+// </quote>
+//
+
+
 static QImage BlurQImage (const QImage qimage_, int strength)
 {
     QImage qimage = qimage_;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic