やること
①予備マップ作成
- 90度回転、マップ作成
- 画像合成 マスク処理
- テンプレートマッチング
- 内側をマスク
②コーナー検出
- コーナー検出 3点以上
- 矩形作成
- 内側をマスク
その他
スムージング画像処理 — OpenCV-CookBook
コーナー検出 Matで
以下メモ
circle
void circle(Mat& img, Point center, int radius, const Scalar& color, int thickness=1, int lineType=8, int shift=0)
goodFeaturesToTrack
void goodFeaturesToTrack(const Mat& image, vector<Point2f>& corners, int maxCorners, double qualityLevel, double minDistance, const Mat& mask=Mat(), int blockSize=3, bool useHarrisDetector=false, double k=0.04)