dlib.image.transform

Geometric ransformations of images

Members

Functions

affineTransformImage
SuperImage affineTransformImage(SuperImage img, SuperImage outp, Matrix3x3f m)
SuperImage affineTransformImage(SuperImage img, Matrix3x3f m)

Tranforms an image with affine 3x3 matrix

rotateImage
SuperImage rotateImage(SuperImage img, SuperImage outp, float angle)
SuperImage rotateImage(SuperImage img, float angle)

Rotates an image clockwise around its center. Angle is in degrees.

scaleImage
SuperImage scaleImage(SuperImage img, SuperImage outp, Vector2f s)
SuperImage scaleImage(SuperImage img, Vector2f s)

Scales an image

scaleImage
SuperImage scaleImage(SuperImage img, SuperImage outp, float s)
SuperImage scaleImage(SuperImage img, float s)

Uniformly scales an image

translateImage
SuperImage translateImage(SuperImage img, SuperImage outp, Vector2f t)
SuperImage translateImage(SuperImage img, Vector2f t)

Translates an image (positive x goes right, positive y goes down)

Meta

Authors

Timur Gafarov