My Project
Public Member Functions | Protected Attributes | List of all members
LabelingCvSeq Class Reference

Labeling class that uses OpenCV routines to find connected components. More...

#include <ConnectedComponents.h>

Inheritance diagram for LabelingCvSeq:
Labeling

Public Member Functions

void SetOptions (bool _detect_pose_grayscale=false)
 
void LabelSquares (cv::Mat &image, bool visualize=false)
 Labels image and filters blobs to obtain square-shaped objects from the scene.
 
std::vector< std::vector< cv::Point > > LabelImage (cv::Mat &image, int min_size, bool approx=false)
 
- Public Member Functions inherited from Labeling
 Labeling ()
 
 ~Labeling ()
 
void SetCamera (Camera *camera)
 Sets the camera object that is used to correct lens distortions.
 
bool CheckBorder (const std::vector< cv::Point > &contour, int width, int height)
 
void SetThreshParams (int param1, int param2)
 

Protected Attributes

int _n_blobs
 
int _min_edge
 
int _min_area
 
bool detect_pose_grayscale
 
- Protected Attributes inherited from Labeling
Cameracam
 
int thresh_param1
 
int thresh_param2
 

Additional Inherited Members

- Public Types inherited from Labeling
enum  ThresholdMethod { THRESH , ADAPT }
 Two alternatives for thresholding the gray image. ADAPT (adaptive threshold) is only supported currently.
 
- Public Attributes inherited from Labeling
cv::Mat gray
 Pointer to grayscale image that is thresholded for labeling.
 
cv::Mat bw
 Pointer to binary image that is then labeled.
 
std::vector< std::vector< PointDouble > > blob_corners
 Vector of 4-length vectors where the corners of detected blobs are stored.
 

Detailed Description

Labeling class that uses OpenCV routines to find connected components.

Definition at line 107 of file ConnectedComponents.h.


The documentation for this class was generated from the following file: