imshowpair

Compare two images


Keywords
imshow, matplotlib, python
License
BSD-3-Clause
Install
pip install imshowpair==0.1.0

Documentation

Compare Two Images with Matplotlib

Package Description

Utility function for comparing two images. Inspired by MATLAB's imshowpair function.

Installation

imshowpair requires matplotlib. To install, download the source and run

python setup.py install

Usage

Sample usage:

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)

Development

The latest source code can be obtained from GitHub.

Authors

See the included AUTHORS.rst file for more information.

License

This software is licensed under the BSD License. See the included LICENSE.rst file for more information.