Wondercoll
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions
cvpyrsegmentation.cpp File Reference
#include "_cv.h"

Classes

struct  _CvRGBf
 
struct  _CvRect16u
 
struct  _CvPyramid
 
struct  _CvPyramidBase
 
struct  _CvPyramidC3
 
struct  _CvPyramidBaseC3
 
struct  _CvListNode
 

Macros

#define _CV_CHECK(icvFun)
 
#define _CV_MAX3(a, b, c)   ((a)>(b) ? ((a)>(c) ? (a) : (c)) : ((b)>(c) ? (b) : (c)))
 
#define _CV_NEXT_BASE_C1(p, n)   (_CvPyramid*)((char*)(p) + (n)*sizeof(_CvPyramidBase))
 
#define _CV_NEXT_BASE_C3(p, n)   (_CvPyramidC3*)((char*)(p) + (n)*sizeof(_CvPyramidBaseC3))
 
#define _CV_RGB_DIST   icvRGBDist_Max
 
#define _CV_RGB_THRESH_SCALE   1
 
#define _CV_INV_TAB_SIZE   32
 

Typedefs

typedef struct _CvRGBf _CvRGBf
 
typedef struct _CvRect16u _CvRect16u
 
typedef struct _CvPyramid _CvPyramid
 
typedef struct _CvPyramidBase _CvPyramidBase
 
typedef struct _CvPyramidC3 _CvPyramidC3
 
typedef struct _CvPyramidBaseC3 _CvPyramidBaseC3
 
typedef struct _CvListNode _CvListNode
 

Functions

CV_INLINE float icvRGBDist_Max (const _CvRGBf &a, const _CvRGBf &b)
 
CV_INLINE float icvRGBDist_Sum (const _CvRGBf &a, const _CvRGBf &b)
 
CV_IMPL void cvPyrSegmentation (IplImage *src, IplImage *dst, CvMemStorage *storage, CvSeq **comp, int level, double threshold1, double threshold2)
 

Macro Definition Documentation

#define _CV_CHECK (   icvFun)
Value:
{ \
if( icvFun != CV_OK ) \
goto M_END; \
}
#define _CV_INV_TAB_SIZE   32
#define _CV_MAX3 (   a,
  b,
  c 
)    ((a)>(b) ? ((a)>(c) ? (a) : (c)) : ((b)>(c) ? (b) : (c)))
#define _CV_NEXT_BASE_C1 (   p,
  n 
)    (_CvPyramid*)((char*)(p) + (n)*sizeof(_CvPyramidBase))
#define _CV_NEXT_BASE_C3 (   p,
  n 
)    (_CvPyramidC3*)((char*)(p) + (n)*sizeof(_CvPyramidBaseC3))
#define _CV_RGB_DIST   icvRGBDist_Max
#define _CV_RGB_THRESH_SCALE   1

Typedef Documentation

typedef struct _CvListNode _CvListNode
typedef struct _CvPyramid _CvPyramid
typedef struct _CvPyramidC3 _CvPyramidC3
typedef struct _CvRect16u _CvRect16u
typedef struct _CvRGBf _CvRGBf

Function Documentation

CV_IMPL void cvPyrSegmentation ( IplImage src,
IplImage dst,
CvMemStorage storage,
CvSeq **  comp,
int  level,
double  threshold1,
double  threshold2 
)
CV_INLINE float icvRGBDist_Max ( const _CvRGBf a,
const _CvRGBf b 
)
CV_INLINE float icvRGBDist_Sum ( const _CvRGBf a,
const _CvRGBf b 
)