Skip to main content

first_order_stats

Function first_order_stats 

Source
pub fn first_order_stats(
    samples: &[f32],
) -> Result<FirstOrderStats, RadiomicsError>
Expand description

Compute first-order stats over samples (gray / intensity ROI values).

Uses 32 histogram bins for entropy. Empty input → Err(EmptyInput).