grains.analysis.Analysis¶
-
class
grains.analysis.
Analysis
(label_image, interactive_mode=False)[source]¶ Analysis of grain assemblies.
-
original_image
¶ Matrix representing the initial, unprocessed image.
- Type
ndarray
-
__init__
(label_image, interactive_mode=False)[source]¶ Initialize the class with file paths and with some options
- Parameters
label_image (ndarray) – Segmented image.
interactive_mode (bool, optional) – When True, images of each image manipulation step are plotted and details are shown in the console. Default is False.
- Returns
None.
Methods
__init__
(label_image[, interactive_mode])Initialize the class with file paths and with some options
Determines relevant properties of the grains.
set_scale
([pixel_per_unit])Defines a scale for performing computations in that unit.
show_grains
([grain_property])Display the grains, optionally with a property superposed.
show_properties
([gui])Displays previously computed properties of the grains
-