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.
pub fn otsu_threshold_u8(
input: ImageView<'_, u8, 1>,
max_value: u8,
threshold_type: ThresholdType,
) -> VisionResult<(u8, Image<u8, 1>)>Selects an Otsu threshold for an 8-bit grayscale image and applies it.