Package org.opencv.features2d
Class GFTTDetector
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.Feature2D
org.opencv.features2d.GFTTDetector
Wrapping class for feature detection using the goodFeaturesToTrack function. :
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GFTTDetector
__fromPtr__
(long addr) static GFTTDetector
create()
static GFTTDetector
create
(int maxCorners) static GFTTDetector
create
(int maxCorners, double qualityLevel) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector) static GFTTDetector
create
(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k) protected void
finalize()
int
Returns the algorithm string identifier.boolean
double
getK()
int
double
double
void
setBlockSize
(int blockSize) void
setHarrisDetector
(boolean val) void
setK
(double k) void
setMaxFeatures
(int maxFeatures) void
setMinDistance
(double minDistance) void
setQualityLevel
(double qlevel) Methods inherited from class org.opencv.features2d.Feature2D
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
Methods inherited from class org.opencv.core.Algorithm
clear, getNativeObjAddr, save
-
Constructor Details
-
GFTTDetector
protected GFTTDetector(long addr)
-
-
Method Details
-
__fromPtr__
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k) -
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector) -
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize) -
create
-
create
-
create
-
create
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k) -
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector) -
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize) -
setMaxFeatures
public void setMaxFeatures(int maxFeatures) -
getMaxFeatures
public int getMaxFeatures() -
setQualityLevel
public void setQualityLevel(double qlevel) -
getQualityLevel
public double getQualityLevel() -
setMinDistance
public void setMinDistance(double minDistance) -
getMinDistance
public double getMinDistance() -
setBlockSize
public void setBlockSize(int blockSize) -
getBlockSize
public int getBlockSize() -
setHarrisDetector
public void setHarrisDetector(boolean val) -
getHarrisDetector
public boolean getHarrisDetector() -
setK
public void setK(double k) -
getK
public double getK() -
getDefaultName
Description copied from class:Algorithm
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.- Overrides:
getDefaultName
in classFeature2D
- Returns:
- automatically generated
-
finalize
-