Skip to main content

HistogramResult

Other

Results from histogram generation.

Import

import ScriptingApi as api

# Access the class
# HistogramResult is available via api.HistogramResult

Properties

volume_name

Name of the volume object analyzed.

Type: str


mask_name

Name of the mask object used for filtering (empty if whole volume).

Type: str


bin_values

Histogram bin center values (X-axis, gray values).

Type: list


frequencies

Histogram frequency values (Y-axis, pixel counts).

Type: list


min_value

Minimum gray value in the data.

Type: float


max_value

Maximum gray value in the data.

Type: float


total_count

Total number of voxels/pixels in the histogram.

Type: int


See Also