Crate cvr

Source
Expand description

cvr is a home-grown attempt at porting some of the functionality offered by OpenCV to Rust in a way that emphasizes type-safety and functional composition.

Modules§

convert
convert houses functions for converting between the sRGB and linear color spaces but also supports conversions to the HSV space and grayscale.
png
png contains routines that enable users to read and write PNG files. It wraps the png crate and returns errors directly from the library where further documentation can be found on the precise nature of the DecodingError and the EncodingError.
rgb
rgb contains various data structures for working with images in the RGB color space.
rgba
rgba contains various data structures for working in the RGBA color space.

Traits§

Numeric
Numeric represents such types as u8 and f32.