[magick-developers] Patch to calculate kurtosis and skewness of image channels

amartyo banerjee amartyo at gmail.com
Wed Dec 31 09:00:05 PST 2008


Hi,

To meet the needs of the company I work at, we have patched
ImageMagick to calculate the kurtosis and skewness of image channels,
similar to how mean and standard deviation are already calculated.
This allows our internal tools to automatically check the quality of
images being processed and reject any images that fail to meet a
certain threshold. I'm submitting the patch hoping it is useful to
others. The patch is at the following url:

http://rapidshare.com/files/177796444/svn_kurtosis.patch

Please let me know what is needed to incorporate it into ImageMagick.
I don't wish to keep the patch outside the ImageMagick source tree and
get into the business of making sure it applies cleanly for every new
release of ImageMagick. For a longer explanation of the formulas I'm
using to calculate kurtosis and skewness, please see the following
url:

http://amartyosscrapbook.blogspot.com/2008/12/formulas-used-to-calculate-kurtosis-and.html

Regards

Amartyo


More information about the Magick-developers mailing list