On Thu, 28 May 2009 13:17:12 -0700
Fred Weinhaus <[email protected]> wrote:

| Replace the intensity channel in each of your two images with one of 
| the other two channels. then do your compare?
| 
| see http://www.imagemagick.org/Usage/channels/#channels
| 
More specifically convert the image to HSL and replace the 
luminance (or 'B') channel before comparing

   convert image1.png image2.png -colorspace HSL \
           -channel B -evaluate set 50%  miff:- |\
       compare -  cmp_image.png

You can also use -compose difference  too which will avoid the need
for the pipeline between the two commands, and let you do the processing
all in a single image.

See Difference Images
   http://www.imagemagick.org/Usage/compare/#difference



  Anthony Thyssen ( System Programmer )    <[email protected]>
 -----------------------------------------------------------------------------
  Here's the thing about the Future...
  Every time you look at it changes, because you looked at it...
  And that changes everything else.                    -- Movie "Next"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to