distort.h File Reference
#include <magick/draw.h>
Go to the source code of this file.
Enumerations |
| enum | DistortImageMethod {
UndefinedDistortion,
AffineDistortion,
AffineProjectionDistortion,
ScaleRotateTranslateDistortion,
PerspectiveDistortion,
PerspectiveProjectionDistortion,
BilinearForwardDistortion,
BilinearDistortion = BilinearForwardDistortion,
BilinearReverseDistortion,
PolynomialDistortion,
ArcDistortion,
PolarDistortion,
DePolarDistortion,
BarrelDistortion,
BarrelInverseDistortion,
ShepardsDistortion,
SentinelDistortion
} |
| enum | SparseColorMethod {
UndefinedColorInterpolate = UndefinedDistortion,
BarycentricColorInterpolate = AffineDistortion,
BilinearColorInterpolate = BilinearReverseDistortion,
PolynomialColorInterpolate = PolynomialDistortion,
ShepardsColorInterpolate = ShepardsDistortion,
VoronoiColorInterpolate = SentinelDistortion
} |
Functions |
| MagickExport Image * | DistortImage (const Image *, const DistortImageMethod, const unsigned long, const double *, MagickBooleanType, ExceptionInfo *exception) |
| MagickExport Image ** | SparseColorImage (const Image *, const ChannelType, const SparseColorMethod, const unsigned long, const double *, ExceptionInfo *) |
Enumeration Type Documentation
- Enumerator:
| UndefinedDistortion |
|
| AffineDistortion |
|
| AffineProjectionDistortion |
|
| ScaleRotateTranslateDistortion |
|
| PerspectiveDistortion |
|
| PerspectiveProjectionDistortion |
|
| BilinearForwardDistortion |
|
| BilinearDistortion |
|
| BilinearReverseDistortion |
|
| PolynomialDistortion |
|
| ArcDistortion |
|
| PolarDistortion |
|
| DePolarDistortion |
|
| BarrelDistortion |
|
| BarrelInverseDistortion |
|
| ShepardsDistortion |
|
| SentinelDistortion |
|
Definition at line 36 of file distort.h.
- Enumerator:
| UndefinedColorInterpolate |
|
| BarycentricColorInterpolate |
|
| BilinearColorInterpolate |
|
| PolynomialColorInterpolate |
|
| ShepardsColorInterpolate |
|
| VoronoiColorInterpolate |
|
Definition at line 58 of file distort.h.
Function Documentation
| MagickExport Image* * SparseColorImage |
( |
const Image * |
, |
|
|
const |
ChannelType, |
|
|
const |
SparseColorMethod, |
|
|
const unsigned |
long, |
|
|
const double * |
, |
|
|
ExceptionInfo * |
| |
|
) |
| | |
Definition at line 2376 of file distort.c.
References AcquireCacheView(), BarycentricColorInterpolate, BilinearColorInterpolate, _MagickPixelPacket::blue, BlueChannel, CloneImage(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GenerateCoefficients(), GetCacheViewAuthenticIndexQueue(), GetImageArtifact(), GetMagickModule, GetMagickPixelPacket(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, InheritException(), LogMagickEvent(), MagickFalse, MagickHuge, MagickSignature, MagickTrue, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, QueueCacheViewAuthenticPixels(), _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelPacket(), ShepardsColorInterpolate, _ExceptionInfo::signature, _Image::signature, SparseColorTag, SyncCacheViewAuthenticPixels(), TraceEvent, and VoronoiColorInterpolate.