visualize.comparison
Plots comparisons of a single image or set of images against nother image or set.
Module Contents
Functions
|
Plot a top-row of images, alongside a bottom-row of images. |
- visualize.comparison.plot_images_two_rows(top: Iterable[numpy.ndarray], bottom: Iterable[numpy.ndarray], row_size: int = 10, figure_size=(20, 4)) None [source]
Plot a top-row of images, alongside a bottom-row of images.
- Parameters
top – the images on the top-row. There must be at least :code:row_size: elements.
bottom – the images on the bottom-row. There must be at least :code:row_size: elements.
row_size – the maximum number of images on a row.
figure_size – the size of figure in inches, as passed to
plt.figure()
.