Enum ndarray_ndimage::Kernel3d
source · pub enum Kernel3d<'a> {
Star,
Ball,
Full,
Generic(ArrayView3<'a, bool>),
}Expand description
3D common kernels. Also called Structuring Element.
Variants
Star
Diamond/star kernel (center and sides).
Equivalent to generate_binary_structure(3, 1).
Ball
Ball kernel (center and sides).
Equivalent to generate_binary_structure(3, 2).
Full
3x3x3 cube.
Equivalent to generate_binary_structure(3, 3).
Generic(ArrayView3<'a, bool>)
Generic kernel of any 3D size.
The generic kernels are incredibly slower on all morphological operations.
Implementations
Trait Implementations
sourceimpl<'a> PartialEq<Kernel3d<'a>> for Kernel3d<'a>
impl<'a> PartialEq<Kernel3d<'a>> for Kernel3d<'a>
impl<'a> Copy for Kernel3d<'a>
impl<'a> StructuralPartialEq for Kernel3d<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Kernel3d<'a>
impl<'a> Send for Kernel3d<'a>
impl<'a> Sync for Kernel3d<'a>
impl<'a> Unpin for Kernel3d<'a>
impl<'a> UnwindSafe for Kernel3d<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more