🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.xfeatures2d
クラス LATCH
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features.Feature2D
-
- org.opencv.xfeatures2d.LATCH
public class LATCH extends Feature2D
latch LATCH 記述子を計算するためのクラス。このコードが役立った場合は、作品に次の論文への参照を追加してほしい: Gil Levi and Tal Hassner, "LATCH: Learned Arrangements of Three Patch Codes", arXiv preprint arXiv:1501.03719, 15 Jan. 2015。LATCH は、画像パッチのトリプレットの学習された比較に基づくバイナリ記述子である。bytes は記述子のサイズで、64, 32, 16, 8, 4, 2, 1 のいずれかをとれる。rotationInvariance は記述子が方向の変化を補償すべきかどうか。half_ssd_size はミニパッチサイズの半分のサイズ。たとえば 7x7 のサイズのパッチのトリプレットを比較したい場合、half_ssd_size は (7-1)/2 = 3 とすべきである。sigma は元画像の GaussianBlur 平滑化のための sigma 値。sigma 値が 0 の場合、元画像は平滑化されずに使用される。Note: この記述子は任意のキーポイント抽出器と組み合わせることができる。唯一の要件は、rotationInvariance = True を設定する場合、パッチの方向 (度単位) を推定する抽出器を使用しなければならないことである。そのような抽出器の例としては ORB や SIFT がある。Note: 完全な例は /samples/cpp/tutorial_code/xfeatures2D/latch_match.cpp にある。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedLATCH​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static LATCH__fromPtr__​(long addr)static LATCHcreate()static LATCHcreate​(int bytes)static LATCHcreate​(int bytes, boolean rotationInvariance)static LATCHcreate​(int bytes, boolean rotationInvariance, int half_ssd_size)static LATCHcreate​(int bytes, boolean rotationInvariance, int half_ssd_size, double sigma)intgetBytes()java.lang.StringgetDefaultName()Returns the algorithm string identifier.intgetHalfSSDsize()booleangetRotationInvariance()doublegetSigma()voidsetBytes​(int bytes)voidsetHalfSSDsize​(int half_ssd_size)voidsetRotationInvariance​(boolean rotationInvariance)voidsetSigma​(double sigma)-
クラス org.opencv.features.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 LATCH __fromPtr__​(long addr)
-
create
public static LATCH create​(int bytes, boolean rotationInvariance, int half_ssd_size, double sigma)
-
create
public static LATCH create​(int bytes, boolean rotationInvariance, int half_ssd_size)
-
create
public static LATCH create​(int bytes, boolean rotationInvariance)
-
create
public static LATCH create​(int bytes)
-
create
public static LATCH create()
-
setBytes
public void setBytes​(int bytes)
-
getBytes
public int getBytes()
-
setRotationInvariance
public void setRotationInvariance​(boolean rotationInvariance)
-
getRotationInvariance
public boolean getRotationInvariance()
-
setHalfSSDsize
public void setHalfSSDsize​(int half_ssd_size)
-
getHalfSSDsize
public int getHalfSSDsize()
-
setSigma
public void setSigma​(double sigma)
-
getSigma
public double getSigma()
-
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 - 戻り値:
- 自動生成
-
-