🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.xfeatures2d
クラス LATCH
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.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は、3つの画像パッチの組に対する学習済みの比較に基づくバイナリ記述子である。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の場合、元画像は平滑化せずに使用される。注意: この記述子は任意のキーポイント抽出器と組み合わせることができる。唯一の要件は、rotationInvariance = Trueを設定する場合、パッチの向き(度単位)を推定する抽出器を使用しなければならないことである。そのような抽出器の例としてはORBやSIFTがある。注意: 完全なサンプルは /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.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 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 - 戻り値:
- 自動生成
-
-