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 RigidAffineDistortion
00057 } DistortMethod;
00058
00059 typedef enum
00060 {
00061 UndefinedColorInterpolate = UndefinedDistortion,
00062 BarycentricColorInterpolate = AffineDistortion,
00063 BilinearColorInterpolate = BilinearReverseDistortion,
00064 PolynomialColorInterpolate = PolynomialDistortion,
00065 ShepardsColorInterpolate = ShepardsDistortion,
00066
00067
00068
00069 VoronoiColorInterpolate = SentinelDistortion,
00070 InverseColorInterpolate,
00071 ManhattanColorInterpolate
00072 } SparseColorMethod;
00073
00074 extern MagickExport Image
00075 *AffineTransformImage(const Image *,const AffineMatrix *,ExceptionInfo *),
00076 *DistortImage(const Image *,const DistortMethod,const size_t,
00077 const double *,MagickBooleanType,ExceptionInfo *exception),
00078 *DistortResizeImage(const Image *,const size_t,const size_t,ExceptionInfo *),
00079 *RotateImage(const Image *,const double,ExceptionInfo *),
00080 *SparseColorImage(const Image *,const SparseColorMethod,const size_t,
00081 const double *,ExceptionInfo *);
00082
00083 #if defined(__cplusplus) || defined(c_plusplus)
00084 }
00085 #endif
00086
00087 #endif