Visual Servoing Platform
version 3.6.1 under development (2025-01-26)
|
#include <visp3/core/vpConvert.h>
Static Public Member Functions | |
static void | convertFromOpenCV (const cv::KeyPoint &from, vpImagePoint &to) |
static void | convertFromOpenCV (const cv::Point2f &from, vpImagePoint &to) |
static void | convertFromOpenCV (const cv::Point2d &from, vpImagePoint &to) |
static void | convertFromOpenCV (const cv::Point3f &from, vpPoint &to, bool cameraFrame=false) |
static void | convertFromOpenCV (const cv::Point3d &from, vpPoint &to, bool cameraFrame=false) |
static void | convertFromOpenCV (const std::vector< cv::KeyPoint > &from, std::vector< vpImagePoint > &to) |
static void | convertFromOpenCV (const std::vector< cv::Point2f > &from, std::vector< vpImagePoint > &to) |
static void | convertFromOpenCV (const std::vector< cv::Point2d > &from, std::vector< vpImagePoint > &to) |
static void | convertFromOpenCV (const std::vector< cv::Point3f > &from, std::vector< vpPoint > &to, bool cameraFrame=false) |
static void | convertFromOpenCV (const std::vector< cv::Point3d > &from, std::vector< vpPoint > &to, bool cameraFrame=false) |
static void | convertFromOpenCV (const std::vector< cv::DMatch > &from, std::vector< unsigned int > &to) |
static void | convertToOpenCV (const vpImagePoint &from, cv::Point2f &to) |
static void | convertToOpenCV (const vpImagePoint &from, cv::Point2d &to) |
static void | convertToOpenCV (const vpPoint &from, cv::Point3f &to, bool cameraFrame=false) |
static void | convertToOpenCV (const vpPoint &from, cv::Point3d &to, bool cameraFrame=false) |
static void | convertToOpenCV (const std::vector< vpImagePoint > &from, std::vector< cv::Point2f > &to) |
static void | convertToOpenCV (const std::vector< vpImagePoint > &from, std::vector< cv::Point2d > &to) |
static void | convertToOpenCV (const std::vector< vpPoint > &from, std::vector< cv::Point3f > &to, bool cameraFrame=false) |
static void | convertToOpenCV (const std::vector< vpPoint > &from, std::vector< cv::Point3d > &to, bool cameraFrame=false) |
Bridges over other frameworks like OpenCV.
Definition at line 61 of file vpConvert.h.
|
static |
Convert a cv::KeyPoint to a vpImagePoint.
from | : cv::KeyPoint to convert. |
to | : vpImagePoint converted. |
Definition at line 228 of file vpConvert.cpp.
Referenced by vpKeyPoint::buildReference(), vpKeyPoint::getObjectPoints(), vpKeyPoint::getQueryKeyPoints(), vpKeyPoint::loadLearningData(), and vpKeyPoint::matchPoint().
|
static |
Convert a cv::Point2d to a vpImagePoint.
from | : cv::Point2d to convert. |
to | : vpImagePoint converted. |
Definition at line 242 of file vpConvert.cpp.
|
static |
Convert a cv::Point2f to a vpImagePoint.
from | : cv::Point2f to convert. |
to | : vpImagePoint converted. |
Definition at line 235 of file vpConvert.cpp.
|
static |
Convert a cv::Point3d to a vpPoint.
from | : cv::Point3d to convert. |
to | : vpPoint converted. |
cameraFrame | : If true, convert into the camera frame, otherwise in the object frame. |
Definition at line 268 of file vpConvert.cpp.
|
static |
Convert a cv::Point3f to a vpPoint.
from | : cv::Point3f to convert. |
to | : vpPoint converted. |
cameraFrame | : If true, convert into the camera frame, otherwise in the object frame. |
Definition at line 251 of file vpConvert.cpp.
|
static |
Convert a vector of cv::DMatch to a vector of unsigned int (for a query index 0, to[0] ==> train index).
from | : Vector of cv::DMatch to convert. |
to | : Vector of unsigned int converted. |
Definition at line 357 of file vpConvert.cpp.
|
static |
Convert a vector of cv::KeyPoint to a vector of vpImagePoint.
from | : Vector of cv::KeyPoint to convert. |
to | : Vector of vpImagePoint converted. |
Definition at line 283 of file vpConvert.cpp.
|
static |
Convert a vector of cv::Point2d to a vector of vpImagePoint.
from | : Vector of cv::Point2d to convert. |
to | : Vector of vpImagePoint converted. |
Definition at line 305 of file vpConvert.cpp.
|
static |
Convert a vector of cv::Point2f to a vector of vpImagePoint.
from | : Vector of cv::Point2f to convert. |
to | : Vector of vpImagePoint converted. |
Definition at line 294 of file vpConvert.cpp.
|
static |
Convert a vector of cv::Point3d to a vector of vpPoint.
from | : Vector of cv::Point3d to convert. |
to | : Vector of vpPoint converted. |
cameraFrame | : If true, convert into the camera frame, otherwise in the object frame. |
Definition at line 336 of file vpConvert.cpp.
|
static |
Convert a vector of cv::Point3f to a vector of vpPoint.
from | : Vector of cv::Point3f to convert. |
to | : Vector of vpPoint converted. |
cameraFrame | : If true, convert into the camera frame, otherwise in the object frame. |
Definition at line 318 of file vpConvert.cpp.
|
static |
Convert a vector of vpImagePoint to a vector of cv::Point2d.
from | : Vector of vpImagePoint to convert. |
to | : Vector of cv::Point2d converted. |
Definition at line 427 of file vpConvert.cpp.
|
static |
Convert a vector of vpImagePoint to a vector of cv::Point2f.
from | : Vector of vpImagePoint to convert. |
to | : Vector of cv::Point2f converted. |
Definition at line 416 of file vpConvert.cpp.
|
static |
Convert a vector of vpPoint to a vector of cv::Point3d.
from | : Vector of vpPoint to convert. |
to | : Vector of cv::Point3d converted. |
cameraFrame | : If true, the camera frame is considered, otherwise the object frame. |
Definition at line 458 of file vpConvert.cpp.
|
static |
Convert a vector of vpPoint to a vector of cv::Point3f.
from | : Vector of vpPoint to convert. |
to | : Vector of cv::Point3f converted. |
cameraFrame | : If true, the camera frame is considered, otherwise the object frame. |
Definition at line 440 of file vpConvert.cpp.
|
static |
Convert a vpImagePoint to a cv::Point2d.
from | : vpImagePoint to convert. |
to | : cv::Point2d converted. |
Definition at line 375 of file vpConvert.cpp.
|
static |
Convert a vpImagePoint to a cv::Point2f.
from | : vpImagePoint to convert. |
to | : cv::Point2f converted. |
Definition at line 368 of file vpConvert.cpp.
|
static |
Convert a vpPoint to a cv::Point3d.
from | : vpPoint to convert. |
to | : cv::Point3d converted. |
cameraFrame | : If true, convert from coordinates in the camera frame, otherwise in the object frame. |
Definition at line 401 of file vpConvert.cpp.
|
static |
Convert a vpPoint to a cv::Point3f.
from | : vpPoint to convert. |
to | : cv::Point3f converted. |
cameraFrame | : If true, convert from coordinates in the camera frame, otherwise in the object frame. |
Definition at line 384 of file vpConvert.cpp.