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>
|
| 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 Target2D3D & | target () const override |
| Returns the definition of the target used by the finder.
|
|
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)
|
|
◆ 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 |