🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.xfeatures2d
クラス SURF_CUDA
- java.lang.Object
-
- org.opencv.xfeatures2d.SURF_CUDA
-
public class SURF_CUDA extends java.lang.ObjectClass used for extracting Speeded Up Robust Features (SURF) from an image. : The class SURF_CUDA implements Speeded Up Robust Features descriptor. There is a fast multi-scale Hessian keypoint detector that can be used to find the keypoints (which is the default option). But the descriptors can also be computed for the user-specified keypoints. Only 8-bit grayscale images are supported. The class SURF_CUDA can store results in the GPU and CPU memory. It provides functions to convert results between CPU and GPU version ( uploadKeypoints, downloadKeypoints, downloadDescriptors ). The format of CPU results is the same as SURF results. GPU results are stored in GpuMat. The keypoints matrix is \(\texttt{nFeatures} \times 7\) matrix with the CV_32FC1 type.- keypoints.ptr<float>(X_ROW)[i]は、i番目の特徴のx座標を格納する。
- keypoints.ptr<float>(Y_ROW)[i]は、i番目の特徴のy座標を格納する。
- keypoints.ptr<float>(LAPLACIAN_ROW)[i]は、i番目の特徴のラプラシアン符号を格納する。
- keypoints.ptr<float>(OCTAVE_ROW)[i]は、i番目の特徴のオクターブを格納する。
- keypoints.ptr<float>(SIZE_ROW)[i]は、i番目の特徴のサイズを格納する。
- keypoints.ptr<float>(ANGLE_ROW)[i]は、i番目の特徴の方向を格納する。
- keypoints.ptr<float>(HESSIAN_ROW)[i]は、i番目の特徴の応答を格納する。
- GPU上でSURFキーポイントマッチャーを使用する例は、opencv_source_code/samples/gpu/surf_keypoint_matcher.cpp にある
-
-
フィールドの要約
フィールド Modifier and Type Field Description static intANGLE_ROWstatic intHESSIAN_ROWstatic intLAPLACIAN_ROWprotected longnativeObjstatic intOCTAVE_ROWstatic intROWS_COUNTstatic intSIZE_ROWstatic intX_ROWstatic intY_ROW
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedSURF_CUDA​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static SURF_CUDA__fromPtr__​(long addr)static SURF_CUDAcreate​(double _hessianThreshold)static SURF_CUDAcreate​(double _hessianThreshold, int _nOctaves)static SURF_CUDAcreate​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers)static SURF_CUDAcreate​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended)static SURF_CUDAcreate​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended, float _keypointsRatio)static SURF_CUDAcreate​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended, float _keypointsRatio, boolean _upright)intdefaultNorm()intdescriptorSize()booleanget_extended()doubleget_hessianThreshold()floatget_keypointsRatio()intget_nOctaveLayers()intget_nOctaves()booleanget_upright()longgetNativeObjAddr()
-
-
-
フィールドの詳細
-
nativeObj
protected final long nativeObj
-
X_ROW
public static final int X_ROW
- 関連項目:
- 定数フィールド値
-
Y_ROW
public static final int Y_ROW
- 関連項目:
- 定数フィールド値
-
LAPLACIAN_ROW
public static final int LAPLACIAN_ROW
- 関連項目:
- 定数フィールド値
-
OCTAVE_ROW
public static final int OCTAVE_ROW
- 関連項目:
- 定数フィールド値
-
SIZE_ROW
public static final int SIZE_ROW
- 関連項目:
- 定数フィールド値
-
ANGLE_ROW
public static final int ANGLE_ROW
- 関連項目:
- 定数フィールド値
-
HESSIAN_ROW
public static final int HESSIAN_ROW
- 関連項目:
- 定数フィールド値
-
ROWS_COUNT
public static final int ROWS_COUNT
- 関連項目:
- 定数フィールド値
-
-
メソッドの詳細
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static SURF_CUDA __fromPtr__​(long addr)
-
create
public static SURF_CUDA create​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended, float _keypointsRatio, boolean _upright)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。_nOctaves- キーポイント検出器が使用するピラミッドのオクターブ数。_nOctaveLayers- 各オクターブ内のオクターブレイヤー数。_extended- 拡張記述子フラグ (true - 128要素の拡張記述子を使用; false - 64要素の記述子を使用)。_keypointsRatio- 特徴の最大数を制限する_upright- アップライト(回転なし)または回転特徴フラグ (true - 特徴の方向を計算しない; false - 方向を計算する)。- 戻り値:
- 自動生成
-
create
public static SURF_CUDA create​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended, float _keypointsRatio)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。_nOctaves- キーポイント検出器が使用するピラミッドのオクターブ数。_nOctaveLayers- 各オクターブ内のオクターブレイヤー数。_extended- 拡張記述子フラグ (true - 128要素の拡張記述子を使用; false - 64要素の記述子を使用)。_keypointsRatio- 特徴の最大数を制限する false - 方向を計算する)。- 戻り値:
- 自動生成
-
create
public static SURF_CUDA create​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers, boolean _extended)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。_nOctaves- キーポイント検出器が使用するピラミッドのオクターブ数。_nOctaveLayers- 各オクターブ内のオクターブレイヤー数。_extended- 拡張記述子フラグ (true - 128要素の拡張記述子を使用; false - 64要素の記述子を使用)。false - 方向を計算する)。- 戻り値:
- 自動生成
-
create
public static SURF_CUDA create​(double _hessianThreshold, int _nOctaves, int _nOctaveLayers)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。_nOctaves- キーポイント検出器が使用するピラミッドのオクターブ数。_nOctaveLayers- 各オクターブ内のオクターブレイヤー数。64要素の記述子を使用)。false - 方向を計算する)。- 戻り値:
- 自動生成
-
create
public static SURF_CUDA create​(double _hessianThreshold, int _nOctaves)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。_nOctaves- キーポイント検出器が使用するピラミッドのオクターブ数。64要素の記述子を使用)。false - 方向を計算する)。- 戻り値:
- 自動生成
-
create
public static SURF_CUDA create​(double _hessianThreshold)
- 引数:
_hessianThreshold- SURFで使用されるヘシアンキーポイント検出器のしきい値。64要素の記述子を使用)。false - 方向を計算する)。- 戻り値:
- 自動生成
-
descriptorSize
public int descriptorSize()
-
defaultNorm
public int defaultNorm()
-
get_hessianThreshold
public double get_hessianThreshold()
-
get_nOctaves
public int get_nOctaves()
-
get_nOctaveLayers
public int get_nOctaveLayers()
-
get_extended
public boolean get_extended()
-
get_upright
public boolean get_upright()
-
get_keypointsRatio
public float get_keypointsRatio()
-
-