Skip to main content

otsu_threshold_u16

Function otsu_threshold_u16 

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

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