Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
|
A result returned by the detectFeaturePoints(...) call More...
#include <Zivid/Calibration/DetectionResult.h>
Public Member Functions | |
ZIVID_CORE_EXPORT bool | valid () const |
Test if DetectionResult is valid. More... | |
ZIVID_CORE_EXPORT | operator bool () const |
Test if DetectionResult is valid. More... | |
ZIVID_CORE_EXPORT PointXYZ | centroid () const |
Get the centroid of the detected feature points in camera-space. More... | |
ZIVID_CORE_EXPORT Pose | pose () const |
Get position and orientation of the top left detected corner in camera coordinate system. More... | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation of DetectionResult More... | |
A result returned by the detectFeaturePoints(...) call
ZIVID_CORE_EXPORT PointXYZ Zivid::Calibration::DetectionResult::centroid | ( | ) | const |
Get the centroid of the detected feature points in camera-space.
If valid() is false, an exception will be thrown.
|
explicit |
Test if DetectionResult is valid.
DetectionResult is valid if all the feature points were detected.
ZIVID_CORE_EXPORT Pose Zivid::Calibration::DetectionResult::pose | ( | ) | const |
Get position and orientation of the top left detected corner in camera coordinate system.
This is the top left inner corner as viewed from the board's coordinate system. For example, if the board is rotated 180 degrees, this will be the bottom right corner.
Pose calculation works for official Zivid calibration boards only. An exception will be thrown if valid() is false or if the board is not supported.
ZIVID_CORE_EXPORT std::string Zivid::Calibration::DetectionResult::toString | ( | ) | const |
Get string representation of DetectionResult
ZIVID_CORE_EXPORT bool Zivid::Calibration::DetectionResult::valid | ( | ) | const |
Test if DetectionResult is valid.
DetectionResult is valid if all the feature points were detected.