|
bazar
1.3.1
|
#include <cv.h>

Go to the source code of this file.
Macros | |
| #define | mcvRow(image, y, type) ( (type *)( (image)->imageData + (y) * (image)->widthStep ) ) |
| #define | mcvGet2D(image, x, y, type) ( (type *)( (image)->imageData + (y) * (image)->widthStep ) )[x] |
| #define | mcvGet2D_32f(image, x, y) ( (float *)( (image)->imageData + (y) * (image)->widthStep ) )[x] |
| #define | MCV_RANDOM_COLOR (-1) |
Functions | |
| CvSize | mcvSize (IplImage *image) |
| IplImage * | mcvResize (IplImage *original_image, int new_width, int new_height=-1) |
| 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_size, int value) |
| void | mcvSetBorder (IplImage *image, int border_size) |
| IplImage * | mcvColorToGray (IplImage *colorImage) |
| IplImage * | mcvGrayToColor (IplImage *grayImage) |
| void | mcvSwapRandB (IplImage *image) |
| IplImage * | showLocalMinima (IplImage *image) |
| IplImage * | showLocalMaxima (IplImage *image) |
| void | mcvScaleTo0_255 (IplImage *original, IplImage *scaled) |
| void | mcvReplace (IplImage *image, int old_value, int new_value) |
| int | mcvSaveImage (const char *filename, IplImage *image, bool verbose=true) |
| int | mcvSaveImage (const char *generic_filename, int index, IplImage *image, bool verbose=true) |
| IplImage * | mcvLoadImage (const char *filename, int code, bool verbose=true) |
| IplImage * | mcvLoadImage (const char *generic_filename, int index, int code, bool verbose=true) |
| IplImage * | mcvCrop (IplImage *image, int x, int y, int width, int height) |
| void | mcvCrop (IplImage *image, int x, int y, IplImage *croppedImage) |
| IplImage * | mcvZoom (IplImage *source, int xc, int yc, float zoom) |
| void | mcvPut (IplImage *destImage, IplImage *imageToCopy, int x, int y) |
| void | mcvDeinterlace (IplImage *image) |
| CvScalar | mcvRainbowColor (int index, float coeff=1) |
| void | mcvCross (IplImage *image, int x, int y, int size, CvScalar color, int thickness=1) |
| void | mcvSquare (IplImage *image, int x, int y, int size, CvScalar color, int thickness=1) |
| void | mcvCircle (IplImage *image, int x, int y, int size, CvScalar color, int thickness=1) |
| void | mcvVisibleLine (IplImage *image, int x1, int y1, int x2, int y2, int thickness=1) |
| void | mcvAddWhiteNoise (const IplImage *image, const int minNoise, const int maxNoise) |
| void | mcvAddWhiteNoise (const IplImage *image, const int maxNoise) |
| IplImage * | createTwoLevelsWhiteNoiseImage (int width, int height, float percentageOf0) |
| IplImage * | mcvCreateRandomImage (CvSize size, int depth, int nChannels) |
| void | mcvReplaceByNoise (IplImage *image, int value) |
| void | mcvChangeGamma (IplImage *image, float gamma) |
| IplImage * | mcvGetPatch (IplImage *image, int u, int v, int width, int height) |
| void | mcvGetPatch (IplImage *image, IplImage *patch, int u, int v) |
| void | mcvComputeAffineTransfo (float *a, int u, int v, float theta, float phi, float lambda1, float lambda2, float tx, float ty) |
Definition in file mcv.h.
| #define mcvGet2D | ( | image, | |
| x, | |||
| y, | |||
| type | |||
| ) | ( (type *)( (image)->imageData + (y) * (image)->widthStep ) )[x] |
Definition at line 31 of file mcv.h.
Referenced by mcvGaussianDerivative(), and mcvSetBorder().
| #define mcvGet2D_32f | ( | image, | |
| x, | |||
| y | |||
| ) | ( (float *)( (image)->imageData + (y) * (image)->widthStep ) )[x] |
| #define mcvRow | ( | image, | |
| y, | |||
| type | |||
| ) | ( (type *)( (image)->imageData + (y) * (image)->widthStep ) ) |
Definition at line 30 of file mcv.h.
Referenced by image_classification_node::dot_product(), mcvAddWhiteNoise(), mcvFloatToGray(), mcvFloatToHue(), mcvReplace(), mcvReplaceByNoise(), mcvSetBorder(), affine_image_generator::replace_by_noise(), affine_image_generator::set_roi(), showLocalMaxima(), and showLocalMinima().
| IplImage* createTwoLevelsWhiteNoiseImage | ( | int | width, |
| int | height, | ||
| float | percentageOf0 | ||
| ) |
| 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 = 1 |
||
| ) |
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 | ||
| ) |
| IplImage* mcvCrop | ( | IplImage * | image, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
| void mcvCrop | ( | IplImage * | image, |
| int | x, | ||
| int | y, | ||
| IplImage * | croppedImage | ||
| ) |
Definition at line 658 of file mcv.cpp.
Referenced by mcvCrop(), and mcvGetPatch().
| void mcvCross | ( | IplImage * | image, |
| int | x, | ||
| int | y, | ||
| int | size, | ||
| CvScalar | color, | ||
| int | thickness = 1 |
||
| ) |
| 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().
| IplImage* mcvLoadImage | ( | const char * | filename, |
| int | code, | ||
| bool | verbose = true |
||
| ) |
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 = true |
||
| ) |
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 = 1 |
||
| ) |
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 = -1 |
||
| ) |
| int mcvSaveImage | ( | const char * | filename, |
| IplImage * | image, | ||
| bool | verbose = true |
||
| ) |
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 = true |
||
| ) |
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_size, | ||
| 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 | thickness = 1 |
||
| ) |
| void mcvVisibleLine | ( | IplImage * | image, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| int | thickness = 1 |
||
| ) |
| 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.
1.8.1.2