neuro_morpho.logging.plots

Plotting utilities for logging.

Functions

plot_triplet(→ matplotlib.pyplot.Figure)

Plot a triplet of images: input, predicted, and label.

Module Contents

neuro_morpho.logging.plots.plot_triplet(in_img: numpy.ndarray, lbl_img: numpy.ndarray, out_img: numpy.ndarray) matplotlib.pyplot.Figure[source]

Plot a triplet of images: input, predicted, and label.

Parameters:
  • in_img (np.ndarray) – Input image.

  • lbl_img (np.ndarray) – Label image.

  • out_img (np.ndarray) – Predicted image.

Returns:

Figure containing the triplet plot.

Return type:

plt.Figure