Skip to main content

otsu_threshold_u8

Function otsu_threshold_u8 

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

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