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

Classes

struct  _CvContourInfo
 
struct  _CvContourScanner
 
struct  CvLinkedRunPoint
 

Macros

#define CV_INIT_3X3_DELTAS(deltas, step, nch)
 
#define _CV_FIND_CONTOURS_FLAGS_EXTERNAL_ONLY   1
 
#define _CV_FIND_CONTOURS_FLAGS_HIERARCHIC   2
 
#define ICV_SINGLE   0
 
#define ICV_CONNECTING_ABOVE   1
 
#define ICV_CONNECTING_BELOW   -1
 
#define ICV_IS_COMPONENT_POINT(val)   ((val) != 0)
 
#define CV_GET_WRITTEN_ELEM(writer)   ((writer).ptr - (writer).seq->elem_size)
 

Typedefs

typedef struct _CvContourInfo _CvContourInfo
 
typedef struct _CvContourScanner _CvContourScanner
 
typedef struct CvLinkedRunPoint CvLinkedRunPoint
 

Functions

CV_IMPL void cvStartReadChainPoints (CvChain *chain, CvChainPtReader *reader)
 
CV_IMPL CvPoint cvReadChainPoint (CvChainPtReader *reader)
 
CV_IMPL CvContourScanner cvStartFindContours (void *_img, CvMemStorage *storage, int header_size, int mode, int method, CvPoint offset)
 
CV_IMPL void cvSubstituteContour (CvContourScanner scanner, CvSeq *new_contour)
 
CvSeqcvFindNextContour (CvContourScanner scanner)
 
CV_IMPL CvSeqcvEndFindContours (CvContourScanner *_scanner)
 
CV_IMPL int cvFindContours (void *img, CvMemStorage *storage, CvSeq **firstContour, int cntHeaderSize, int mode, int method, CvPoint offset)
 

Macro Definition Documentation

#define _CV_FIND_CONTOURS_FLAGS_EXTERNAL_ONLY   1
#define _CV_FIND_CONTOURS_FLAGS_HIERARCHIC   2
#define CV_GET_WRITTEN_ELEM (   writer)    ((writer).ptr - (writer).seq->elem_size)
#define CV_INIT_3X3_DELTAS (   deltas,
  step,
  nch 
)
Value:
((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \
(deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \
(deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \
(deltas)[6] = (step), (deltas)[7] = (step) + (nch))
#define ICV_CONNECTING_ABOVE   1
#define ICV_CONNECTING_BELOW   -1
#define ICV_IS_COMPONENT_POINT (   val)    ((val) != 0)
#define ICV_SINGLE   0

Typedef Documentation

Function Documentation

CV_IMPL CvSeq* cvEndFindContours ( CvContourScanner _scanner)
CV_IMPL int cvFindContours ( void *  img,
CvMemStorage storage,
CvSeq **  firstContour,
int  cntHeaderSize,
int  mode,
int  method,
CvPoint  offset 
)
CvSeq* cvFindNextContour ( CvContourScanner  scanner)
CV_IMPL CvPoint cvReadChainPoint ( CvChainPtReader reader)
CV_IMPL CvContourScanner cvStartFindContours ( void *  _img,
CvMemStorage storage,
int  header_size,
int  mode,
int  method,
CvPoint  offset 
)
CV_IMPL void cvStartReadChainPoints ( CvChain chain,
CvChainPtReader reader 
)
CV_IMPL void cvSubstituteContour ( CvContourScanner  scanner,
CvSeq new_contour 
)