[][src]Trait ndarray_vision::processing::sobel::SobelExt

pub trait SobelExt where
    Self: Sized
{ type Output; fn apply_sobel(&self) -> Result<Self, Error>;
fn full_sobel(&self) -> Result<(Self::Output, Self::Output), Error>; }

Runs the sobel operator on an image

Associated Types

type Output

Type to output

Loading content...

Required methods

fn apply_sobel(&self) -> Result<Self, Error>

Returns the magnitude output of the sobel - an image of only lines

fn full_sobel(&self) -> Result<(Self::Output, Self::Output), Error>

Returns the magntitude and rotation outputs for use in other algorithms like the Canny edge detector. Rotation is in radians

Loading content...

Implementations on Foreign Types

impl<T> SobelExt for Array3<T> where
    T: Copy + Clone + Num + NumAssignOps + Neg<Output = T> + FromPrimitive + Real
[src]

type Output = Self

Loading content...

Implementors

impl<T, C> SobelExt for Image<T, C> where
    T: Copy + Clone + Num + NumAssignOps + Neg<Output = T> + FromPrimitive + Real,
    C: ColourModel
[src]

type Output = Array3<T>

Loading content...