43 #ifndef __OPENCV_IMGPROC_IMGPROC_C_H__
44 #define __OPENCV_IMGPROC_IMGPROC_C_H__
84 int size2 CV_DEFAULT(0),
85 double sigma1 CV_DEFAULT(0),
86 double sigma2 CV_DEFAULT(0));
94 CvArr* sqsum CV_DEFAULT(NULL),
95 CvArr* tilted_sum CV_DEFAULT(NULL));
111 int filter CV_DEFAULT(CV_GAUSSIAN_5x5) );
115 const
CvSize* layer_sizes CV_DEFAULT(0),
116 CvArr* bufarr CV_DEFAULT(0),
117 int calc CV_DEFAULT(1),
118 int filter CV_DEFAULT(CV_GAUSSIAN_5x5) );
135 double sp,
double sr,
int max_level CV_DEFAULT(1),
149 int xorder,
int yorder,
150 int aperture_size CV_DEFAULT(3));
154 int aperture_size CV_DEFAULT(3) );
167 CvScalar fillval CV_DEFAULT(cvScalarAll(0)) );
172 CvMat * map_matrix );
180 int flags CV_DEFAULT(CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS),
181 CvScalar fillval CV_DEFAULT(cvScalarAll(0)) );
191 int flags CV_DEFAULT(CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS),
192 CvScalar fillval CV_DEFAULT(cvScalarAll(0)) );
201 int flags CV_DEFAULT(CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS));
206 int flags CV_DEFAULT(CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS));
210 const
CvMat* camera_matrix,
211 const
CvMat* distortion_coeffs,
212 const
CvMat* new_camera_matrix CV_DEFAULT(0) );
217 const
CvMat* distortion_coeffs,
222 const
CvMat* dist_coeffs,
223 const
CvMat *R, const
CvMat* new_camera_matrix,
229 const
CvMat* camera_matrix,
230 const
CvMat* dist_coeffs,
231 const
CvMat* R CV_DEFAULT(0),
232 const
CvMat* P CV_DEFAULT(0));
236 int cols,
int rows,
int anchor_x,
int anchor_y,
237 int shape,
int* values CV_DEFAULT(NULL) );
246 int iterations CV_DEFAULT(1) );
252 int iterations CV_DEFAULT(1) );
257 int operation,
int iterations CV_DEFAULT(1) );
266 int x_order,
int y_order );
276 int connectivity CV_DEFAULT(8));
290 const
CvMat* map_matrix );
300 const
CvArr* signature2,
303 const
CvArr* cost_matrix CV_DEFAULT(NULL),
304 CvArr* flow CV_DEFAULT(NULL),
305 float* lower_bound CV_DEFAULT(NULL),
306 void* userdata CV_DEFAULT(NULL));
315 int header_size CV_DEFAULT(sizeof(
CvContour)),
318 CvPoint offset CV_DEFAULT(cvPoint(0,0)));
326 int header_size CV_DEFAULT(sizeof(CvContour)),
327 int mode CV_DEFAULT(CV_RETR_LIST),
328 int method CV_DEFAULT(CV_CHAIN_APPROX_SIMPLE),
329 CvPoint offset CV_DEFAULT(cvPoint(0,0)));
345 int method CV_DEFAULT(CV_CHAIN_APPROX_SIMPLE),
346 double parameter CV_DEFAULT(0),
347 int minimal_perimeter CV_DEFAULT(0),
348 int recursive CV_DEFAULT(0));
367 int vtx_size,
int quadedge_size,
416 return (edge & ~3) + ((edge + rotate) & 3);
427 edge = e->next[(edge + (int)type) & 3];
428 return (edge & ~3) + ((edge + ((int)type >> 4)) & 3);
448 return ((
double)b.
x - a.
x) * ((double)c.
y - a.
y) - ((double)b.
y - a.
y) * ((double)c.
x - a.
x);
460 int method,
double parameter,
466 int is_closed CV_DEFAULT(-1));
481 int oriented CV_DEFAULT(0));
492 CVAPI(
double)
cvMatchShapes( const
void* object1, const
void* object2,
493 int method,
double parameter CV_DEFAULT(0));
497 void* hull_storage CV_DEFAULT(NULL),
499 int return_points CV_DEFAULT(0));
537 float** ranges CV_DEFAULT(NULL),
538 int uniform CV_DEFAULT(1));
542 int uniform CV_DEFAULT(1));
547 float* data,
float** ranges CV_DEFAULT(NULL),
548 int uniform CV_DEFAULT(1));
558 float* min_value,
float* max_value,
559 int* min_idx CV_DEFAULT(NULL),
560 int* max_idx CV_DEFAULT(NULL));
602 #define cvCalcBackProject(image, dst, hist) cvCalcArrBackProject((CvArr**)image, dst, hist)
610 #define cvCalcBackProjectPatch( image, dst, range, hist, method, factor ) \
611 cvCalcArrBackProjectPatch( (CvArr**)image, dst, range, hist, method, factor )
625 int mask_size CV_DEFAULT(3),
626 const
float*
mask CV_DEFAULT(NULL),
627 CvArr* labels CV_DEFAULT(NULL));
634 int threshold_type );
644 int block_size CV_DEFAULT(3),
645 double param1 CV_DEFAULT(5));
650 CvScalar up_diff CV_DEFAULT(cvScalarAll(0)),
652 int flags CV_DEFAULT(4),
661 double threshold2,
int aperture_size CV_DEFAULT(3) );
667 int aperture_size CV_DEFAULT(3) );
672 int block_size,
int aperture_size CV_DEFAULT(3) );
677 int block_size,
int aperture_size CV_DEFAULT(3) );
682 int block_size,
int aperture_size CV_DEFAULT(3),
683 double k CV_DEFAULT(0.04) );
694 int* corner_count,
double quality_level,
697 int block_size CV_DEFAULT(3),
698 int use_harris CV_DEFAULT(0),
699 double k CV_DEFAULT(0.04) );
709 double rho,
double theta,
int threshold,
710 double param1 CV_DEFAULT(0),
double param2 CV_DEFAULT(0));
714 int method,
double dp,
double min_dist,
715 double param1 CV_DEFAULT(100),
716 double param2 CV_DEFAULT(100),
717 int min_radius CV_DEFAULT(0),
718 int max_radius CV_DEFAULT(0));
722 double reps,
double aeps,
float*
line );
730 const
int naive CV_DEFAULT(50),
731 const
double rho CV_DEFAULT(.7),
732 const
double tau CV_DEFAULT(.1) );
740 CvMat* indices,
CvMat* dist,
int k,
int emax CV_DEFAULT(20));
752 int L CV_DEFAULT(10),
int k CV_DEFAULT(10),
753 int type CV_DEFAULT(
CV_64FC1),
double r CV_DEFAULT(4),
754 int64 seed CV_DEFAULT(-1));
757 CVAPI(struct CvLSH*)
cvCreateMemoryLSH(
int d,
int n,
int L CV_DEFAULT(10),
int k CV_DEFAULT(10),
758 int type CV_DEFAULT(CV_64FC1),
double r CV_DEFAULT(4),
759 int64 seed CV_DEFAULT(-1));
765 CVAPI(
unsigned int)
LSHSize(struct CvLSH* lsh);
768 CVAPI(
void)
cvLSHAdd(struct CvLSH* lsh, const
CvMat* data,
CvMat* indices CV_DEFAULT(0));
776 CvMat* indices,
CvMat* dist,
int k,
int emax);