Typedefs | Functions | Variables
CV.hpp File Reference
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/core/version.hpp>
#include "Memory.hpp"
#include "String.hpp"
Include dependency graph for CV.hpp:
This graph shows which files directly or indirectly include this file:

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 Documentation

typedef CvContour* CV_Contour

Definition at line 17 of file CV.hpp.

typedef IplImage* CV_Image

Definition at line 18 of file CV.hpp.

typedef CvMat* CV_Matrix

Definition at line 19 of file CV.hpp.

typedef CvMemStorage* CV_Memory_Storage

Definition at line 20 of file CV.hpp.

typedef CvPoint* CV_Point

Definition at line 21 of file CV.hpp.

typedef CvPoint2D32f* CV_Point2D32F

Definition at line 22 of file CV.hpp.

typedef CvPoint2D32f* CV_Point2D32F_Vector

Definition at line 23 of file CV.hpp.

typedef CvScalar* CV_Scalar

Definition at line 24 of file CV.hpp.

typedef CvSeq* CV_Sequence

Definition at line 25 of file CV.hpp.

typedef CvSize* CV_Size

Definition at line 26 of file CV.hpp.

typedef CvSlice* CV_Slice

Definition at line 27 of file CV.hpp.

typedef CvTermCriteria* CV_Term_Criteria

Definition at line 28 of file CV.hpp.

Function Documentation

void CV__release_image ( CV_Image  image)

Definition at line 265 of file CV.cpp.

int CV__round ( double  value)

Definition at line 290 of file CV.cpp.

int CV__undistortion_setup ( String_Const  calibrate_file_name,
int  width,
int  height,
CV_Image mapx,
CV_Image mapy 
)

Definition at line 301 of file CV.cpp.

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 
)

Definition at line 347 of file CV.cpp.

void CV_Image__blob_draw ( CV_Image  image,
int  x,
int  y,
CV_Scalar  color 
)

Definition at line 354 of file CV.cpp.

int CV_Image__channels_get ( CV_Image  image)

Definition at line 381 of file CV.cpp.

void CV_Image__convert_color ( CV_Image  source_image,
CV_Image  destination_image,
int  conversion_code 
)

Definition at line 385 of file CV.cpp.

void CV_Image__copy ( CV_Image  source_image,
CV_Image  destination_image,
CV_Image  mask 
)

Definition at line 390 of file CV.cpp.

CV_Image CV_Image__create ( CV_Size  size,
unsigned int  depth,
unsigned int  channels 
)

Definition at line 377 of file CV.cpp.

void CV_Image__cross_draw ( CV_Image  image,
int  x,
int  y,
CV_Scalar  color 
)

Definition at line 395 of file CV.cpp.

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 
)

Definition at line 429 of file CV.cpp.

CV_Sequence CV_Image__find_contours ( CV_Image  image,
CV_Memory_Storage  storage,
int  header_size,
int  mode,
int  method,
CV_Point  point 
)

Definition at line 454 of file CV.cpp.

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 
)

Definition at line 484 of file CV.cpp.

void CV_Image__flip ( CV_Image  from_image,
CV_Image  to_image,
int  flip_code 
)

Definition at line 489 of file CV.cpp.

int CV_Image__gray_fetch ( CV_Image  image,
int  x,
int  y 
)

Definition at line 475 of file CV.cpp.

CV_Image CV_Image__header_create ( CV_Size  size,
unsigned int  depth,
unsigned int  channels 
)

Definition at line 493 of file CV.cpp.

int CV_Image__height_get ( CV_Image  image)

Definition at line 498 of file CV.cpp.

CV_Image CV_Image__pnm_read ( String_Const  file_name)

Reads in a CV_Image in from the .pnm file named file_name.

Parameters
file_nameis the base name (excluding suffix) to write out to.
Returns
the CV_Image corresponding to the file read in.

CV_Image__pnm_read() will reads in and return a CV_Image in from the file .pnm file named file_name.

Definition at line 509 of file CV.cpp.

void CV_Image__pnm_write ( CV_Image  image,
String_Const  file_name 
)

Writes image out to .pnm file named file_name.

Parameters
imageto write out.
file_nameis the *file_name to write out to.

CV_Image__pnm_write() will write image out to the file named *file_base_name.pnm.

Definition at line 527 of file CV.cpp.

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 
)

Definition at line 533 of file CV.cpp.

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 
)

Definition at line 539 of file CV.cpp.

CV_Image CV_Image__tga_read ( CV_Image  image,
String_Const  tga_file_name 
)

Read in a .tga file.

Parameters
imageto read into (or null).
tga_file_nameis the file name of the .tga file.
Returns
image from .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.

Definition at line 563 of file CV.cpp.

void CV_Image__tga_write ( CV_Image  image,
String_Const  file_name 
)

Write image out to file_name in .tga format.

Parameters
imageto write out.
file_nameto write image to.

CV_Image__tga_write() will write image out to file_name in .tga format.

Definition at line 672 of file CV.cpp.

