Package org.opencv.xfeatures2d
Class BRISK
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features.Feature2D
-
- org.opencv.xfeatures2d.BRISK
-
public class BRISK extends Feature2D
Class implementing the BRISK keypoint detector and descriptor extractor, described in CITE: LCS11 .
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BRISK(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BRISK
__fromPtr__(long addr)
static BRISK
create()
The BRISK constructor keypoint.static BRISK
create(int thresh)
The BRISK constructorstatic BRISK
create(int thresh, int octaves)
The BRISK constructorstatic BRISK
create(int thresh, int octaves, float patternScale)
The BRISK constructorstatic BRISK
create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList)
The BRISK constructor for a custom pattern, detection threshold and octavesstatic BRISK
create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax)
The BRISK constructor for a custom pattern, detection threshold and octavesstatic BRISK
create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
The BRISK constructor for a custom pattern, detection threshold and octavesstatic BRISK
create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
The BRISK constructor for a custom pattern, detection threshold and octavesstatic BRISK
create(MatOfFloat radiusList, MatOfInt numberList)
The BRISK constructor for a custom patternstatic BRISK
create(MatOfFloat radiusList, MatOfInt numberList, float dMax)
The BRISK constructor for a custom patternstatic BRISK
create(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
The BRISK constructor for a custom patternstatic BRISK
create(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
The BRISK constructor for a custom patternprotected void
finalize()
java.lang.String
getDefaultName()
Returns the algorithm string identifier.int
getOctaves()
float
getPatternScale()
int
getThreshold()
void
setOctaves(int octaves)
Set detection octaves.void
setPatternScale(float patternScale)
Set detection patternScale.void
setThreshold(int threshold)
Set detection threshold.-
Methods inherited from class org.opencv.features.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 BRISK __fromPtr__(long addr)
-
create
public static BRISK create(int thresh, int octaves, float patternScale)
The BRISK constructor- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale.patternScale
- apply this scale to the pattern used for sampling the neighbourhood of a keypoint.- Returns:
- automatically generated
-
create
public static BRISK create(int thresh, int octaves)
The BRISK constructor- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale. keypoint.- Returns:
- automatically generated
-
create
public static BRISK create(int thresh)
The BRISK constructor- Parameters:
thresh
- AGAST detection threshold score. keypoint.- Returns:
- automatically generated
-
create
public static BRISK create()
The BRISK constructor keypoint.- Returns:
- automatically generated
-
create
public static BRISK create(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
The BRISK constructor for a custom pattern- Parameters:
radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin
- threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).indexChange
- index remapping of the bits.- Returns:
- automatically generated
-
create
public static BRISK create(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
The BRISK constructor for a custom pattern- Parameters:
radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin
- threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).- Returns:
- automatically generated
-
create
public static BRISK create(MatOfFloat radiusList, MatOfInt numberList, float dMax)
The BRISK constructor for a custom pattern- Parameters:
radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1). keypoint scale 1).- Returns:
- automatically generated
-
create
public static BRISK create(MatOfFloat radiusList, MatOfInt numberList)
The BRISK constructor for a custom pattern- Parameters:
radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList.. scale 1). keypoint scale 1).- Returns:
- automatically generated
-
create
public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
The BRISK constructor for a custom pattern, detection threshold and octaves- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale.radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin
- threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).indexChange
- index remapping of the bits.- Returns:
- automatically generated
-
create
public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
The BRISK constructor for a custom pattern, detection threshold and octaves- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale.radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin
- threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).- Returns:
- automatically generated
-
create
public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax)
The BRISK constructor for a custom pattern, detection threshold and octaves- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale.radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax
- threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1). keypoint scale 1).- Returns:
- automatically generated
-
create
public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList)
The BRISK constructor for a custom pattern, detection threshold and octaves- Parameters:
thresh
- AGAST detection threshold score.octaves
- detection octaves. Use 0 to do single scale.radiusList
- defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList
- defines the number of sampling points on the sampling circle. Must be the same size as radiusList.. scale 1). keypoint scale 1).- Returns:
- automatically generated
-
getDefaultName
public java.lang.String 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
-
setThreshold
public void setThreshold(int threshold)
Set detection threshold.- Parameters:
threshold
- AGAST detection threshold score.
-
getThreshold
public int getThreshold()
-
setOctaves
public void setOctaves(int octaves)
Set detection octaves.- Parameters:
octaves
- detection octaves. Use 0 to do single scale.
-
getOctaves
public int getOctaves()
-
setPatternScale
public void setPatternScale(float patternScale)
Set detection patternScale.- Parameters:
patternScale
- apply this scale to the pattern used for sampling the neighbourhood of a keypoint.
-
getPatternScale
public float getPatternScale()
-
-