Module imgproc_rs::transform[][src]

Expand description

A module for image transformation operations

Functions

Crops an image to a rectangle with upper left corner located at (x, y) with width width and height height

Aligns the top left corner of front onto the location (x, y) on back and overlays front on back

Reflects an image across the specified axis

Rotates an image degrees degrees counterclockwise around the center of the image

Scales an image horizontally by x_factor and vertically by y_factor using the specified method

Scales an image using Lanczos resampling with kernel of variable size size

Shears an image

Aligns the top left corner of front onto the location (x, y) on back and superimposes the two images with weight alpha for pixel values of back and weight 1 - alpha for pixel values of front

Translates an image to the position with upper left corner located at (x, y). Fills in the rest of the image as black