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