Closed tetap closed 1 year ago
I tried to save the image, but it looks like this I tried to save the image, but it looks like this Here's my code
use imageproc::edges::canny; let image = ImageBuffer::from_raw(width, height, data.clone()).unwrap(); let edges = DynamicImage::ImageLuma8(canny(&image, low_threshold, high_threshold)); edges.save("img/result/test.jpg").unwrap(); data.clone()
The final result did not agree with my expectation
This is what I got using OpenCV, and obviously he got the right edge.
I'm sorry it's my fault, but canny I can't control the SIGMA value of gaussian_blur_f32. Can only be solved by modifying the source code.
I tried to save the image, but it looks like this I tried to save the image, but it looks like this Here's my code
The final result did not agree with my expectation