pub enum ImagePyramidType {
Lowpass,
Bandpass,
Steerable,
}
Expand description
What type of pyramid to compute. Each has different properties, applications, and computation cost.
Variants§
Lowpass
Use smoothing & subsampling to compute pyramid. This is used to generate mipmaps, thumbnails, display low-resolution previews of expensive image processing operations, texture synthesis, and more.
Bandpass
AKA Laplacian pyramid, where adjacent levels of the lowpass pyramid are upscaled and their pixel differences are computed. This used in image processing routines such as blending.
Steerable
Uses a bank of multi-orientation bandpass filters. Used for used for applications including image compression, texture synthesis, and object recognition.
Trait Implementations§
Source§impl Clone for ImagePyramidType
impl Clone for ImagePyramidType
Source§fn clone(&self) -> ImagePyramidType
fn clone(&self) -> ImagePyramidType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ImagePyramidType
impl RefUnwindSafe for ImagePyramidType
impl Send for ImagePyramidType
impl Sync for ImagePyramidType
impl Unpin for ImagePyramidType
impl UnwindSafe for ImagePyramidType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more