OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

キャリブレーションに使用できる「ランダム」パターンの特徴点と、それに対応するワールド座標系の3D点を見つけるためのクラス。パターンが部分的に隠れている場合や、複数カメラのキャリブレーションでパターンの一部しか観測できない場合に有用である。パターンはこのファイルで説明されている RandomPatternGenerator クラスで生成できる。 詳細...

#include <opencv2/ccalib/randpattern.hpp>

Collaboration diagram for cv::randpattern::RandomPatternCornerFinder:

公開メンバ関数

 RandomPatternCornerFinder (float patternWidth, float patternHeight, int nminiMatch=20, int depth=CV_32F, int verbose=0, int showExtraction=0, Ptr< FeatureDetector > detector=xfeatures2d::AKAZE::create(xfeatures2d::AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f), Ptr< DescriptorExtractor > descriptor=xfeatures2d::AKAZE::create(xfeatures2d::AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f), Ptr< DescriptorMatcher > matcher=DescriptorMatcher::create("BruteForce-L1"))
 
void computeObjectImagePoints (std::vector< cv::Mat > inputImages)
 
std::vector< cv::MatcomputeObjectImagePointsForSingle (cv::Mat inputImage)
 
const std::vector< cv::Mat > & getImagePoints ()
 
const std::vector< cv::Mat > & getObjectPoints ()
 
void loadPattern (const cv::Mat &patternImage)
 
void loadPattern (const cv::Mat &patternImage, const std::vector< cv::KeyPoint > &patternKeyPoints, const cv::Mat &patternDescriptors)
 

詳細説明

キャリブレーションに使用できる「ランダム」パターンの特徴点と、それに対応するワールド座標系の3D点を見つけるためのクラス。パターンが部分的に隠れている場合や、複数カメラのキャリブレーションでパターンの一部しか観測できない場合に有用である。パターンはこのファイルで説明されている RandomPatternGenerator クラスで生成できる。

論文 B. Li, L. Heng, K. Kevin and M. Pollefeys, "A Multiple-Camera System Calibration Toolbox Using A Feature Descriptor-Based Calibration Pattern", in IROS 2013 を参照のこと。

構築子と解体子の詳解

◆ RandomPatternCornerFinder()

cv::randpattern::RandomPatternCornerFinder::RandomPatternCornerFinder ( float patternWidth,
float patternHeight,
int nminiMatch = 20,
int depth = CV_32F,
int verbose = 0,
int showExtraction = 0,
Ptr< FeatureDetector > detector = xfeatures2d::AKAZE::create(xfeatures2d::AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f),
Ptr< DescriptorExtractor > descriptor = xfeatures2d::AKAZE::create(xfeatures2d::AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f),
Ptr< DescriptorMatcher > matcher = DescriptorMatcher::create("BruteForce-L1") )

メンバ関数詳解

◆ computeObjectImagePoints()

void cv::randpattern::RandomPatternCornerFinder::computeObjectImagePoints ( std::vector< cv::Mat > inputImages)

◆ computeObjectImagePointsForSingle()

std::vector< cv::Mat > cv::randpattern::RandomPatternCornerFinder::computeObjectImagePointsForSingle ( cv::Mat inputImage)

◆ getImagePoints()

const std::vector< cv::Mat > & cv::randpattern::RandomPatternCornerFinder::getImagePoints ( )

◆ getObjectPoints()

const std::vector< cv::Mat > & cv::randpattern::RandomPatternCornerFinder::getObjectPoints ( )

◆ loadPattern() [1/2]

void cv::randpattern::RandomPatternCornerFinder::loadPattern ( const cv::Mat & patternImage)

◆ loadPattern() [2/2]

void cv::randpattern::RandomPatternCornerFinder::loadPattern ( const cv::Mat & patternImage,
const std::vector< cv::KeyPoint > & patternKeyPoints,
const cv::Mat & patternDescriptors )

このクラス詳解は次のファイルから抽出されました: