Crate zune_imageprocs
source ·Expand description
Image processing routines for zune-image
This implements some common image processing routines to be used with zune-image
It implements the OperationsTrait
defined by zune-image.
§Example
- Increase exposure of image by 2.0
use zune_core::colorspace::ColorSpace;
use zune_image::image::Image;
use zune_image::traits::OperationsTrait;
use zune_imageprocs::exposure::Exposure;
let mut image = Image::fill::<u8>(233,ColorSpace::RGB,100,100);
let exposure = Exposure::new(2.0,0.0);
// execute the filter
exposure.execute(&mut image).unwrap();
Modules§
- Perform auto orientation of the image
- A bilateral filter
- Blend filter
- Brighten operation
- Perform a color matrix operation
- Calculate image contrast
- 2D convolution on images
- Crop an image
- Exposure filter
- Flip filter: Flip an image by reflecting pixels around the x-axis.
- Flop : Reflect pixels around the central y-axis
- Apply gamma correction onto an image
- (BROKEN): An implementation of a gaussian-blur.
- Calculate channel histogram statistics
- Adjust the hue, saturation and variance of an image
- Invert image pixels
- Mathematical operations shared amongst functions
- Applies a median filter of given dimensions to an image. Each output pixel is the median of the pixels in a
(2 * radius + 1) * (2 * radius + 1)
kernel of pixels in the input image. - Rearrange the pixels along a certain axis.
- Methods used for duplicating pixels around the border
- Alpha pre-multiplication routines
- (BROKEN): Resize an image to a new width and height
- Rotate an image
- Scharr derivative filter
- Sobel derivative filter
- Spatial operations on images
- Simple spatial operations implemented for images
- Strech contrast filter, Linearly stretches the contrast in an image
- Threshold filter: Binarize an image
- Various operations useful for generic image processing.
- Interchange row and columns in an image
- (BROKEN): Do not use