30 #define mcvRow(image, y, type) ( (type *)( (image)->imageData + (y) * (image)->widthStep ) )
31 #define mcvGet2D(image, x, y, type) ( (type *)( (image)->imageData + (y) * (image)->widthStep ) )[x]
32 #define mcvGet2D_32f(image, x, y) ( (float *)( (image)->imageData + (y) * (image)->widthStep ) )[x]
36 CvSize
mcvSize(IplImage * image);
37 IplImage *
mcvResize(IplImage * original_image,
int new_width,
int new_height = -1);
41 void mcvSmooth(IplImage * image, IplImage * smoothed_image,
int smooth_type,
int aperture);
47 void mcvSetBorder(IplImage * image,
int border_size,
int value);
65 void mcvReplace(IplImage * image,
int old_value,
int new_value);
69 int mcvSaveImage(
const char * filename, IplImage * image,
bool verbose =
true);
70 int mcvSaveImage(
const char * generic_filename,
int index, IplImage * image,
bool verbose =
true);
72 IplImage *
mcvLoadImage(
const char * filename,
int code,
bool verbose =
true);
73 IplImage *
mcvLoadImage(
const char * generic_filename,
int index,
int code,
bool verbose =
true);
78 IplImage *
mcvCrop(IplImage * image,
int x,
int y,
int width,
int height);
79 void mcvCrop(IplImage * image,
int x,
int y, IplImage * croppedImage);
81 IplImage *
mcvZoom(IplImage * source,
int xc,
int yc,
float zoom);
83 void mcvPut(IplImage * destImage, IplImage * imageToCopy,
int x,
int y);
91 #define MCV_RANDOM_COLOR (-1)
99 void mcvCross(IplImage * image,
int x,
int y,
int size, CvScalar color,
int thickness=1);
100 void mcvSquare(IplImage * image,
int x,
int y,
int size, CvScalar color,
int thickness=1);
101 void mcvCircle(IplImage * image,
int x,
int y,
int size, CvScalar color,
int thickness=1);
103 void mcvVisibleLine(IplImage * image,
int x1,
int y1,
int x2,
int y2,
int thickness=1);
108 void mcvAddWhiteNoise(
const IplImage * image,
const int minNoise,
const int maxNoise);
114 void mcvReplace(IplImage * image,
int value,
int new_value);
122 IplImage *
mcvGetPatch(IplImage * image,
int u,
int v,
int width,
int height);
123 void mcvGetPatch(IplImage * image, IplImage * patch,
int u,
int v);
127 float theta,
float phi,
float lambda1,
float lambda2,
float tx,
float ty);