Labeling class that uses OpenCV routines to find connected components. More...
#include <ConnectedComponents.h>
Public Member Functions | |
CvSeq * | LabelImage (IplImage *image, int min_size, bool approx=false) |
LabelingCvSeq () | |
void | LabelSquares (IplImage *image, bool visualize=false) |
Labels image and filters blobs to obtain square-shaped objects from the scene. | |
void | SetOptions (bool _detect_pose_grayscale=false) |
~LabelingCvSeq () | |
Protected Attributes | |
int | _min_area |
int | _min_edge |
int | _n_blobs |
bool | detect_pose_grayscale |
CvMemStorage * | storage |
Labeling class that uses OpenCV routines to find connected components.
Definition at line 112 of file ConnectedComponents.h.
Definition at line 61 of file ConnectedComponents.cpp.
Definition at line 67 of file ConnectedComponents.cpp.
CvSeq * alvar::LabelingCvSeq::LabelImage | ( | IplImage * | image, |
int | min_size, | ||
bool | approx = false |
||
) |
Definition at line 239 of file ConnectedComponents.cpp.
void alvar::LabelingCvSeq::LabelSquares | ( | IplImage * | image, |
bool | visualize = false |
||
) | [virtual] |
Labels image and filters blobs to obtain square-shaped objects from the scene.
Implements alvar::Labeling.
Definition at line 77 of file ConnectedComponents.cpp.
void alvar::LabelingCvSeq::SetOptions | ( | bool | _detect_pose_grayscale = false | ) |
Definition at line 73 of file ConnectedComponents.cpp.
int alvar::LabelingCvSeq::_min_area [protected] |
Definition at line 119 of file ConnectedComponents.h.
int alvar::LabelingCvSeq::_min_edge [protected] |
Definition at line 118 of file ConnectedComponents.h.
int alvar::LabelingCvSeq::_n_blobs [protected] |
Definition at line 117 of file ConnectedComponents.h.
bool alvar::LabelingCvSeq::detect_pose_grayscale [protected] |
Definition at line 120 of file ConnectedComponents.h.
CvMemStorage* alvar::LabelingCvSeq::storage [protected] |
Definition at line 122 of file ConnectedComponents.h.