Labeling class that uses OpenCV routines to find connected components.
More...
#include <ConnectedComponents.h>
|
enum | ThresholdMethod { THRESH,
ADAPT
} |
| Two alternatives for thresholding the gray image. ADAPT (adaptive threshold) is only supported currently. More...
|
|
std::vector< std::vector< PointDouble > > | blob_corners |
| Vector of 4-length vectors where the corners of detected blobs are stored. More...
|
|
IplImage * | bw |
| Pointer to binary image that is then labeled. More...
|
|
IplImage * | gray |
| Pointer to grayscale image that is thresholded for labeling. More...
|
|
Labeling class that uses OpenCV routines to find connected components.
- Examples:
- SampleLabeling.cpp.
Definition at line 112 of file ConnectedComponents.h.
alvar::LabelingCvSeq::LabelingCvSeq |
( |
| ) |
|
alvar::LabelingCvSeq::~LabelingCvSeq |
( |
| ) |
|
CvSeq * alvar::LabelingCvSeq::LabelImage |
( |
IplImage * |
image, |
|
|
int |
min_size, |
|
|
bool |
approx = false |
|
) |
| |
void alvar::LabelingCvSeq::LabelSquares |
( |
IplImage * |
image, |
|
|
bool |
visualize = false |
|
) |
| |
|
virtual |
void alvar::LabelingCvSeq::SetOptions |
( |
bool |
_detect_pose_grayscale = false | ) |
|
int alvar::LabelingCvSeq::_min_area |
|
protected |
int alvar::LabelingCvSeq::_min_edge |
|
protected |
int alvar::LabelingCvSeq::_n_blobs |
|
protected |
bool alvar::LabelingCvSeq::detect_pose_grayscale |
|
protected |
CvMemStorage* alvar::LabelingCvSeq::storage |
|
protected |
The documentation for this class was generated from the following files: