Axons#
Expert axon image processing pipeline.
This module provides the basic routines for processing axon data.
The routines are used in the ClearMap.Scripts.AxonMap
pipeline.
- binary_statistics(source)[source]#
Counts the binarization types.
Arguments
- sourcearray
The status array of the binarization process.
Returns
- statisticsdict
A dict with entires {description : count}.
- equalize(source, percentile=(0.5, 0.95), max_value=1.5, selem=(200, 200, 5), spacing=(50, 50, 5), interpolate=1, mask=None)[source]#
- status_to_description(status)[source]#
Converts a status int to its description.
Arguments
- statusint
The status.
Returns
- descriptionstr
The description corresponding to the status.