ImageMagick Filter Kit

Use this kit to add support for additional image filters to ImageMagick.
We include support for the analyze filter which is simply adds the image
brightness and saturation mean and standard-deviation as properties.
To build and install, ensure ImageMagick is installed as a shared library
with module support.  Next, unpack the kit into the top-level ImageMagick
source folder and type

  cd ImageMagick-6.?.?-?/MagickFilterKit-1.0.0
  ./configure
  make
  make install

to verify, type

  convert logo: -process analyze -verbose info:

You should get filter properties such as these:

  Properties:
    filter:brightness:kurtosis: 8.17947
    filter:brightness:mean: 60632.1
    filter:brightness:skewness: -2.97118
    filter:brightness:standard-deviation: 13742.1
    ...

To support your own image filter, follow these steps.  Assume your new
filter is a tone mapping algorithm:

  1. Move the analyze.c module to tonemap.c.
  2. Globally replace 'analyze' with 'tonemap' in tonemap.c and Makefile.am.
  3. Edit tonemap.c and modify sansImage() to suit the requirements of your
     image filter.
  4. Rebuild the configuration files, type

       automake
       autoconf

  5. Build and install support for your image filter:

       ./configure
       make
       make install
