PCL
Bitmap Affine Transformations

Functions

Bitmap pcl::Bitmap::Rotated (double angle, bool precise=true) const
 
Bitmap pcl::Bitmap::Scaled (double sx, double sy, bool precise=true) const
 
Bitmap pcl::Bitmap::Scaled (double sxy, bool precise=true) const
 
Bitmap pcl::Bitmap::ScaledToHeight (int height, bool precise=true) const
 
Bitmap pcl::Bitmap::ScaledToSize (int width, int height, bool precise=true) const
 
Bitmap pcl::Bitmap::ScaledToWidth (int width, bool precise=true) const
 

Detailed Description

Function Documentation

◆ Rotated()

Bitmap pcl::Bitmap::Rotated ( double  angle,
bool  precise = true 
) const

Returns a rotated duplicate of this bitmap.

Parameters
angleRotation angle in radians.
preciseIf this parameter is true, the rotated bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.

◆ Scaled() [1/2]

Bitmap pcl::Bitmap::Scaled ( double  sx,
double  sy,
bool  precise = true 
) const

Returns a scaled duplicate of this bitmap.

Parameters
sx,syScaling factors in the X and Y axes.
preciseIf this parameter is true, the scaled bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.

◆ Scaled() [2/2]

Bitmap pcl::Bitmap::Scaled ( double  sxy,
bool  precise = true 
) const

Returns a scaled duplicate of this bitmap.

Parameters
sxyScaling factor applied to both X and Y axes.
preciseIf this parameter is true, the scaled bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.

◆ ScaledToHeight()

Bitmap pcl::Bitmap::ScaledToHeight ( int  height,
bool  precise = true 
) const

Returns a scaled duplicate of this bitmap, with its height equal to a prescribed value in pixels.

Parameters
heightHeight in pixels of the returned bitmap. If this parameter is zero, an empty bitmap will be returned.
preciseIf this parameter is true, the scaled bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.

◆ ScaledToSize()

Bitmap pcl::Bitmap::ScaledToSize ( int  width,
int  height,
bool  precise = true 
) const

Returns a scaled duplicate of this bitmap, with its width and height equal to prescribed values in pixels.

Parameters
width,heightWidth and height in pixels of the returned bitmap. If one or both of these parameters are zero, an empty bitmap will be returned.
preciseIf this parameter is true, the scaled bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.

◆ ScaledToWidth()

Bitmap pcl::Bitmap::ScaledToWidth ( int  width,
bool  precise = true 
) const

Returns a scaled duplicate of this bitmap, with its width equal to a prescribed value in pixels.

Parameters
widthWidth in pixels of the returned bitmap. If this parameter is zero, an empty bitmap will be returned.
preciseIf this parameter is true, the scaled bitmap will be generated using a precise, smooth interpolation algorithm. This parameter is true by default.