Compare Two Images with Matplotlib
Utility function for comparing two images. Inspired by MATLAB's imshowpair function.
imshowpair requires matplotlib. To install, download the source and run
python setup.py install
import imshowpair a = .. # load first image b = .. # load second image imshowpair.imshowpair(a, b)
Functions to use when comparing images (alpha blending, etc.) are implemented in imshowpair.utils. These may require additional dependencies such as scikit-image:
import imshowpair import imshowpair.utils as utils a = .. # load first image b = .. # load second image imshowpair.imshowpair(a, b, utils.blend)
The latest source code can be obtained from GitHub.
See the included AUTHORS.rst file for more information.