Type Alias SamplingMethod

Source
pub type SamplingMethod = GenericSampleMethod<RgbaImage>;

Aliased Type§

pub enum SamplingMethod {
    All,
    Ignore,
    Image(ImageBuffer<Rgba<u8>, Vec<u8>>),
}

Variants§

§

All

All pixels in the example image can be sampled.

§

Ignore

No pixels in the example image will be sampled.

§

Image(ImageBuffer<Rgba<u8>, Vec<u8>>)

Pixels are selectively sampled based on an image.