[−][src]Trait ndarray_vision::processing::canny::CannyEdgeDetectorExt
Runs the Canny Edge Detector algorithm on a type T
Associated Types
type Output
Output type, this is different as canny outputs a binary image
Required methods
fn canny_edge_detector(
&self,
params: CannyParameters<T>
) -> Result<Self::Output, Error>
&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.
Implementations on Foreign Types
impl<T> CannyEdgeDetectorExt<T> for Array3<T> where
T: Copy + Clone + FromPrimitive + Real + Num + NumAssignOps,
[src]
T: Copy + Clone + FromPrimitive + Real + Num + NumAssignOps,
type Output = Array3<bool>
fn canny_edge_detector(
&self,
params: CannyParameters<T>
) -> Result<Self::Output, Error>
[src]
&self,
params: CannyParameters<T>
) -> Result<Self::Output, Error>
Implementors
impl<T, C> CannyEdgeDetectorExt<T> for Image<T, C> where
T: Copy + Clone + FromPrimitive + Real + Num + NumAssignOps,
C: ColourModel,
[src]
T: Copy + Clone + FromPrimitive + Real + Num + NumAssignOps,
C: ColourModel,
type Output = Image<bool, C>
fn canny_edge_detector(
&self,
params: CannyParameters<T>
) -> Result<Self::Output, Error>
[src]
&self,
params: CannyParameters<T>
) -> Result<Self::Output, Error>