shear.c File Reference

#include "magick/studio.h"
#include "magick/artifact.h"
#include "magick/attribute.h"
#include "magick/blob-private.h"
#include "magick/cache-private.h"
#include "magick/channel.h"
#include "magick/color-private.h"
#include "magick/colorspace-private.h"
#include "magick/composite.h"
#include "magick/composite-private.h"
#include "magick/decorate.h"
#include "magick/distort.h"
#include "magick/draw.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/gem.h"
#include "magick/geometry.h"
#include "magick/image.h"
#include "magick/image-private.h"
#include "magick/memory_.h"
#include "magick/list.h"
#include "magick/matrix.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/nt-base-private.h"
#include "magick/pixel-private.h"
#include "magick/quantum.h"
#include "magick/resource_.h"
#include "magick/shear.h"
#include "magick/statistic.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/thread-private.h"
#include "magick/threshold.h"
#include "magick/token.h"
#include "magick/transform.h"
Include dependency graph for shear.c:

Defines

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

Functions

static MagickBooleanType CropToFitImage (Image **image, const MagickRealType x_shear, const MagickRealType y_shear, const MagickRealType width, const MagickRealType height, const MagickBooleanType rotate, ExceptionInfo *exception)
static void RadonProjection (const Image *image, MatrixInfo *source_matrix, MatrixInfo *destination_matrix, 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 MagickRealType 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 MagickRealType 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)

Define 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 MagickRealType  x_shear,
const MagickRealType  y_shear,
const MagickRealType  width,
const MagickRealType  height,
const MagickBooleanType  rotate,
ExceptionInfo exception 
) [static]
MagickExport Image* DeskewImage ( const Image image,
const double  threshold,
ExceptionInfo exception 
)
static void GetImageBackgroundColor ( Image image,
const ssize_t  offset,
ExceptionInfo exception 
) [static]
MagickExport Image* IntegralRotateImage ( const Image image,
size_t  rotations,
ExceptionInfo exception 
)
static void RadonProjection ( const Image image,
MatrixInfo source_matrix,
MatrixInfo destination_matrix,
const ssize_t  sign,
size_t *  projection 
) [static]
static MagickBooleanType RadonTransform ( const Image image,
const double  threshold,
size_t *  projection,
ExceptionInfo exception 
) [static]
MagickExport Image* ShearImage ( const Image image,
const double  x_shear,
const double  y_shear,
ExceptionInfo exception 
)
MagickExport Image* ShearRotateImage ( const Image image,
const double  degrees,
ExceptionInfo exception 
)
static MagickBooleanType XShearImage ( Image image,
const MagickRealType  degrees,
const size_t  width,
const size_t  height,
const ssize_t  x_offset,
const ssize_t  y_offset,
ExceptionInfo exception 
) [static]
static MagickBooleanType YShearImage ( Image image,
const MagickRealType  degrees,
const size_t  width,
const size_t  height,
const ssize_t  x_offset,
const ssize_t  y_offset,
ExceptionInfo exception 
) [static]

Generated on 28 Apr 2020 for MagickCore by  doxygen 1.6.1