Package org.opencv.features2d
Class GFTTDetector
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.features2d.GFTTDetector
-
public class GFTTDetector extends Feature2D
Wrapping class for feature detection using the goodFeaturesToTrack function. :
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGFTTDetector(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GFTTDetector__fromPtr__(long addr)static GFTTDetectorcreate()static GFTTDetectorcreate(int maxCorners)static GFTTDetectorcreate(int maxCorners, double qualityLevel)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)protected voidfinalize()intgetBlockSize()java.lang.StringgetDefaultName()Returns the algorithm string identifier.intgetGradientSize()booleangetHarrisDetector()doublegetK()intgetMaxFeatures()doublegetMinDistance()doublegetQualityLevel()voidsetBlockSize(int blockSize)voidsetGradientSize(int gradientSize_)voidsetHarrisDetector(boolean val)voidsetK(double k)voidsetMaxFeatures(int maxFeatures)voidsetMinDistance(double minDistance)voidsetQualityLevel(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
-
-
-
-
Method Detail
-
__fromPtr__
public static GFTTDetector __fromPtr__(long addr)
-
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
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel)
-
create
public static GFTTDetector create(int maxCorners)
-
create
public static GFTTDetector 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()
-
setGradientSize
public void setGradientSize(int gradientSize_)
-
getGradientSize
public int getGradientSize()
-
setHarrisDetector
public void setHarrisDetector(boolean val)
-
getHarrisDetector
public boolean getHarrisDetector()
-
setK
public void setK(double k)
-
getK
public double getK()
-
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.- Overrides:
getDefaultNamein classFeature2D- Returns:
- automatically generated
-
-