13次发布

0.2.6 2022年5月27日
0.2.5 2020年3月26日
0.2.4 2019年9月24日
0.2.3 2019年3月21日
0.2.0 2017年11月10日

#561 in 图像

Download history 41/week @ 2024-03-10 12/week @ 2024-03-17 1/week @ 2024-03-24 44/week @ 2024-03-31 5/week @ 2024-04-07 7/week @ 2024-04-14 19/week @ 2024-04-21 4/week @ 2024-04-28 5/week @ 2024-05-05 7/week @ 2024-05-12 17/week @ 2024-05-19 14/week @ 2024-05-26 26/week @ 2024-06-02 5/week @ 2024-06-09 7/week @ 2024-06-16 13/week @ 2024-06-23

每月52次下载
用于 2 crate

MIT 许可协议

650KB
537

边缘检测

Build Status Crate Documentation

Rust中Canny边缘检测算法的实现。许多计算机视觉应用程序的基础。

let source_image = image::open("testdata/line-simple.png")
    .expect("failed to read image")
    .to_luma();
let detection = edge_detection::canny(
    source_image,
    1.2,  // sigma
    0.2,  // strong threshold
    0.01, // weak threshold
);

alt tag

alt tag

依赖项

~14MB
~85K SLoC