Skip to main content

regions

Function regions 

Source
pub fn regions(
    labels: &Array2<usize>,
    n: usize,
    values: Option<&Array2<f64>>,
) -> Result<Vec<Region>, ErrorsJSL>
Expand description

Measures every region of a label image in one pass: area, bounding box and centroid, and with values the intensity sum, mean, extremes and weighted centre.