Industrial Calibration  1.0.0
Loading...
Searching...
No Matches
industrial_calibration::CharucoGridBoardTargetFinder Class Reference

This class finds 2D features from images of a specified ChArUco gridboard target. The main advantage of this kind of target is that partial views still provide usable correspondences.

#include <charuco_grid_target_finder.h>

Inheritance diagram for industrial_calibration::CharucoGridBoardTargetFinder:

Public Member Functions

 CharucoGridBoardTargetFinder (const CharucoGridTarget &target)
 
virtual TargetFeatures2D findTargetFeatures (const cv::Mat &image) const override
 Detects chessboard intersection coordinates in the provided image.
 
virtual cv::Mat drawTargetFeatures (const cv::Mat &image, const TargetFeatures2D &target_features) const override
 A debugging utility that will draw target features set onto an input image for display purposes.
 
virtual const Target2D3Dtarget () const override
 Returns the definition of the target used by the finder.
 
- Public Member Functions inherited from industrial_calibration::TargetFinder< SENSOR_DIM, WORLD_DIM, SensorDataT >
virtual TargetFeatures< SENSOR_DIM > findTargetFeatures (const SensorDataT &measurement) const =0
 Finds the features of the target in a sensor data measurement (e.g., 2D image)
 
virtual SensorDataT drawTargetFeatures (const SensorDataT &sensor_data, const TargetFeatures< SENSOR_DIM > &target_features) const
 Draws the target features on an input sensor data measurement (e.g., a 2D image)
 
Correspondence< SENSOR_DIM, WORLD_DIM >::Set findCorrespondences (const SensorDataT &measurement) const
 Finds correspondences from a sensor data measurement (e.g., 2D image)
 
Correspondence< SENSOR_DIM, WORLD_DIM >::Set findCorrespondences (const std::vector< SensorDataT > &measurements) const
 Finds correspondences from a set of sensor data measurements (e.g., 2D images)
 

Protected Attributes

const CharucoGridTarget target_
 

Additional Inherited Members

- Public Types inherited from industrial_calibration::TargetFinder< SENSOR_DIM, WORLD_DIM, SensorDataT >
using Ptr = std::shared_ptr< TargetFinder >
 
using ConstPtr = std::shared_ptr< const TargetFinder >
 

Member Function Documentation

◆ findTargetFeatures()

TargetFeatures2D industrial_calibration::CharucoGridBoardTargetFinder::findTargetFeatures ( const cv::Mat &  image) const
overridevirtual
Parameters
image- Input image, ideally containing a ChArUco grid target.
Returns
Map matching marker ID numbers to the 2D position of the chessboard intersections

◆ drawTargetFeatures()

cv::Mat industrial_calibration::CharucoGridBoardTargetFinder::drawTargetFeatures ( const cv::Mat &  image,
const TargetFeatures2D target_features 
) const
overridevirtual
Parameters
image- Input image, ideally containing a ChArUco grid target
target_features- Chessboard intersections (obtained by calling findTargetFeatures)
Returns
An image with the chessboard intersections and IDs overlaid on the input image

◆ target()

virtual const Target2D3D & industrial_calibration::CharucoGridBoardTargetFinder::target ( ) const
inlineoverridevirtual