43#ifndef OPENCV_IMGPROC_IMGPROC_C_H
44#define OPENCV_IMGPROC_IMGPROC_C_H
46#include "opencv2/imgproc/types_c.h"
113 int size1 CV_DEFAULT(3),
114 int size2 CV_DEFAULT(0),
115 double sigma1 CV_DEFAULT(0),
116 double sigma2 CV_DEFAULT(0));
139 CvArr* tilted_sum CV_DEFAULT(NULL));
163 const CvSize* layer_sizes CV_DEFAULT(0),
164 CvArr* bufarr CV_DEFAULT(0),
165 int calc CV_DEFAULT(1),
192 int aperture_size CV_DEFAULT(3));
198 int aperture_size CV_DEFAULT(3) );
213#pragma warning( push )
214#pragma warning( disable: 5054 )
281#pragma warning( pop )
301 int shape,
int* values CV_DEFAULT(NULL) );
314 int iterations CV_DEFAULT(1) );
323 int iterations CV_DEFAULT(1) );
358 int connectivity CV_DEFAULT(8));
394 const CvArr* cost_matrix CV_DEFAULT(NULL),
395 CvArr* flow CV_DEFAULT(NULL),
396 float* lower_bound CV_DEFAULT(NULL),
465 double parameter CV_DEFAULT(0),
466 int minimal_perimeter CV_DEFAULT(0),
467 int recursive CV_DEFAULT(0));
491CVAPI(
CvSeq*) cvApproxPoly(
const void* src_seq,
494 int recursive CV_DEFAULT(0));
499CVAPI(
double) cvArcLength(
const void* curve,
522 int oriented CV_DEFAULT(0));
533CVAPI(
int) cvMinEnclosingCircle(
const CvArr* points,
540 int method,
double parameter CV_DEFAULT(0));
546 void* hull_storage CV_DEFAULT(NULL),
548 int return_points CV_DEFAULT(0));
622 float**
ranges CV_DEFAULT(NULL),
623 int uniform CV_DEFAULT(1));
637 int uniform CV_DEFAULT(1));
655 int uniform CV_DEFAULT(1));
690 int* min_idx CV_DEFAULT(NULL),
691 int* max_idx CV_DEFAULT(NULL));
742 int accumulate CV_DEFAULT(0),
747 int accumulate CV_DEFAULT(0),
759#define cvCalcBackProject(image, dst, hist) cvCalcArrBackProject((CvArr**)image, dst, hist)
785#define cvCalcBackProjectPatch( image, dst, range, hist, method, factor ) \
786 cvCalcArrBackProjectPatch( (CvArr**)image, dst, range, hist, method, factor )
814 int mask_size CV_DEFAULT(3),
815 const float*
mask CV_DEFAULT(NULL),
870 int aperture_size CV_DEFAULT(3) );
884 int block_size,
int aperture_size CV_DEFAULT(3) );
892 int block_size,
int aperture_size CV_DEFAULT(3),
893 double k CV_DEFAULT(0.04) );
912 int use_harris CV_DEFAULT(0),
913 double k CV_DEFAULT(0.04) );
927 double param1 CV_DEFAULT(0),
double param2 CV_DEFAULT(0),
928 double min_theta CV_DEFAULT(0),
double max_theta CV_DEFAULT(
CV_PI));
936 double param2 CV_DEFAULT(100),
937 int min_radius CV_DEFAULT(0),
938 int max_radius CV_DEFAULT(0));
969 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0) );
978 int line_type CV_DEFAULT(8),
979 int shift CV_DEFAULT(0));
986 int line_type CV_DEFAULT(8),
987 int shift CV_DEFAULT(0));
997 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0));
1008 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0));
1011 int thickness CV_DEFAULT(1),
1012 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0) )
1020 0, 360,
color, thickness, line_type, shift );
1027 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0));
1034 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0) );
1041 int line_type CV_DEFAULT(8),
int shift CV_DEFAULT(0) );
1043#define cvDrawRect cvRectangle
1044#define cvDrawLine cvLine
1045#define cvDrawCircle cvCircle
1046#define cvDrawEllipse cvEllipse
1047#define cvDrawPolyLine cvPolyLine
1065 int connectivity CV_DEFAULT(8),
1066 int left_to_right CV_DEFAULT(0));
1068#define CV_NEXT_LINE_POINT( line_iterator ) \
1070 int _line_iterator_mask = (line_iterator).err < 0 ? -1 : 0; \
1071 (line_iterator).err += (line_iterator).minus_delta + \
1072 ((line_iterator).plus_delta & _line_iterator_mask); \
1073 (line_iterator).ptr += (line_iterator).minus_step + \
1074 ((line_iterator).plus_step & _line_iterator_mask); \
1078#define CV_FONT_HERSHEY_SIMPLEX 0
1079#define CV_FONT_HERSHEY_PLAIN 1
1080#define CV_FONT_HERSHEY_DUPLEX 2
1081#define CV_FONT_HERSHEY_COMPLEX 3
1082#define CV_FONT_HERSHEY_TRIPLEX 4
1083#define CV_FONT_HERSHEY_COMPLEX_SMALL 5
1084#define CV_FONT_HERSHEY_SCRIPT_SIMPLEX 6
1085#define CV_FONT_HERSHEY_SCRIPT_COMPLEX 7
1087#define CV_FONT_ITALIC 16
1089#define CV_FONT_VECTOR0 CV_FONT_HERSHEY_SIMPLEX
1128 double shear CV_DEFAULT(0),
1129 int thickness CV_DEFAULT(1),
1130 int line_type CV_DEFAULT(8));
1149CVAPI(
void) cvGetTextSize(
const char* text_string,
const CvFont*
font,
1176 int line_type CV_DEFAULT(8),
CvMemStorage CvSeq ** labels
Definition core_c.h:1724
int CvScalar value
Definition core_c.h:720
const CvArr const CvArr const CvArr CvArr int flags
Definition core_c.h:1342
CvArr int CvScalar CvScalar param2
Definition core_c.h:1248
#define CV_TERMCRIT_EPS
Definition types_c.h:897
CV_INLINE CvScalar cvScalarAll(double val0123)
Definition types_c.h:1452
int cols
Definition core_c.h:221
CvArr int CvScalar param1
Definition core_c.h:1248
#define CV_TERMCRIT_ITER
Definition types_c.h:895
CvSlice slice
Definition core_c.h:1693
CV_INLINE CvPoint cvPoint(int x, int y)
Definition types_c.h:963
CV_INLINE CvTermCriteria cvTermCriteria(int type, int max_iter, double epsilon)
Definition types_c.h:918
CV_INLINE CvPoint cvPointFrom32f(CvPoint2D32f point)
Definition types_c.h:1035
CvMemStorage CvSeq CvCmpFunc void * userdata
Definition core_c.h:1724
CvArr const CvArr * mask
Definition core_c.h:589
CvArr * arr
Definition core_c.h:1247
void CvArr
This is the "metatype" used only as a function parameter.
Definition types_c.h:133
CV_INLINE CvSize cvSize(int width, int height)
Definition types_c.h:1186
int CvArr CvTermCriteria termcrit
Definition core_c.h:1927
int dims
Definition core_c.h:464
#define CV_WHOLE_SEQ
Definition types_c.h:1318
CV_INLINE int cvRound(double value)
Rounds floating-point number to the nearest integer.
Definition fast_math.hpp:200
#define CV_PI
Definition cvdef.h:380
#define CV_INLINE
Definition cvdef.h:218
double angle
Definition imgproc_c.h:235
CvArr const CvMat * map_matrix
Definition imgproc_c.h:221
int rows
Definition imgproc_c.h:300
CvPoint CvScalar new_val
Definition imgproc_c.h:847
int double double vscale
Definition imgproc_c.h:1127
CvArr * edges
Definition imgproc_c.h:860
int int anchor_x
Definition imgproc_c.h:300
const CvRect * rect2
Definition imgproc_c.h:568
float float * max_value
Definition imgproc_c.h:689
struct _CvContourScanner * CvContourScanner
Definition types_c.h:509
CvArr int xorder
Definition imgproc_c.h:191
CvMoments * moments
Definition imgproc_c.h:335
const char * text
Definition imgproc_c.h:1143
CV_INLINE double cvContourPerimeter(const void *contour)
Definition imgproc_c.h:505
CvMemStorage * storage
Definition imgproc_c.h:407
CvArr double double int threshold_type
Definition imgproc_c.h:827
const CvPoint int npts
Definition imgproc_c.h:1026
CvArr const CvArr const CvArr * mapy
Definition imgproc_c.h:256
CvArr CvPoint int bordertype
Definition imgproc_c.h:89
CV_INLINE CvFont cvFont(double scale, int thickness CV_DEFAULT(1))
Definition imgproc_c.h:1132
int font_face
Definition imgproc_c.h:1126
CvArr CvArr IplConvKernel * element
Definition imgproc_c.h:329
CvArr int block_size
Definition imgproc_c.h:877
CvArr * markers
Definition imgproc_c.h:182
CvPoint2D32f int CvSize win
Definition imgproc_c.h:899
#define CV_AA
Definition imgproc_c.h:962
double threshold
Definition imgproc_c.h:712
CvPoint2D32f pt[4]
Definition imgproc_c.h:571
CvArr * eigenval
Definition imgproc_c.h:883
CvArr double threshold1
Definition imgproc_c.h:860
double factor
Definition imgproc_c.h:702
#define CV_FONT_HERSHEY_PLAIN
Definition imgproc_c.h:1079
int double rate
Definition imgproc_c.h:162
const CvArr CvArr * acc
Definition imgproc_c.h:73
CvPoint pt1
Definition imgproc_c.h:357
const CvArr * templ
Definition imgproc_c.h:383
CvPoint2D32f int measure_dist
Definition imgproc_c.h:588
const CvFont CvSize * text_size
Definition imgproc_c.h:1150
CvHuMoments * hu_moments
Definition imgproc_c.h:348
CvPoint2D32f int count
Definition imgproc_c.h:899
CvArr CvPoint2D32f double M
Definition imgproc_c.h:270
const CvArr CvArr * result
Definition imgproc_c.h:384
CvPoint seed_point
Definition imgproc_c.h:846
CvArr * dst
Definition imgproc_c.h:88
CvPoint CvPoint CvLineIterator * line_iterator
Definition imgproc_c.h:1064
int double double reps
Definition imgproc_c.h:944
int arrtype
Definition imgproc_c.h:1157
int header_size
Definition imgproc_c.h:492
CvPoint CvPoint CvScalar color
Definition imgproc_c.h:968
CVAPI(void) cvAcc(const CvArr *image
Adds image to accumulator.
CvSize int int arc_start
Definition imgproc_c.h:1168
CvRect r
Definition imgproc_c.h:984
int double double double aeps
Definition imgproc_c.h:944
CvSeq CvScalar CvScalar int max_level
Definition imgproc_c.h:1175
CvSize int int int CvPoint int delta
Definition imgproc_c.h:1168
CvPoint const int int int is_closed
Definition imgproc_c.h:1040
CV_INLINE void cvCalcHist(IplImage **image, CvHistogram *hist, int accumulate CV_DEFAULT(0), const CvArr *mask CV_DEFAULT(NULL))
Definition imgproc_c.h:746
void * circle_storage
Definition imgproc_c.h:933
const char CvPoint org
Definition imgproc_c.h:1143
int x_order
Definition imgproc_c.h:338
int int int anchor_y
Definition imgproc_c.h:300
CvArr CvArr CvPoint2D32f int double double min_distance
Definition imgproc_c.h:909
int number
Definition imgproc_c.h:735
int double double double float * line
Definition imgproc_c.h:944
CvArr * sum
Definition imgproc_c.h:61
CvArr double alpha
Definition imgproc_c.h:79
float * min_value
Definition imgproc_c.h:689
const CvArr * image2
Definition imgproc_c.h:73
float(CV_CDECL * CvDistanceFunction)(const float *a, const float *b, void *user_param)
Definition types_c.h:482
CvPoint2D32f float * radius
Definition imgproc_c.h:534
CvArr * corners
Definition imgproc_c.h:869
void int double rho
Definition imgproc_c.h:926
CvArr CvSize range
Definition imgproc_c.h:781
CvArr * eig_image
Definition imgproc_c.h:906
CvSize int int int arc_end
Definition imgproc_c.h:1168
const CvArr int distance_type
Definition imgproc_c.h:392
int int type
Definition imgproc_c.h:621
CvArr * harris_response
Definition imgproc_c.h:891
CvArr const CvMat * kernel
Definition imgproc_c.h:131
CvArr CvArr CvPoint2D32f int double quality_level
Definition imgproc_c.h:908
const CvArr CvArr CvArr * mapalpha
Definition imgproc_c.h:264
int int y_order
Definition imgproc_c.h:338
CvSeq CvScalar external_color
Definition imgproc_c.h:1174
CvPoint CvPoint pt2
Definition imgproc_c.h:357
const CvArr CvArr * mapxy
Definition imgproc_c.h:264
void int double double theta
Definition imgproc_c.h:926
const CvArr * signature2
Definition imgproc_c.h:391
int int int int shape
Definition imgproc_c.h:301
CvPoint CvSize axes
Definition imgproc_c.h:1005
const CvFont CvSize int * baseline
Definition imgproc_c.h:1150
CvArr int code
Definition imgproc_c.h:203
const CvArr CvContour * contour_header
Definition imgproc_c.h:577
int CvHistogram float * data
Definition imgproc_c.h:654
CvArr double double threshold2
Definition imgproc_c.h:861
CvArr CvPoint2D32f double maxRadius
Definition imgproc_c.h:277
CvMemStorage CvSeq ** first_contour
Definition imgproc_c.h:407
void * line_storage
Definition imgproc_c.h:925
const void * object2
Definition imgproc_c.h:539
int double param
Definition imgproc_c.h:943
int CvMemStorage int double eps
Definition imgproc_c.h:493
CvPoint CvSize double double start_angle
Definition imgproc_c.h:1006
int CvHistogram * hist
Definition imgproc_c.h:653
CvPoint CvSize double double double end_angle
Definition imgproc_c.h:1006
float ** ranges
Definition imgproc_c.h:636
const CvPoint * pts
Definition imgproc_c.h:1026
void int double dp
Definition imgproc_c.h:934
const CvArr CvArr int method
Definition imgproc_c.h:384
CvArr double sp
Definition imgproc_c.h:176
CvArr CvArr * temp_image
Definition imgproc_c.h:907
int dist_type
Definition imgproc_c.h:943
CvArr CvPoint2D32f center
Definition imgproc_c.h:270
CvPoint2D32f int CvSize CvSize CvTermCriteria criteria
Definition imgproc_c.h:900
CvPoint CvPoint void * buffer
Definition imgproc_c.h:357
CvArr double double sr
Definition imgproc_c.h:176
CvSeq * new_contour
Definition imgproc_c.h:438
int double hscale
Definition imgproc_c.h:1127
CvPoint const int int contours
Definition imgproc_c.h:1033
CV_INLINE void cvEllipseBox(CvArr *img, CvBox2D box, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
Definition imgproc_c.h:1010
const CvArr * mat
Definition imgproc_c.h:576
const CvHistogram CvHistogram * dst_hist
Definition imgproc_c.h:801
CvSeq * contour
Definition imgproc_c.h:1173
const CvHistogram * hist2
Definition imgproc_c.h:717
CvArr * sqsum
Definition imgproc_c.h:67
CvArr * eigenvv
Definition imgproc_c.h:876
const CvArr CvContour CvSeqBlock * block
Definition imgproc_c.h:578
CvArr CvPoint offset
Definition imgproc_c.h:88
double double scale
Definition imgproc_c.h:236
CvPoint2D32f int CvSize CvSize zero_zone
Definition imgproc_c.h:899
int * sizes
Definition imgproc_c.h:621
void int double double min_dist
Definition imgproc_c.h:934
CvArr CvArr CvPoint2D32f int * corner_count
Definition imgproc_c.h:908
const char CvPoint const CvFont * font
Definition imgproc_c.h:1144
const CvArr * convexhull
Definition imgproc_c.h:559
CvArr const CvArr * mapx
Definition imgproc_c.h:256
CvArr int int yorder
Definition imgproc_c.h:191
int extra_layers
Definition imgproc_c.h:162
CvArr CvArr IplConvKernel int operation
Definition imgproc_c.h:330
CvSeq CvScalar CvScalar hole_color
Definition imgproc_c.h:1174
CvChainPtReader * reader
Definition imgproc_c.h:475
CvArr CvArr * temp
Definition imgproc_c.h:329
@ CV_ADAPTIVE_THRESH_MEAN_C
Definition types_c.h:621
@ CV_DIST_LABEL_CCOMP
Definition types_c.h:584
@ CV_RETR_LIST
Definition types_c.h:488
@ CV_INTER_LINEAR
Definition types_c.h:370
@ CV_GAUSSIAN
Definition types_c.h:78
@ CV_CLOCKWISE
Definition types_c.h:546
@ CV_DIST_L2
Definition types_c.h:593
@ CV_GAUSSIAN_5x5
Definition types_c.h:90
@ CV_THRESH_BINARY
Definition types_c.h:605
@ CV_WARP_FILL_OUTLIERS
Definition types_c.h:379
@ CV_CHAIN_APPROX_SIMPLE
Definition types_c.h:499
const IplImage * image
Definition videoio_c.h:131
Definition types_c.h:1262
float angle
Definition types_c.h:1265
CvPoint2D32f center
Definition types_c.h:1263
CvSize2D32f size
Definition types_c.h:1264
Definition types_c.h:1674
Definition types_c.h:1687
Definition imgproc_c.h:1094
int font_face
Definition imgproc_c.h:1097
float hscale
Definition imgproc_c.h:1101
const int * cyrillic
Definition imgproc_c.h:1100
float shear
slope coefficient: 0 - normal, >0 - italic
Definition imgproc_c.h:1102
CvScalar color
Definition imgproc_c.h:1096
int thickness
Qt: weight /** letters thickness */.
Definition imgproc_c.h:1103
int line_type
Qt: PointSize.
Definition imgproc_c.h:1105
float dx
horizontal interval between letters
Definition imgproc_c.h:1104
float vscale
Definition imgproc_c.h:1101
const int * greek
Definition imgproc_c.h:1099
const int * ascii
font data and metrics
Definition imgproc_c.h:1098
const char * nameFont
Definition imgproc_c.h:1095
Definition types_c.h:1301
Definition types_c.h:1482
Definition types_c.h:1367
Definition types_c.h:1508
Definition types_c.h:1558
float width
Definition types_c.h:1210
float height
Definition types_c.h:1211
Definition types_c.h:1158
Definition types_c.h:1321