🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.xfeatures2d
クラス VGG
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features.Feature2D
-
- org.opencv.xfeatures2d.VGG
public class VGG extends Feature2D
VGG (Oxford Visual Geometry Group) 記述子を実装するクラスで、CITE: Simonyan14 で説明されている "Descriptor Learning Using Convex Optimisation" (DLCO) の枠組みを用いてエンドツーエンドで学習されている。desc は使用する記述子の型で、VGG::VGG_120 がデフォルト (120 次元 float)。利用可能な型は VGG::VGG_120, VGG::VGG_80, VGG::VGG_64, VGG::VGG_48。isigma は画像平滑化のためのガウシアンカーネル値 (デフォルトは 1.4f)。img_normalize は画像サンプルの輝度正規化を使用する (デフォルトで有効)。use_orientation はキーポイントの方向を用いてパターンをサンプリングするかどうかで、デフォルトで有効。scale_factor は検出されたキーポイントのサンプリングウィンドウを 64.0f (VGG のサンプリングウィンドウ) に調整する。6.25f がデフォルトで、KAZE, SURF で検出されたキーポイントのウィンドウ比に適合する。6.75f は SIFT で検出されたキーポイントのウィンドウ比に対するスケール。5.00f は AKAZE, MSD, AGAST, FAST, BRISK のキーポイントのウィンドウ比に対するスケール。0.75f は ORB のキーポイント比に対するスケール。dsc_normalize は記述子を 255 にクランプして uchar CV_8UC1 に変換する (デフォルトで無効)。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedVGG​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static VGG__fromPtr__​(long addr)static VGGcreate()static VGGcreate​(int desc)static VGGcreate​(int desc, float isigma)static VGGcreate​(int desc, float isigma, boolean img_normalize)static VGGcreate​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation)static VGGcreate​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor)static VGGcreate​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor, boolean dsc_normalize)java.lang.StringgetDefaultName()Returns the algorithm string identifier.floatgetScaleFactor()floatgetSigma()booleangetUseNormalizeDescriptor()booleangetUseNormalizeImage()booleangetUseScaleOrientation()voidsetScaleFactor​(float scale_factor)voidsetSigma​(float isigma)voidsetUseNormalizeDescriptor​(boolean dsc_normalize)voidsetUseNormalizeImage​(boolean img_normalize)voidsetUseScaleOrientation​(boolean use_scale_orientation)-
クラス 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 VGG __fromPtr__​(long addr)
-
create
public static VGG create​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor, boolean dsc_normalize)
-
create
public static VGG create​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor)
-
create
public static VGG create​(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation)
-
create
public static VGG create​(int desc, float isigma, boolean img_normalize)
-
create
public static VGG create​(int desc, float isigma)
-
create
public static VGG create​(int desc)
-
create
public static VGG create()
-
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 - 戻り値:
- 自動生成
-
setSigma
public void setSigma​(float isigma)
-
getSigma
public float getSigma()
-
setUseNormalizeImage
public void setUseNormalizeImage​(boolean img_normalize)
-
getUseNormalizeImage
public boolean getUseNormalizeImage()
-
setUseScaleOrientation
public void setUseScaleOrientation​(boolean use_scale_orientation)
-
getUseScaleOrientation
public boolean getUseScaleOrientation()
-
setScaleFactor
public void setScaleFactor​(float scale_factor)
-
getScaleFactor
public float getScaleFactor()
-
setUseNormalizeDescriptor
public void setUseNormalizeDescriptor​(boolean dsc_normalize)
-
getUseNormalizeDescriptor
public boolean getUseNormalizeDescriptor()
-
-