pub trait SobelExtwhere
Self: Sized,{
type Output;
// Required methods
fn apply_sobel(&self) -> Result<Self::Output, Error>;
fn full_sobel(&self) -> Result<(Self::Output, Self::Output), Error>;
}
Expand description
Runs the sobel operator on an image
Required Associated Types§
Required Methods§
Sourcefn apply_sobel(&self) -> Result<Self::Output, Error>
fn apply_sobel(&self) -> Result<Self::Output, Error>
Returns the magnitude output of the sobel - an image of only lines
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.