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 图像
每月52次下载
用于 2 crate
650KB
537 行
边缘检测
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
);
依赖项
~14MB
~85K SLoC