ClearMap.ImageProcessing#
This sub-package provides routines for volumetric image processing in parallel
This part of the ClearMap toolbox is designed in a modular way to allow for fast and flexible extension and addition of specific image processing algorithms.
While most psrts contain lower level image processing methods, more specialized routines that combine the basic routines can be found in :mod”ClearMap.ImageProcessing.Experts.
Parallel Image Processing#
For large volumetric image data sets from e.g. light sheet microscopy parallel processing is essential to speed up calculations.
In this toolbox the image processing is parallelized in two different ways depending on how the algorithms parallelzie.
Most routines allow to split volumetric data into several blocks, typically in z-direction. Because image processing steps are often non-local but still only incorporate a certan range, blocks are created with overlaps and the results rejoined accordingly to minimize boundary effects.
Parallel block processing is handled via the
ParallelProcessing
module.Full parallelization using memory mapping and parallel implementations via cython. The :mod:~ClearMap.ImageProcessing.Skeletonization` algorithm is an example block processing is not feasable in this situation.
Sub-packages and modules#
Module for binary image processing methods, including filling of large (TB) binary images (
Filling
) as well as a fast parallel binary smoothing algorithm (Smoothing
).Module to calculate various gradient and curvature measures
This sub-package provides specialized image processing pipelines:
This sub-package provides various volumetric filter kernels and structure elments
This morphological reconstruction routine was adapted from CellProfiler.
The module provides a function to correct systematic illumination variations and vignetting in intensity.
Module to remove lightsheet artifacts in images.
Module provides functions to calculate local data and statistics of an image and apply a function to those.
This sub-package provides skeletonization routines for 3d image data of TB size.
This module contains fast thresholding routines.
This sub-package provides discrete topology support.
This sub-package provides tracing routines for ClearMap
This module containes image processing methods based on machine learning.