MagickCore  7.0.2
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

#define RotateImageTag   "Rotate/Image"

Referenced by IntegralRotateImage().

#define XShearImageTag   "XShear/Image"

Referenced by XShearImage().

#define YShearImageTag   "YShear/Image"

Referenced by YShearImage().

Function Documentation

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
static void RadonProjection ( const Image image,
MatrixInfo source_matrixs,
MatrixInfo destination_matrixs,
const ssize_t  sign,
size_t *  projection 
)
static

Definition at line 216 of file shear.c.

References GetMatrixColumns(), GetMatrixElement(), GetMatrixRows(), MagickFalse, and SetMatrixElement().

Referenced by RadonTransform().