I see only 3 difference is the meta data
1) The good file lists Scene 1. The ImageMagick file does not list that. I doubt this is the issue and I do not know how to make ImageMagick read that.
2) The good file has tiff:rows-per-strip: 71. The ImageMagick file has tiff:rows-per-strip: 3518. This may be the issue. You can make imagemagick set the rows-per-strip to 71 by using -define tiff:rows-per-strip=71.
3) The histograms are the same, but the colormaps are different. That also may be an issue. But I know of no way to directly change the colormap other than creating a colormap image to match the good colormap and then using -remap to modify the colors in the image and the associated colormap. See http://www.imagemagick.org/Usage/quantize/#remap
The images are identical pixel-wise.
Code: Select all
compare -metric rmse with_other_software.TIF with_ImageMagick.TIF null:
But it gives a warning about an unknown tag, which may or may not be important to your issue. Tiff allows special tags associated with other software and measurements. But ImageMagick will ignore those with a warning, which is in this case:
compare: Unknown field with tag 292 (0x124) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/912.
See if the rows per strip helps.
You can see all this using identify -verbose on each of your two images.