#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/core/version.hpp>
#include "Memory.hpp"
#include "String.hpp"
Go to the source code of this file.
Typedefs | |
typedef CvContour * | CV_Contour |
typedef IplImage * | CV_Image |
typedef CvMat * | CV_Matrix |
typedef CvMemStorage * | CV_Memory_Storage |
typedef CvPoint * | CV_Point |
typedef CvPoint2D32f * | CV_Point2D32F |
typedef CvPoint2D32f * | CV_Point2D32F_Vector |
typedef CvScalar * | CV_Scalar |
typedef CvSeq * | CV_Sequence |
typedef CvSize * | CV_Size |
typedef CvSlice * | CV_Slice |
typedef CvTermCriteria * | CV_Term_Criteria |
Functions | |
void | CV__release_image (CV_Image image) |
int | CV__round (double value) |
int | CV__undistortion_setup (String_Const calibrate_file_name, int width, int height, CV_Image *mapx, CV_Image *mapy) |
void | CV_Image__adaptive_threshold (CV_Image source_image, CV_Image destination_image, double maximum_value, int adaptive_method, int threshold_type, int block_size, double parameter1) |
void | CV_Image__blob_draw (CV_Image image, int x, int y, CV_Scalar color) |
int | CV_Image__channels_get (CV_Image image) |
void | CV_Image__convert_color (CV_Image source_image, CV_Image destination_image, int conversion_code) |
void | CV_Image__copy (CV_Image source_image, CV_Image destination_image, CV_Image mask) |
CV_Image | CV_Image__create (CV_Size size, unsigned int depth, unsigned int channels) |
void | CV_Image__cross_draw (CV_Image image, int x, int y, CV_Scalar color) |
void | CV_Image__draw_contours (CV_Image image, CV_Sequence contour, CV_Scalar external_color, CV_Scalar hole_color, int maximal_level, int thickness, int line_type, CV_Point offset) |
CV_Sequence | CV_Image__find_contours (CV_Image image, CV_Memory_Storage storage, int header_size, int mode, int method, CV_Point point) |
void | CV_Image__find_corner_sub_pix (CV_Image image, CV_Point2D32F_Vector corners, int count, CV_Size window, CV_Size zero_zone, CV_Term_Criteria criteria) |
void | CV_Image__flip (CV_Image from_image, CV_Image to_image, int flip_code) |
int | CV_Image__gray_fetch (CV_Image image, int x, int y) |
CV_Image | CV_Image__header_create (CV_Size size, unsigned int depth, unsigned int channels) |
int | CV_Image__height_get (CV_Image image) |
CV_Image | CV_Image__pnm_read (String_Const file_base_name) |
Reads in a CV_Image in from the .pnm file named file_name. More... | |
void | CV_Image__pnm_write (CV_Image image, String_Const file_base_name) |
Writes image out to .pnm file named file_name. More... | |
int | CV_Image__point_sample (CV_Image image, CV_Point2D32F point) |
int | CV_Image__points_maximum (CV_Image image, CV_Point2D32F_Vector points, unsigned int start_index, unsigned int end_index) |
int | CV_Image__points_minimum (CV_Image image, CV_Point2D32F_Vector points, unsigned int start_index, unsigned int end_index) |
void | CV_Image__remap (CV_Image source_image, CV_Image destination_image, CV_Image map_x, CV_Image map_y, int flags, CV_Scalar fill_value) |
int | CV_Image__save (CV_Image image, String_Const file_name, int *parameters) |
void | CV_Image__smooth (CV_Image source_image, CV_Image destination_image, int smooth_type, int parameter1, int parameter2, double parameter3, double parameter4) |
CV_Image | CV_Image__tga_read (CV_Image image, String_Const file_name) |
Read in a .tga file. More... | |
void | CV_Image__tga_write (CV_Image image, String_Const file_name) |
Write image out to file_name in .tga format. More... | |
int | CV_Image__width_get (CV_Image image) |
void | CV_Memory_Storage__clear (CV_Memory_Storage storage) |
CV_Memory_Storage | CV_Memory_Storage__create (int block_size) |
void | CV_Point2D32F__point_set (CV_Point2D32F point2d32f, CV_Point point) |
double | CV_Point2D32F__x_get (CV_Point2D32F point) |
void | CV_Point2D32F__x_set (CV_Point2D32F point, double x) |
double | CV_Point2D32F__y_get (CV_Point2D32F point) |
void | CV_Point2D32F__y_set (CV_Point2D32F point, double y) |
void | CV_Point2D32F_Vector__corners_normalize (CV_Point2D32F_Vector corners) |
Force corners to be counter-clockwise. More... | |
CV_Point2D32F_Vector | CV_Point2D32F_Vector__create (unsigned int size) |
CV_Point2D32F | CV_Point2D32F_Vector__fetch1 (CV_Point2D32F_Vector vector, unsigned int index) |
bool | CV_Point2D32F_Vector__is_clockwise (CV_Point2D32F_Vector corners) |
Return true if corners is in a clockwise direction. More... | |
CV_Point | CV_Point__create (int x, int y) |
int | CV_Point__x_get (CV_Point point) |
int | CV_Point__y_get (CV_Point point) |
CV_Scalar | CV_Scalar__create (double value0, double value1, double value2, double value3) |
void | CV_Scalar__free (CV_Scalar cv_scalar) |
CV_Scalar | CV_Scalar__rgb (double red, double green, double blue) |
CV_Sequence | CV_Sequence__approximate_polygon (CV_Sequence contour, int header_size, CV_Memory_Storage storage, int method, int parameter1, double parameter2) |
double | CV_Sequence__arc_length (CV_Sequence contour, CV_Slice slice, int is_closed) |
bool | CV_Sequence__check_contour_convexity (CV_Sequence contour) |
double | CV_Sequence__contour_area (CV_Sequence contour, CV_Slice slice, int oriented) |
CV_Sequence | CV_Sequence__next_get (CV_Sequence sequence) |
CV_Point | CV_Sequence__point_fetch1 (CV_Sequence sequence, unsigned int index) |
int | CV_Sequence__total_get (CV_Sequence sequence) |
CV_Size | CV_Size__create (int width, int height) |
void | CV_Size__free (CV_Size cv_size) |
CV_Term_Criteria | CV_Term_Criteria__create (int type, int maximum_iterations, double epsilon) |
Variables | |
int | CV__adaptive_thresh_gaussian_c |
int | CV__chain_approx_simple |
int | CV__depth_8u |
int | CV__gaussian |
int | CV__gray_to_rgb |
int | CV__poly_approx_dp |
int | CV__retr_list |
int | CV__rgb_to_gray |
int | CV__term_criteria_eps |
int | CV__term_criteria_iterations |
int | CV__thresh_binary |
int | CV__window_auto_size |
typedef CvContour* CV_Contour |
typedef CvMemStorage* CV_Memory_Storage |
typedef CvPoint2D32f* CV_Point2D32F |
typedef CvPoint2D32f* CV_Point2D32F_Vector |
typedef CvSeq* CV_Sequence |
typedef CvTermCriteria* CV_Term_Criteria |
int CV__undistortion_setup | ( | String_Const | calibrate_file_name, |
int | width, | ||
int | height, | ||
CV_Image * | mapx, | ||
CV_Image * | mapy | ||
) |
void CV_Image__draw_contours | ( | CV_Image | image, |
CV_Sequence | contour, | ||
CV_Scalar | external_color, | ||
CV_Scalar | hole_color, | ||
int | maximal_level, | ||
int | thickness, | ||
int | line_type, | ||
CV_Point | offset | ||
) |
CV_Sequence CV_Image__find_contours | ( | CV_Image | image, |
CV_Memory_Storage | storage, | ||
int | header_size, | ||
int | mode, | ||
int | method, | ||
CV_Point | point | ||
) |
void CV_Image__find_corner_sub_pix | ( | CV_Image | image, |
CV_Point2D32F_Vector | corners, | ||
int | count, | ||
CV_Size | window, | ||
CV_Size | zero_zone, | ||
CV_Term_Criteria | criteria | ||
) |
CV_Image CV_Image__pnm_read | ( | String_Const | file_name | ) |
Reads in a CV_Image in from the .pnm file named file_name.
file_name | is the base name (excluding suffix) to write out to. |
CV_Image__pnm_read() will reads in and return a CV_Image in from the file .pnm file named file_name.
void CV_Image__pnm_write | ( | CV_Image | image, |
String_Const | file_name | ||
) |
int CV_Image__point_sample | ( | CV_Image | image, |
CV_Point2D32F | point | ||
) |
int CV_Image__points_maximum | ( | CV_Image | image, |
CV_Point2D32F_Vector | points, | ||
unsigned int | start_index, | ||
unsigned int | end_index | ||
) |
int CV_Image__points_minimum | ( | CV_Image | image, |
CV_Point2D32F_Vector | points, | ||
unsigned int | start_index, | ||
unsigned int | end_index | ||
) |
int CV_Image__save | ( | CV_Image | image, |
String_Const | file_name, | ||
int * | parameters | ||
) |
CV_Image CV_Image__tga_read | ( | CV_Image | image, |
String_Const | tga_file_name | ||
) |
Read in a .tga file.
image | to read into (or null). |
tga_file_name | is the file name of the .tga file. |
*CV__tga_read will read the contents of {tga_file_name} into {image}. If the sizes do not match, {image} is released and new {CV_Image} object of the right size is allocated, filled and returned. In either case, the returned {CV_Image} object containing the read in image data is returned.
void CV_Image__tga_write | ( | CV_Image | image, |
String_Const | file_name | ||
) |
void CV_Memory_Storage__clear | ( | CV_Memory_Storage | storage | ) |
CV_Memory_Storage CV_Memory_Storage__create | ( | int | block_size | ) |
void CV_Point2D32F__point_set | ( | CV_Point2D32F | point2d32f, |
CV_Point | point | ||
) |
double CV_Point2D32F__x_get | ( | CV_Point2D32F | point | ) |
void CV_Point2D32F__x_set | ( | CV_Point2D32F | point, |
double | x | ||
) |
double CV_Point2D32F__y_get | ( | CV_Point2D32F | point | ) |
void CV_Point2D32F__y_set | ( | CV_Point2D32F | point, |
double | y | ||
) |
void CV_Point2D32F_Vector__corners_normalize | ( | CV_Point2D32F_Vector | corners | ) |
Force corners to be counter-clockwise.
corners | is the list of 4 fiducial corners. |
CV_Point2D32F_Vector__corners_normalize() will force corners to be counter-clockwise. Note there is no check to ensure that corners actually has 4 values in it.
Definition at line 1223 of file Fiducials.cpp.
CV_Point2D32F_Vector CV_Point2D32F_Vector__create | ( | unsigned int | size | ) |
CV_Point2D32F CV_Point2D32F_Vector__fetch1 | ( | CV_Point2D32F_Vector | vector, |
unsigned int | index | ||
) |
bool CV_Point2D32F_Vector__is_clockwise | ( | CV_Point2D32F_Vector | corners | ) |
Return true if corners is in a clockwise direction.
corners | is a vector of 4 fiducials corners to test. |
CV_Point2D32F_Vector__is_clockwise() will return true if the 4 fiducial corners in corners are clockwise and false otherwise.
Definition at line 1253 of file Fiducials.cpp.
CV_Scalar CV_Scalar__create | ( | double | value0, |
double | value1, | ||
double | value2, | ||
double | value3 | ||
) |
CV_Scalar CV_Scalar__rgb | ( | double | red, |
double | green, | ||
double | blue | ||
) |
CV_Sequence CV_Sequence__approximate_polygon | ( | CV_Sequence | contour, |
int | header_size, | ||
CV_Memory_Storage | storage, | ||
int | method, | ||
int | parameter1, | ||
double | parameter2 | ||
) |
double CV_Sequence__arc_length | ( | CV_Sequence | contour, |
CV_Slice | slice, | ||
int | is_closed | ||
) |
bool CV_Sequence__check_contour_convexity | ( | CV_Sequence | contour | ) |
double CV_Sequence__contour_area | ( | CV_Sequence | contour, |
CV_Slice | slice, | ||
int | oriented | ||
) |
CV_Sequence CV_Sequence__next_get | ( | CV_Sequence | sequence | ) |
CV_Point CV_Sequence__point_fetch1 | ( | CV_Sequence | sequence, |
unsigned int | index | ||
) |
int CV_Sequence__total_get | ( | CV_Sequence | sequence | ) |
CV_Term_Criteria CV_Term_Criteria__create | ( | int | type, |
int | maximum_iterations, | ||
double | epsilon | ||
) |