Cách lưu keypoint thuật toán sift trong java năm 2024

Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform (SIFT) algorithm by D. Lowe .

`

include <opencv2/features2d.hpp>`

Cách lưu keypoint thuật toán sift trong java năm 2024

Public Member Functions

virtual String () const

Cách lưu keypoint thuật toán sift trong java năm 2024
Public Member Functions inherited from cv::Feature2D virtual () virtual void ( image, std::vector< KeyPoint > &keypoints, descriptors) Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). virtual void ( images, std::vector< std::vector< KeyPoint > > &keypoints, descriptors) virtual int () const virtual int () const virtual int () const virtual void ( image, std::vector< KeyPoint > &keypoints, mask=()) Detects keypoints in an image (first variant) or image set (second variant). virtual void ( images, std::vector< std::vector< KeyPoint > > &keypoints, masks=()) virtual void ( image, mask, std::vector< KeyPoint > &keypoints, descriptors, bool useProvidedKeypoints=false) virtual bool () const Return true if detector object is empty. void (const String &fileName) virtual void (const FileNode &) Reads algorithm parameters from a file storage. void (const String &fileName) const virtual void (FileStorage &) const Stores algorithm parameters in a file storage. void (FileStorage &fs, const String &name) const void (const Ptr< FileStorage > &fs, const String &name) const
Cách lưu keypoint thuật toán sift trong java năm 2024
Public Member Functions inherited from cv::Algorithm () virtual () virtual void () Clears the algorithm state. virtual void (const String &filename) const void (FileStorage &fs, const String &name) const void (const Ptr< FileStorage > &fs, const String &name=String()) const

Static Public Member Functions

static Ptr< SIFT > (int nfeatures=0, int nOctaveLayers=3, double contrastThreshold=0.04, double edgeThreshold=10, double sigma=1.6) static Ptr< SIFT > (int nfeatures, int nOctaveLayers, double contrastThreshold, double edgeThreshold, double sigma, int ) Create SIFT with specified descriptorType.

Cách lưu keypoint thuật toán sift trong java năm 2024
Static Public Member Functions inherited from cv::Algorithm template<typename _Tp > static Ptr< _Tp > (const String &filename, const String &objname=String()) Loads algorithm from the file. template<typename _Tp > static Ptr< _Tp > (const String &strModel, const String &objname=String()) Loads algorithm from a String. template<typename _Tp > static Ptr< _Tp > (const FileNode &fn) Reads algorithm from the file node.

Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform (SIFT) algorithm by D. Lowe .

create() [1/2]

static Ptr<SIFT> cv::SIFT::create ( int nfeatures = 0, int nOctaveLayers = 3, double contrastThreshold = 0.04, double edgeThreshold = 10, double sigma = 1.6 )staticPython:cv.SIFT.create([, nfeatures[, nOctaveLayers[, contrastThreshold[, edgeThreshold[, sigma]]]]]) -> retvalcv.SIFT.create(nfeatures, nOctaveLayers, contrastThreshold, edgeThreshold, sigma, descriptorType) -> retvalcv.SIFT_create([, nfeatures[, nOctaveLayers[, contrastThreshold[, edgeThreshold[, sigma]]]]]) -> retvalcv.SIFT_create(nfeatures, nOctaveLayers, contrastThreshold, edgeThreshold, sigma, descriptorType) -> retval

Parameters nfeaturesThe number of best features to retain. The features are ranked by their scores (measured in SIFT algorithm as the local contrast) nOctaveLayersThe number of layers in each octave. 3 is the value used in D. Lowe paper. The number of octaves is computed automatically from the image resolution. contrastThresholdThe contrast threshold used to filter out weak features in semi-uniform (low-contrast) regions. The larger the threshold, the less features are produced by the detector. NoteThe contrast threshold will be divided by nOctaveLayers when the filtering is applied. When nOctaveLayers is set to default and if you want to use the value used in D. Lowe paper, 0.03, set this argument to 0.09. Parameters edgeThresholdThe threshold used to filter out edge-like features. Note that the its meaning is different from the contrastThreshold, i.e. the larger the edgeThreshold, the less features are filtered out (more features are retained). sigmaThe sigma of the Gaussian applied to the input image at the octave

0. If your image is captured with a weak camera with soft lenses, you might want to reduce the number.

create() [2/2]

static Ptr<SIFT> cv::SIFT::create ( int nfeatures, int nOctaveLayers, double contrastThreshold, double edgeThreshold, double sigma, int descriptorType )staticPython:cv.SIFT.create([, nfeatures[, nOctaveLayers[, contrastThreshold[, edgeThreshold[, sigma]]]]]) -> retvalcv.SIFT.create(nfeatures, nOctaveLayers, contrastThreshold, edgeThreshold, sigma, descriptorType) -> retvalcv.SIFT_create([, nfeatures[, nOctaveLayers[, contrastThreshold[, edgeThreshold[, sigma]]]]]) -> retvalcv.SIFT_create(nfeatures, nOctaveLayers, contrastThreshold, edgeThreshold, sigma, descriptorType) -> retval

Create SIFT with specified descriptorType.

Parameters nfeaturesThe number of best features to retain. The features are ranked by their scores (measured in SIFT algorithm as the local contrast) nOctaveLayersThe number of layers in each octave. 3 is the value used in D. Lowe paper. The number of octaves is computed automatically from the image resolution. contrastThresholdThe contrast threshold used to filter out weak features in semi-uniform (low-contrast) regions. The larger the threshold, the less features are produced by the detector. NoteThe contrast threshold will be divided by nOctaveLayers when the filtering is applied. When nOctaveLayers is set to default and if you want to use the value used in D. Lowe paper, 0.03, set this argument to 0.09. Parameters edgeThresholdThe threshold used to filter out edge-like features. Note that the its meaning is different from the contrastThreshold, i.e. the larger the edgeThreshold, the less features are filtered out (more features are retained). sigmaThe sigma of the Gaussian applied to the input image at the octave

0. If your image is captured with a weak camera with soft lenses, you might want to reduce the number. descriptorTypeThe type of descriptors. Only CV_32F and CV_8U are supported.

getDefaultName()

virtual String cv::SIFT::getDefaultName ( ) constvirtualPython:cv.SIFT.getDefaultName() -> retval

Returns 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.