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 Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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