X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fcompare.html;h=b79fbf2f7709b103ee4d3a4aad99f54db6b7b643;hb=e98012ee0f5a9c9cf2315c1d203ad6ec1aeb5db5;hp=69291049a274da7d7544699c71624fc062bcad1a;hpb=3c98a4f16d52dec9efa9a9b4e36b5624138b324a;p=imagemagick diff --git a/www/compare.html b/www/compare.html index 69291049a..b79fbf2f7 100644 --- a/www/compare.html +++ b/www/compare.html @@ -128,25 +128,25 @@
@@ -205,7 +205,7 @@

$magick> compare -metric PSNR rose.jpg reconstruct.jpg difference.png28.31

If the reconstructed image is a subimage of the image, the compare program returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between:

-

$magick> compare -metric RMSE logo.png wizard.jpg similarity.gif85.05 (0.00129778) @ 353,157

+

$magick> compare -metric RMSE -subimage-search logo.png wizard.jpg similarity.gif85.05 (0.00129778) @ 353,157

You can find additional examples of using compare in Graphics from the Command Line. Further discussion is available in More Graphics from the Command Line and Examples of ImageMagick Usage.

@@ -274,7 +274,7 @@ transparent, extract, background, or shape the alpha channel -disimilarity-threshold value - maximum RMSE for (sub)image match (default 0.2) + maximum distortion for (sub)image match (default 0.2) @@ -383,10 +383,20 @@ transparent, extract, background, or shape the alpha channel - -subimage-search + -subimage-search search for subimage + + -synchronize + synchronize image to storage device + + + + -taint + mark the image as modified + + -transparent-color color transparent color