pub unsafe extern "C" fn preprocess_canny( img: *mut u8, width: c_int, height: c_int, high_threshold: f32, low_threshold: f32, weak: f32, strong: f32, inverse: bool, ) -> *mut u8