rockverse.voxel_image.histogram.Histogram.cdf#
- property Histogram.cdf#
Compute the Cumulative Distribution Function (CDF) for the full image and phase by phase as a pandas DataFrame.
- Returns:
A DataFrame containing the CDF values for the full image and each segmentation phase.
- Return type:
pandas.DataFrame
Examples
>>> # Get the CDF DataFrame >>> cdf = histogram.cdf >>> # Access the CDF values for a specific segmentation phase >>> phase_cdf = cdf[phase_id]