NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
marker_tracking::LabelingCvSeq Class Reference

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

#include <labelling_method.h>

Inheritance diagram for marker_tracking::LabelingCvSeq:
Inheritance graph

Public Member Functions

 LabelingCvSeq (camera::CameraParameters const &cam)
 
virtual ~LabelingCvSeq ()
 
void LabelSquares (std::shared_ptr< cv::Mat > image)
 Labels image and filters blobs to obtain square-shaped objects from the scene. More...
 
- Public Member Functions inherited from marker_tracking::Labeling
 Labeling (camera::CameraParameters const &cam)
 
virtual ~Labeling ()
 
bool CheckBorder (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_
 
- Protected Attributes inherited from marker_tracking::Labeling
std::shared_ptr< cv::Mat > bw_
 Pointer to binary image that is then labeled. More...
 
camera::CameraParameters cam_
 
int thresh_param1_
 
int thresh_param2_
 

Additional Inherited Members

- Public Attributes inherited from marker_tracking::Labeling
std::vector< std::vector< alvar::PointDouble > > blob_corners
 Vector of 4-length vectors where the corners of detected blobs are stored. More...
 
 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 

Detailed Description

Labeling class that uses OpenCV routines to find connected components.

Constructor & Destructor Documentation

◆ LabelingCvSeq()

marker_tracking::LabelingCvSeq::LabelingCvSeq ( camera::CameraParameters const &  cam)
explicit

◆ ~LabelingCvSeq()

marker_tracking::LabelingCvSeq::~LabelingCvSeq ( )
virtual

Member Function Documentation

◆ LabelSquares()

void marker_tracking::LabelingCvSeq::LabelSquares ( std::shared_ptr< cv::Mat >  image)
virtual

Labels image and filters blobs to obtain square-shaped objects from the scene.

Implements marker_tracking::Labeling.

Member Data Documentation

◆ min_area_

int marker_tracking::LabelingCvSeq::min_area_
protected

◆ min_edge_

int marker_tracking::LabelingCvSeq::min_edge_
protected

◆ n_blobs_

int marker_tracking::LabelingCvSeq::n_blobs_
protected

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