|
static std::vector< cv::Point2f > | GetConvexHull (const std::vector< cv::Point2f > &points) |
|
static cv::RotatedRect | GetMinAreaRect (const std::vector< cv::Point2f > &points) |
|
static frc::Translation3d | TranslationNWUtoEDN (const frc::Translation3d &trl) |
|
static frc::Rotation3d | RotationNWUtoEDN (const frc::Rotation3d &rot) |
|
static std::vector< cv::Point3f > | TranslationToTVec (const std::vector< frc::Translation3d > &translations) |
|
static std::vector< cv::Point3f > | RotationToRVec (const frc::Rotation3d &rotation) |
|
static cv::Point2f | AvgPoint (std::vector< cv::Point2f > points) |
|
static std::vector< photon::TargetCorner > | PointsToTargetCorners (const std::vector< cv::Point2f > &points) |
|
static std::vector< std::pair< float, float > > | PointsToCorners (const std::vector< cv::Point2f > &points) |
|
static std::vector< cv::Point2f > | CornersToPoints (const std::vector< std::pair< float, float > > &corners) |
|
static std::vector< cv::Point2f > | CornersToPoints (const std::vector< photon::TargetCorner > &corners) |
|
static cv::Rect | GetBoundingRect (const std::vector< cv::Point2f > &points) |
|
static std::vector< cv::Point2f > | 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 > | ReorderCircular (const std::vector< T > elements, bool backwards, int shiftStart) |
|
static frc::Translation3d | TranslationEDNToNWU (const frc::Translation3d &trl) |
|
static frc::Rotation3d | RotationEDNToNWU (const frc::Rotation3d &rot) |
|
static frc::Translation3d | TVecToTranslation (const cv::Mat &tvecInput) |
|
static frc::Rotation3d | RVecToRotation (const cv::Mat &rvecInput) |
|
static std::optional< photon::PnpResult > | 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 > | 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) |
|