MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
shear.c File Reference
Include dependency graph for shear.c:

Go to the source code of this file.

Macros

#define RotateImageTag   "Rotate/Image"
 
#define XShearImageTag   "XShear/Image"
 
#define YShearImageTag   "YShear/Image"
 

Functions

static MagickBooleanType CropToFitImage (Image **image, const double x_shear, const double y_shear, const double width, const double height, const MagickBooleanType rotate, ExceptionInfo *exception)
 
static void RadonProjection (const Image *image, MatrixInfo *source_matrixs, MatrixInfo *destination_matrixs, const ssize_t sign, size_t *projection)
 
static MagickBooleanType RadonTransform (const Image *image, const double threshold, size_t *projection, ExceptionInfo *exception)
 
static void GetImageBackgroundColor (Image *image, const ssize_t offset, ExceptionInfo *exception)
 
MagickExport ImageDeskewImage (const Image *image, const double threshold, ExceptionInfo *exception)
 
MagickExport ImageIntegralRotateImage (const Image *image, size_t rotations, ExceptionInfo *exception)
 
static MagickBooleanType XShearImage (Image *image, const double degrees, const size_t width, const size_t height, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
static MagickBooleanType YShearImage (Image *image, const double degrees, const size_t width, const size_t height, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport ImageShearImage (const Image *image, const double x_shear, const double y_shear, ExceptionInfo *exception)
 
MagickExport ImageShearRotateImage (const Image *image, const double degrees, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ RotateImageTag

#define RotateImageTag   "Rotate/Image"

◆ XShearImageTag

#define XShearImageTag   "XShear/Image"

◆ YShearImageTag

#define YShearImageTag   "YShear/Image"

Function Documentation

◆ CropToFitImage()

static MagickBooleanType CropToFitImage ( Image **  image,
const double  x_shear,
const double  y_shear,
const double  width,
const double  height,
const MagickBooleanType  rotate,
ExceptionInfo exception 
)
static

◆ DeskewImage()

◆ GetImageBackgroundColor()

◆ IntegralRotateImage()

◆ RadonProjection()

static void RadonProjection ( const Image image,
MatrixInfo source_matrixs,
MatrixInfo destination_matrixs,
const ssize_t  sign,
size_t *  projection 
)
static

◆ RadonTransform()

◆ ShearImage()

◆ ShearRotateImage()

◆ XShearImage()

◆ YShearImage()