🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.xfeatures2d
クラス BEBLID
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.xfeatures2d.BEBLID
public class BEBLID extends Feature2D
CITE: Suarez2020BEBLID で説明されている BEBLID (Boosted Efficient Binary Local Image Descriptor) を実装するクラス。BEBLID \cite Suarez2020BEBLID は、ブースティングによって学習された効率的なバイナリ記述子である。scale_factor 引数を変更するだけで、任意の検出器によるキーポイントを記述できる。いくつかのベンチマークにおいて、同等の効率性を保ちながら ORB や BRISK などの他のバイナリ記述子を大幅に上回ることが示されている。BEBLID は KeyPoint 周辺の画像のさまざまな領域における平均グレー値の差を用いて記述を行い、この記述子は画像マッチングとパッチ検索のために特化して最適化され、これらの問題の非対称性に対処する。このコードが役立つと感じた場合は、次の論文への参照を追加してほしい: <BLOCKQUOTE> Iago Suárez, Ghesn Sfeir, José M. Buenaposada, and Luis Baumela. BEBLID: Boosted efficient binary local image descriptor. Pattern Recognition Letters, 133:366–372, 2020. </BLOCKQUOTE> この記述子は、論文 CITE: Suarez2020BEBLID で説明されているように、UBC データセット \cite winder2007learning の Liberty 分割からランダムにサンプリングされた100万組のパッチ (20% が正例、80% が負例) を用いて学習された。BEBLID がどれほど良好に動作するかは [AKAZE example](https://raw.githubusercontent.com/opencv/opencv/master/samples/cpp/tutorial_code/features2D/AKAZE_match.cpp) で確認できる。ORB で10000個のキーポイントを検出し BEBLID で記述すると561個のインライア (75%) が得られるのに対し、ORB で記述すると493個のインライア (63%) しか得られない。
-
-
フィールドの要約
フィールド Modifier and Type Field Description static intSIZE_256_BITSstatic intSIZE_512_BITS
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedBEBLID​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static BEBLID__fromPtr__​(long addr)static BEBLIDcreate​(float scale_factor)Creates the BEBLID descriptor.static BEBLIDcreate​(float scale_factor, int n_bits)Creates the BEBLID descriptor.java.lang.StringgetDefaultName()Returns the algorithm string identifier.floatgetScaleFactor()voidsetScaleFactor​(float scale_factor)-
クラス org.opencv.features2d.Feature2D から継承されたメソッド
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static BEBLID __fromPtr__​(long addr)
-
create
public static BEBLID create​(float scale_factor, int n_bits)
Creates the BEBLID descriptor.- 引数:
scale_factor- Adjust the sampling window around detected keypoints:- <b> 1.00f </b> は ORB のキーポイントに対するスケールとすべき値である
- <b> 6.75f </b> は SIFT で検出されたキーポイントに対するスケールとすべき値である
- <b> 6.25f </b> はデフォルト値であり、KAZE、SURF で検出されたキーポイントに適合する
- <b> 5.00f </b> は AKAZE、MSD、AGAST、FAST、BRISK のキーポイントに対するスケールとすべき値である
n_bits- 記述子のビット数を決定する。BEBLID::SIZE_512_BITS または BEBLID::SIZE_256_BITS のいずれかとすべきである。- 戻り値:
- 自動生成
-
create
public static BEBLID create​(float scale_factor)
Creates the BEBLID descriptor.- 引数:
scale_factor- Adjust the sampling window around detected keypoints:- <b> 1.00f </b> は ORB のキーポイントに対するスケールとすべき値である
- <b> 6.75f </b> は SIFT で検出されたキーポイントに対するスケールとすべき値である
- <b> 6.25f </b> はデフォルト値であり、KAZE、SURF で検出されたキーポイントに適合する
- <b> 5.00f </b> は AKAZE、MSD、AGAST、FAST、BRISK のキーポイントに対するスケールとすべき値である
- 戻り値:
- 自動生成
-
setScaleFactor
public void setScaleFactor​(float scale_factor)
-
getScaleFactor
public float getScaleFactor()
-
getDefaultName
public java.lang.String getDefaultName()
Description copied from class:AlgorithmReturns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.- オーバーライド:
- クラス
Feature2D内のgetDefaultName - 戻り値:
- 自動生成
-
-