00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKCORE_DISTORT_H
00019 #define MAGICKCORE_DISTORT_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 typedef enum
00035 {
00036 UndefinedDistortion,
00037 AffineDistortion,
00038 AffineProjectionDistortion,
00039 ScaleRotateTranslateDistortion,
00040 PerspectiveDistortion,
00041 PerspectiveProjectionDistortion,
00042 BilinearForwardDistortion,
00043 BilinearDistortion = BilinearForwardDistortion,
00044 BilinearReverseDistortion,
00045 PolynomialDistortion,
00046 ArcDistortion,
00047 PolarDistortion,
00048 DePolarDistortion,
00049 Cylinder2PlaneDistortion,
00050 Plane2CylinderDistortion,
00051 BarrelDistortion,
00052 BarrelInverseDistortion,
00053 ShepardsDistortion,
00054 ResizeDistortion,
00055 SentinelDistortion
00056 } DistortMethod;
00057
00058 typedef enum
00059 {
00060 UndefinedColorInterpolate = UndefinedDistortion,
00061 BarycentricColorInterpolate = AffineDistortion,
00062 BilinearColorInterpolate = BilinearReverseDistortion,
00063 PolynomialColorInterpolate = PolynomialDistortion,
00064 ShepardsColorInterpolate = ShepardsDistortion,
00065
00066
00067
00068 VoronoiColorInterpolate = SentinelDistortion,
00069 InverseColorInterpolate,
00070 ManhattanColorInterpolate
00071 } SparseColorMethod;
00072
00073 extern MagickExport Image
00074 *AffineTransformImage(const Image *,const AffineMatrix *,ExceptionInfo *),
00075 *DistortImage(const Image *,const DistortMethod,const size_t,
00076 const double *,MagickBooleanType,ExceptionInfo *exception),
00077 *DistortResizeImage(const Image *,const size_t,const size_t,ExceptionInfo *),
00078 *RotateImage(const Image *,const double,ExceptionInfo *),
00079 *SparseColorImage(const Image *,const SparseColorMethod,const size_t,
00080 const double *,ExceptionInfo *);
00081
00082 #if defined(__cplusplus) || defined(c_plusplus)
00083 }
00084 #endif
00085
00086 #endif