pub struct EdgeDetectionKernel;Expand description
Edge detection kernel helper
Implementations§
Source§impl EdgeDetectionKernel
impl EdgeDetectionKernel
Sourcepub fn sobel_params(width: u32, height: u32) -> KernelParams
pub fn sobel_params(width: u32, height: u32) -> KernelParams
Create parameters for Sobel edge detection
Sourcepub fn canny_gradient_params(width: u32, height: u32) -> KernelParams
pub fn canny_gradient_params(width: u32, height: u32) -> KernelParams
Create parameters for Canny edge detection (gradient step)
Auto Trait Implementations§
impl Freeze for EdgeDetectionKernel
impl RefUnwindSafe for EdgeDetectionKernel
impl Send for EdgeDetectionKernel
impl Sync for EdgeDetectionKernel
impl Unpin for EdgeDetectionKernel
impl UnsafeUnpin for EdgeDetectionKernel
impl UnwindSafe for EdgeDetectionKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more