[−][src]Trait image2::Pixel
Pixel is used to access chunks of image data
Provided methods
fn to_vec(&self) -> Vec<T>
Create a new Vec
fn to_f(&self) -> Vec<f64>
Create a new Vec
fn to_pixel_vec(&self) -> PixelVec<T>
Create a new PixelVec
fn to_pixel_vec_f(&self) -> PixelVec<f64>
Create a new PixelVec
fn is_true(&self) -> bool
Returns true when every value is > 0
fn is_false(&self) -> bool
Returns true when every value == 0
fn map<F: FnMut(&T) -> T>(&self, f: F) -> PixelVec<T>
Create a new PixelVec by executing f
for each channel