pub trait CannyEdgeDetectorExt<T> {
type Output;
// Required method
fn canny_edge_detector(
&self,
params: CannyParameters<T>,
) -> Result<Self::Output, Error>;
}
Expand description
Runs the Canny Edge Detector algorithm on a type T
Required Associated Types§
Required Methods§
Sourcefn canny_edge_detector(
&self,
params: CannyParameters<T>,
) -> Result<Self::Output, Error>
fn canny_edge_detector( &self, params: CannyParameters<T>, ) -> Result<Self::Output, Error>
Run the edge detection algorithm with the given parameters. Due to Canny being specified as working on greyscale images all current implementations assume a single channel image returning an error otherwise.