edge-detection

Crates.ioedge-detection
lib.rsedge-detection
version0.2.6
sourcesrc
created_at2017-10-16 13:22:28.934363
updated_at2022-05-27 11:44:42.554934
descriptionThe canny edge detection algorithm
homepage
repositoryhttps://github.com/polyfloyd/edge-detection-rs
max_upload_size
id35863
size667,146
(polyfloyd)

documentation

README

Edge Detection

Build Status Crate Documentation

An implementation of the Canny edge detection algorithm in Rust. The base for many computer vision applications.

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

Commit count: 76

cargo fmt