Trait dssim::Average4 [] [src]

pub trait Average4 {
    fn average4(a: Self, b: Self, c: Self, d: Self) -> Self;
}

Component-wise averaging of pixel values used by Downsample to support arbitrary pixel types

Used to naively resample 4 high-res pixels into one low-res pixel

Required Methods

Implementations on Foreign Types

impl Average4 for f32
[src]

[src]

Implementors