Skip to main content

ToLABBitmap

Trait ToLABBitmap 

Source
pub trait ToLABBitmap {
    // Required method
    fn to_lab(&self) -> Vec<ImgVec<f32>> ;
}
Expand description

Convert image to L*a*b* planar

It should return 1 (gray) or 3 (color) planes.

Required Methods§

Source

fn to_lab(&self) -> Vec<ImgVec<f32>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToLABBitmap for ImgRef<'_, RGBAPLU>

Source§

impl ToLABBitmap for ImgRef<'_, RGBLU>

Source§

impl ToLABBitmap for ImgVec<f32>

Source§

impl ToLABBitmap for ImgVec<RGBAPLU>

Source§

impl ToLABBitmap for ImgVec<RGBLU>

Implementors§