Skip to main content

Module first_order_stats

Module first_order_stats 

Source
Expand description

First-order intensity statistics on a gray-level ROI.

Operates on a flat f32 intensity slice (caller supplies ROI samples). Returns a fixed struct — no heap on the evaluation path.

Structs§

FirstOrderStats
First-order radiomics features (IBSI-style subset).

Enums§

RadiomicsError
Shared radiomics error for the radiomics submodule.

Constants§

DEFAULT_HIST_BINS
Default histogram bins for entropy when not specified.

Functions§

first_order_stats
Compute first-order stats over samples (gray / intensity ROI values).
first_order_stats_with_bins
Same as first_order_stats with explicit entropy histogram bin count.