Enum image_compare::Algorithm
source · [−]pub enum Algorithm {
RootMeanSquared,
MSSIMSimple,
}Expand description
The enum for selecting a grayscale comparison implementation
Variants
RootMeanSquared
A simple RMSE implementation - will return:
MSSIMSimple
a simple MSSIM implementation - will run SSIM (implemented as on wikipedia: ) over 8x8 px windows and average the results
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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