int CV_Image__width_get ( CV_Image  image)

Definition at line 741 of file CV.cpp.

void CV_Memory_Storage__clear ( CV_Memory_Storage  storage)

Definition at line 765 of file CV.cpp.

CV_Memory_Storage CV_Memory_Storage__create ( int  block_size)

Definition at line 769 of file CV.cpp.

void CV_Point2D32F__point_set ( CV_Point2D32F  point2d32f,
CV_Point  point 
)

Definition at line 830 of file CV.cpp.

double CV_Point2D32F__x_get ( CV_Point2D32F  point)

Definition at line 814 of file CV.cpp.

void CV_Point2D32F__x_set ( CV_Point2D32F  point,
double  x 
)

Definition at line 818 of file CV.cpp.

double CV_Point2D32F__y_get ( CV_Point2D32F  point)

Definition at line 822 of file CV.cpp.

void CV_Point2D32F__y_set ( CV_Point2D32F  point,
double  y 
)

Definition at line 826 of file CV.cpp.

void CV_Point2D32F_Vector__corners_normalize ( CV_Point2D32F_Vector  corners)

Force corners to be counter-clockwise.

Parameters
cornersis 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)

Definition at line 839 of file CV.cpp.

CV_Point2D32F CV_Point2D32F_Vector__fetch1 ( CV_Point2D32F_Vector  vector,
unsigned int  index 
)

Definition at line 853 of file CV.cpp.

bool CV_Point2D32F_Vector__is_clockwise ( CV_Point2D32F_Vector  corners)

Return true if corners is in a clockwise direction.

Parameters
cornersis a vector of 4 fiducials corners to test.
Returns
true if the corners are clockwiase and false otherwise.

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_Point CV_Point__create ( int  x,
int  y 
)

Definition at line 775 of file CV.cpp.

int CV_Point__x_get ( CV_Point  point)

Definition at line 785 of file CV.cpp.

int CV_Point__y_get ( CV_Point  point)

Definition at line 793 of file CV.cpp.

CV_Scalar CV_Scalar__create ( double  value0,
double  value1,
double  value2,
double  value3 
)

Definition at line 860 of file CV.cpp.

void CV_Scalar__free ( CV_Scalar  cv_scalar)

Definition at line 870 of file CV.cpp.

CV_Scalar CV_Scalar__rgb ( double  red,
double  green,
double  blue 
)

Definition at line 877 of file CV.cpp.

CV_Sequence CV_Sequence__approximate_polygon ( CV_Sequence  contour,
int  header_size,
CV_Memory_Storage  storage,
int  method,
int  parameter1,
double  parameter2 
)

Definition at line 885 of file CV.cpp.

double CV_Sequence__arc_length ( CV_Sequence  contour,
CV_Slice  slice,
int  is_closed 
)

Definition at line 894 of file CV.cpp.

bool CV_Sequence__check_contour_convexity ( CV_Sequence  contour)

Definition at line 899 of file CV.cpp.

double CV_Sequence__contour_area ( CV_Sequence  contour,
CV_Slice  slice,
int  oriented 
)

Definition at line 903 of file CV.cpp.

CV_Sequence CV_Sequence__next_get ( CV_Sequence  sequence)

Definition at line 908 of file CV.cpp.

CV_Point CV_Sequence__point_fetch1 ( CV_Sequence  sequence,
unsigned int  index 
)

Definition at line 912 of file CV.cpp.

int CV_Sequence__total_get ( CV_Sequence  sequence)

Definition at line 916 of file CV.cpp.

CV_Size CV_Size__create ( int  width,
int  height 
)

Definition at line 922 of file CV.cpp.

void CV_Size__free ( CV_Size  cv_size)

Definition at line 929 of file CV.cpp.

CV_Term_Criteria CV_Term_Criteria__create ( int  type,
int  maximum_iterations,
double  epsilon 
)

Definition at line 948 of file CV.cpp.

Variable Documentation

int CV__adaptive_thresh_gaussian_c

Definition at line 112 of file CV.cpp.

int CV__chain_approx_simple

Definition at line 445 of file CV.cpp.

int CV__depth_8u

Definition at line 22 of file CV.cpp.

int CV__gaussian

Definition at line 165 of file CV.cpp.

int CV__gray_to_rgb

Definition at line 53 of file CV.cpp.

int CV__poly_approx_dp

Definition at line 883 of file CV.cpp.

int CV__retr_list

Definition at line 438 of file CV.cpp.

int CV__rgb_to_gray

Definition at line 51 of file CV.cpp.

int CV__term_criteria_eps

Definition at line 946 of file CV.cpp.

int CV__term_criteria_iterations

Definition at line 945 of file CV.cpp.

int CV__thresh_binary

Definition at line 113 of file CV.cpp.

int CV__window_auto_size

Definition at line 35 of file CV.cpp.



fiducial_lib
Author(s): Wayne Gramlich
autogenerated on Thu Dec 28 2017 04:06:53