pub fn canny(
input: &Tensor,
low_thresh: f32,
high_thresh: f32,
) -> Result<Tensor, ImgProcError>Expand description
Canny edge detector. Input: [H, W] grayscale f32, thresholds in image
intensity range. Returns binary edge map [H, W] with edges = 1.0.