Skip to main content

otsu_threshold_u16

Function otsu_threshold_u16 

pub fn otsu_threshold_u16(
    input: ImageView<'_, u16, 1>,
    max_value: u16,
    threshold_type: ThresholdType,
) -> Result<(u16, Image<u16, 1>), VisionError>
Expand description

Selects an Otsu threshold for a 16-bit grayscale image and applies it.