|
static std::vector< cv::Point2f > | photon::OpenCVHelp::GetConvexHull (const std::vector< cv::Point2f > &points) |
|
static cv::RotatedRect | photon::OpenCVHelp::GetMinAreaRect (const std::vector< cv::Point2f > &points) |
|
static frc::Translation3d | photon::OpenCVHelp::TranslationNWUtoEDN (const frc::Translation3d &trl) |
|
static frc::Rotation3d | photon::OpenCVHelp::RotationNWUtoEDN (const frc::Rotation3d &rot) |
|
static std::vector< cv::Point3f > | photon::OpenCVHelp::TranslationToTVec (const std::vector< frc::Translation3d > &translations) |
|
static std::vector< cv::Point3f > | photon::OpenCVHelp::RotationToRVec (const frc::Rotation3d &rotation) |
|
static cv::Point2f | photon::OpenCVHelp::AvgPoint (std::vector< cv::Point2f > points) |
|
static std::vector< photon::TargetCorner > | photon::OpenCVHelp::PointsToTargetCorners (const std::vector< cv::Point2f > &points) |
|
static std::vector< std::pair< float, float > > | photon::OpenCVHelp::PointsToCorners (const std::vector< cv::Point2f > &points) |
|
static std::vector< cv::Point2f > | photon::OpenCVHelp::CornersToPoints (const std::vector< std::pair< float, float > > &corners) |
|
static std::vector< cv::Point2f > | photon::OpenCVHelp::CornersToPoints (const std::vector< photon::TargetCorner > &corners) |
|
static cv::Rect | photon::OpenCVHelp::GetBoundingRect (const std::vector< cv::Point2f > &points) |
|
static std::vector< cv::Point2f > | photon::OpenCVHelp::ProjectPoints (const Eigen::Matrix< double, 3, 3 > &cameraMatrix, const Eigen::Matrix< double, 8, 1 > &distCoeffs, const RotTrlTransform3d &camRt, const std::vector< frc::Translation3d > &objectTranslations) |
|
template<typename T > |
static std::vector< T > | photon::OpenCVHelp::ReorderCircular (const std::vector< T > elements, bool backwards, int shiftStart) |
|
static frc::Translation3d | photon::OpenCVHelp::TranslationEDNToNWU (const frc::Translation3d &trl) |
|
static frc::Rotation3d | photon::OpenCVHelp::RotationEDNToNWU (const frc::Rotation3d &rot) |
|
static frc::Translation3d | photon::OpenCVHelp::TVecToTranslation (const cv::Mat &tvecInput) |
|
static frc::Rotation3d | photon::OpenCVHelp::RVecToRotation (const cv::Mat &rvecInput) |
|
static std::optional< photon::PnpResult > | photon::OpenCVHelp::SolvePNP_Square (const Eigen::Matrix< double, 3, 3 > &cameraMatrix, const Eigen::Matrix< double, 8, 1 > &distCoeffs, std::vector< frc::Translation3d > modelTrls, std::vector< cv::Point2f > imagePoints) |
|
static std::optional< photon::PnpResult > | photon::OpenCVHelp::SolvePNP_SQPNP (const Eigen::Matrix< double, 3, 3 > &cameraMatrix, const Eigen::Matrix< double, 8, 1 > &distCoeffs, std::vector< frc::Translation3d > modelTrls, std::vector< cv::Point2f > imagePoints) |
|