🤖
AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は
公式英語版(原文) を参照してください。
#include <opencv2/line_descriptor/descriptor.hpp>
|
| | LSDDetector () |
| |
| | LSDDetector (LSDParam _params) |
| |
| void | detect (const Mat &image, std::vector< KeyLine > &keypoints, int scale, int numOctaves, const Mat &mask=Mat()) |
| | 画像内の線分を検出する。
|
| |
| void | detect (const std::vector< Mat > &images, std::vector< std::vector< KeyLine > > &keylines, int scale, int numOctaves, const std::vector< Mat > &masks=std::vector< Mat >()) const |
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | アルゴリズムの状態をクリアする。
|
| |
| virtual bool | empty () const |
| | Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | ファイルストレージからアルゴリズムの引数を読み込む。
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| virtual void | write (FileStorage &fs) const |
| | アルゴリズムの引数をファイルストレージに保存する。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
◆ LSDDetector() [1/2]
| cv::line_descriptor::LSDDetector::LSDDetector |
( |
| ) |
|
|
inline |
| Python: |
|---|
| cv.line_descriptor.LSDDetector( | _params | ) -> | <line_descriptor_LSDDetector object> |
◆ LSDDetector() [2/2]
| cv::line_descriptor::LSDDetector::LSDDetector |
( |
LSDParam | _params | ) |
|
|
inline |
| Python: |
|---|
| cv.line_descriptor.LSDDetector( | _params | ) -> | <line_descriptor_LSDDetector object> |
◆ createLSDDetector() [1/2]
| static Ptr< LSDDetector > cv::line_descriptor::LSDDetector::createLSDDetector |
( |
| ) |
|
|
static |
| Python: |
|---|
| cv.line_descriptor.LSDDetector.createLSDDetector( | | ) -> | retval |
| cv.line_descriptor.LSDDetector.createLSDDetectorWithParams( | params | ) -> | retval |
| cv.line_descriptor.LSDDetector_createLSDDetector( | | ) -> | retval |
| cv.line_descriptor.LSDDetector_createLSDDetectorWithParams( | params | ) -> | retval |
◆ createLSDDetector() [2/2]
| Python: |
|---|
| cv.line_descriptor.LSDDetector.createLSDDetector( | | ) -> | retval |
| cv.line_descriptor.LSDDetector.createLSDDetectorWithParams( | params | ) -> | retval |
| cv.line_descriptor.LSDDetector_createLSDDetector( | | ) -> | retval |
| cv.line_descriptor.LSDDetector_createLSDDetectorWithParams( | params | ) -> | retval |
◆ detect() [1/2]
| void cv::line_descriptor::LSDDetector::detect |
( |
const Mat & | image, |
|
|
std::vector< KeyLine > & | keypoints, |
|
|
int | scale, |
|
|
int | numOctaves, |
|
|
const Mat & | mask = Mat() ) |
| Python: |
|---|
| cv.line_descriptor.LSDDetector.detect( | image, scale, numOctaves[, mask] | ) -> | keypoints |
| cv.line_descriptor.LSDDetector.detect( | images, keylines, scale, numOctaves[, masks] | ) -> | None |
画像内の線分を検出する。
- 引数
-
| image | 入力画像 |
| keypoints | 1枚以上の画像から抽出された線分を格納するベクトル |
| scale | ピラミッド生成に用いるスケール係数 |
| numOctaves | ピラミッド内のオクターブ数 |
| mask | 対象とするKeyLineのみを検出するためのマスク行列 |
◆ detect() [2/2]
| void cv::line_descriptor::LSDDetector::detect |
( |
const std::vector< Mat > & | images, |
|
|
std::vector< std::vector< KeyLine > > & | keylines, |
|
|
int | scale, |
|
|
int | numOctaves, |
|
|
const std::vector< Mat > & | masks = std::vector< Mat >() ) const |
| Python: |
|---|
| cv.line_descriptor.LSDDetector.detect( | image, scale, numOctaves[, mask] | ) -> | keypoints |
| cv.line_descriptor.LSDDetector.detect( | images, keylines, scale, numOctaves[, masks] | ) -> | None |
これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは、受け取る引数のみが異なる。
- 引数
-
| images | 入力画像 |
| keylines | 1枚以上の画像から抽出された線分を格納するベクトルの集合 |
| scale | ピラミッド生成に用いるスケール係数 |
| numOctaves | ピラミッド内のオクターブ数 |
| masks | 各入力画像から対象とするKeyLineのみを検出するためのマスク行列のベクトル |
このクラス詳解は次のファイルから抽出されました: