locan.visualize.transform#

Transform intensity values.

This module provides functions and classes to rescale intensity values. In addition to the presented functions, rescaling can further be performed by third-party modules like: 1) matplotlib.colors 2) skimage.exposure 3) astropy.visualization.

Callable transformation classes that inherit from matplotlib.colors.Normalize and specify an inverse transformation can be passed to the norm parameter.

Classes

HistogramEqualization([vmin, vmax, ...])

Histogram equalization with power intensification.

Trafo(value[, names, module, qualname, ...])

Standard definitions for intensity transformation.

Transform()

Abstract base class for transformation classes.

Functions

adjust_contrast(image[, rescale])

Adjust contrast of image by a predefined transformation: