bazar
1.3.1
|
Go to the source code of this file.
Functions | |
CvSize | mcvSize (IplImage *image) |
void | mcvSmooth (IplImage *image, IplImage *smoothed_image, int smooth_type, int aperture) |
float | mcvGaussianDerivative (IplImage *image, int x, int y, int order_x, int order_y, float sigma) |
IplImage * | mcvGradientNorm2 (IplImage *image, int aperture) |
void | mcvSetBorder (IplImage *image, int border, int value) |
void | mcvSetBorder (IplImage *image, int border_size) |
IplImage * | mcvColorToGray (IplImage *colorImage) |
IplImage * | mcvGrayToColor (IplImage *grayImage) |
void | mcvHSV2RGB (float H, float S, float V, int &R, int &G, int &B) |
IplImage * | mcvFloatToHue (IplImage *floatImage, int curve_number) |
IplImage * | mcvFloatToGray (IplImage *floatImage, int curve_number) |
IplImage * | showLocalMinima (IplImage *image) |
IplImage * | showLocalMaxima (IplImage *image) |
void | mcvSwapRandB (IplImage *image) |
void | mcvScaleTo0_255 (IplImage *original, IplImage *scaled) |
int | mcvSaveImage (const char *filename, IplImage *image, bool verbose) |
int | mcvSaveImage (const char *generic_filename, int index, IplImage *image, bool verbose) |
IplImage * | mcvCreateSimilarImage (IplImage *image) |
IplImage * | mcvLoadImage (const char *filename, int code, bool verbose) |
IplImage * | mcvLoadImage (const char *generic_filename, int index, int code, bool verbose) |
void | mcvSquare (IplImage *image, int x, int y, int size, CvScalar color, int width) |
void | mcvX (IplImage *image, int x, int y, int size, CvScalar color, int width) |
void | mcvCross (IplImage *image, int x, int y, int size, CvScalar color, int width) |
void | mcvCircle (IplImage *image, int x, int y, int size, CvScalar color, int thickness) |
void | mcvVisibleLine (IplImage *image, int x1, int y1, int x2, int y2, int thickness) |
IplImage * | mcvCreateRandomImage (CvSize size, int depth, int nChannels) |
void | mcvReplace (IplImage *image, int old_value, int new_value) |
void | mcvReplaceByNoise (IplImage *image, int value) |
void | mcvAddWhiteNoise (const IplImage *image, const int minNoise, const int maxNoise) |
void | mcvAddWhiteNoise (const IplImage *image, const int maxNoise) |
void | mcvChangeGamma (IplImage *image, float gamma) |
void | mcvCrop (IplImage *image, int x, int y, IplImage *croppedImage) |
IplImage * | mcvCrop (IplImage *image, int x, int y, int width, int height) |
IplImage * | mcvResize (IplImage *original_image, int new_width, int new_height) |
IplImage * | mcvZoom (IplImage *source, int xc, int yc, float zoom) |
void | mcvPut (IplImage *destImage, IplImage *imageToCopy, int x, int y) |
void | mcvDeinterlace (IplImage *image) |
IplImage * | mcvGetPatch (IplImage *image, int u, int v, int width, int height) |
void | mcvGetPatch (IplImage *image, IplImage *patch, int u, int v) |
void | imcvR3z (double Rz[3][3], double angle) |
void | imcvDiag3 (double D[3][3], double d1, double d2, double d3) |
void | imcvTransl3 (double T[3][3], double tx, double ty) |
void | imcvMul_MN3 (double A[3][3], double B[3][3], double AB[3][3]) |
void | imcvMul_MNt3 (double A[3][3], double B[3][3], double ABt[3][3]) |
void | imcvMul_MNMt3 (double M[3][3], double N[3][3], double MNMt[3][3]) |
void | mcvComputeAffineTransfo (float *a, int u, int v, float theta, float phi, float lambda1, float lambda2, float tx, float ty) |
CvScalar | mcvRainbowColor (int index, float coeff) |
void imcvDiag3 | ( | double | D[3][3], |
double | d1, | ||
double | d2, | ||
double | d3 | ||
) |
Definition at line 778 of file mcv.cpp.
Referenced by mcvComputeAffineTransfo().
void imcvMul_MN3 | ( | double | A[3][3], |
double | B[3][3], | ||
double | AB[3][3] | ||
) |
Definition at line 792 of file mcv.cpp.
Referenced by imcvMul_MNMt3(), and mcvComputeAffineTransfo().
void imcvMul_MNMt3 | ( | double | M[3][3], |
double | N[3][3], | ||
double | MNMt[3][3] | ||
) |
Definition at line 824 of file mcv.cpp.
References imcvMul_MN3(), and imcvMul_MNt3().
void imcvMul_MNt3 | ( | double | A[3][3], |
double | B[3][3], | ||
double | ABt[3][3] | ||
) |
Definition at line 808 of file mcv.cpp.
Referenced by imcvMul_MNMt3().
void imcvR3z | ( | double | Rz[3][3], |
double | angle | ||
) |
Definition at line 771 of file mcv.cpp.
Referenced by mcvComputeAffineTransfo().
void imcvTransl3 | ( | double | T[3][3], |
double | tx, | ||
double | ty | ||
) |
Definition at line 785 of file mcv.cpp.
Referenced by mcvComputeAffineTransfo().
void mcvAddWhiteNoise | ( | const IplImage * | image, |
const int | minNoise, | ||
const int | maxNoise | ||
) |
void mcvAddWhiteNoise | ( | const IplImage * | image, |
const int | maxNoise | ||
) |
void mcvCircle | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | size, | ||
CvScalar | color, | ||
int | thickness | ||
) |
Definition at line 531 of file mcv.cpp.
References cvPoint().
Referenced by yape::save_image_of_detected_points(), and pyr_yape::save_image_of_detected_points().
void mcvComputeAffineTransfo | ( | float * | a, |
int | u, | ||
int | v, | ||
float | theta, | ||
float | phi, | ||
float | lambda1, | ||
float | lambda2, | ||
float | tx, | ||
float | ty | ||
) |
Definition at line 841 of file mcv.cpp.
References imcvDiag3(), imcvMul_MN3(), imcvR3z(), and imcvTransl3().
Referenced by affine_image_generator::generate_Id_affine_transformation(), and affine_image_generator::generate_random_affine_transformation().
IplImage* mcvCreateRandomImage | ( | CvSize | size, |
int | depth, | ||
int | nChannels | ||
) |
void mcvCrop | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
IplImage * | croppedImage | ||
) |
Definition at line 658 of file mcv.cpp.
Referenced by mcvCrop(), and mcvGetPatch().
IplImage* mcvCrop | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
void mcvCross | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | size, | ||
CvScalar | color, | ||
int | width | ||
) |
IplImage* mcvFloatToGray | ( | IplImage * | floatImage, |
int | curve_number | ||
) |
IplImage* mcvFloatToHue | ( | IplImage * | floatImage, |
int | curve_number | ||
) |
Definition at line 259 of file mcv.cpp.
References mcvHSV2RGB(), and mcvRow.
float mcvGaussianDerivative | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | order_x, | ||
int | order_y, | ||
float | sigma | ||
) |
IplImage* mcvGetPatch | ( | IplImage * | image, |
int | u, | ||
int | v, | ||
int | width, | ||
int | height | ||
) |
Definition at line 761 of file mcv.cpp.
References mcvCrop().
Referenced by affine_image_generator::preprocess_point_view(), and planar_object_recognizer::save_patch_before_and_after_correction().
void mcvGetPatch | ( | IplImage * | image, |
IplImage * | patch, | ||
int | u, | ||
int | v | ||
) |
IplImage* mcvGradientNorm2 | ( | IplImage * | image, |
int | aperture | ||
) |
Definition at line 115 of file mcv.cpp.
References mcvScaleTo0_255().
IplImage* mcvGrayToColor | ( | IplImage * | grayImage | ) |
Definition at line 206 of file mcv.cpp.
Referenced by mcvPut(), yape::save_image_of_detected_points(), pyr_yape::save_image_of_detected_points(), planar_object_recognizer::save_image_of_model_points(), showLocalMaxima(), and showLocalMinima().
void mcvHSV2RGB | ( | float | H, |
float | S, | ||
float | V, | ||
int & | R, | ||
int & | G, | ||
int & | B | ||
) |
IplImage* mcvLoadImage | ( | const char * | filename, |
int | code, | ||
bool | verbose | ||
) |
Definition at line 484 of file mcv.cpp.
Referenced by planar_object_recognizer::build_with_cache(), planar_object_recognizer::load(), and mcvLoadImage().
IplImage* mcvLoadImage | ( | const char * | generic_filename, |
int | index, | ||
int | code, | ||
bool | verbose | ||
) |
Definition at line 500 of file mcv.cpp.
References mcvLoadImage().
void mcvPut | ( | IplImage * | destImage, |
IplImage * | imageToCopy, | ||
int | x, | ||
int | y | ||
) |
Definition at line 717 of file mcv.cpp.
References mcvGrayToColor().
Referenced by planar_object_recognizer::concat_model_and_input_images().
CvScalar mcvRainbowColor | ( | int | index, |
float | coeff | ||
) |
Definition at line 871 of file mcv.cpp.
References rand().
Referenced by planar_object_recognizer::draw_input_image_points(), yape::save_image_of_detected_points(), pyr_yape::save_image_of_detected_points(), and planar_object_recognizer::save_image_of_model_points().
void mcvReplace | ( | IplImage * | image, |
int | old_value, | ||
int | new_value | ||
) |
Definition at line 566 of file mcv.cpp.
References mcvRow.
Referenced by affine_image_generator::generate_affine_image().
void mcvReplaceByNoise | ( | IplImage * | image, |
int | value | ||
) |
IplImage* mcvResize | ( | IplImage * | original_image, |
int | new_width, | ||
int | new_height | ||
) |
int mcvSaveImage | ( | const char * | filename, |
IplImage * | image, | ||
bool | verbose | ||
) |
Definition at line 431 of file mcv.cpp.
Referenced by affine_image_generator::generate_affine_image(), mcvSaveImage(), planar_object_recognizer::preprocess_points(), planar_object_recognizer::save(), yape::save_image_of_detected_points(), pyr_yape::save_image_of_detected_points(), planar_object_recognizer::save_image_of_model_points(), planar_object_recognizer::save_one_image_per_match(), planar_object_recognizer::save_one_image_per_match_input_to_model(), planar_object_recognizer::save_one_image_per_match_model_to_input(), and planar_object_recognizer::save_patch_before_and_after_correction().
int mcvSaveImage | ( | const char * | generic_filename, |
int | index, | ||
IplImage * | image, | ||
bool | verbose | ||
) |
Definition at line 468 of file mcv.cpp.
References mcvSaveImage().
void mcvScaleTo0_255 | ( | IplImage * | original, |
IplImage * | scaled | ||
) |
Definition at line 420 of file mcv.cpp.
Referenced by mcvGradientNorm2().
void mcvSetBorder | ( | IplImage * | image, |
int | border, | ||
int | value | ||
) |
void mcvSetBorder | ( | IplImage * | image, |
int | border_size | ||
) |
void mcvSmooth | ( | IplImage * | image, |
IplImage * | smoothed_image, | ||
int | smooth_type, | ||
int | aperture | ||
) |
void mcvSquare | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | size, | ||
CvScalar | color, | ||
int | width | ||
) |
void mcvVisibleLine | ( | IplImage * | image, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | thickness | ||
) |
void mcvX | ( | IplImage * | image, |
int | x, | ||
int | y, | ||
int | size, | ||
CvScalar | color, | ||
int | width | ||
) |
IplImage* mcvZoom | ( | IplImage * | source, |
int | xc, | ||
int | yc, | ||
float | zoom | ||
) |
IplImage* showLocalMaxima | ( | IplImage * | image | ) |
Definition at line 378 of file mcv.cpp.
References mcvGrayToColor(), and mcvRow.
IplImage* showLocalMinima | ( | IplImage * | image | ) |
Definition at line 351 of file mcv.cpp.
References mcvGrayToColor(), and mcvRow.