public class SURF extends Feature2D
Modifier | Constructor and Description |
---|---|
protected |
SURF(long addr) |
Modifier and Type | Method and Description |
---|---|
static SURF |
__fromPtr__(long addr) |
static SURF |
create()
64-element descriptors).
|
static SURF |
create(double hessianThreshold) |
static SURF |
create(double hessianThreshold,
int nOctaves) |
static SURF |
create(double hessianThreshold,
int nOctaves,
int nOctaveLayers) |
static SURF |
create(double hessianThreshold,
int nOctaves,
int nOctaveLayers,
boolean extended) |
static SURF |
create(double hessianThreshold,
int nOctaves,
int nOctaveLayers,
boolean extended,
boolean upright) |
protected void |
finalize() |
String |
getDefaultName()
Returns the algorithm string identifier.
|
boolean |
getExtended() |
double |
getHessianThreshold() |
int |
getNOctaveLayers() |
int |
getNOctaves() |
boolean |
getUpright() |
void |
setExtended(boolean extended) |
void |
setHessianThreshold(double hessianThreshold) |
void |
setNOctaveLayers(int nOctaveLayers) |
void |
setNOctaves(int nOctaves) |
void |
setUpright(boolean upright) |
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
clear, getNativeObjAddr, save
public static SURF __fromPtr__(long addr)
public static SURF create(double hessianThreshold, int nOctaves, int nOctaveLayers, boolean extended, boolean upright)
hessianThreshold
- Threshold for hessian keypoint detector used in SURF.nOctaves
- Number of pyramid octaves the keypoint detector will use.nOctaveLayers
- Number of octave layers within each octave.extended
- Extended descriptor flag (true - use extended 128-element descriptors; false - use
64-element descriptors).upright
- Up-right or rotated features flag (true - do not compute orientation of features;
false - compute orientation).public static SURF create(double hessianThreshold, int nOctaves, int nOctaveLayers, boolean extended)
hessianThreshold
- Threshold for hessian keypoint detector used in SURF.nOctaves
- Number of pyramid octaves the keypoint detector will use.nOctaveLayers
- Number of octave layers within each octave.extended
- Extended descriptor flag (true - use extended 128-element descriptors; false - use
64-element descriptors).
false - compute orientation).public static SURF create(double hessianThreshold, int nOctaves, int nOctaveLayers)
hessianThreshold
- Threshold for hessian keypoint detector used in SURF.nOctaves
- Number of pyramid octaves the keypoint detector will use.nOctaveLayers
- Number of octave layers within each octave.
64-element descriptors).
false - compute orientation).public static SURF create(double hessianThreshold, int nOctaves)
hessianThreshold
- Threshold for hessian keypoint detector used in SURF.nOctaves
- Number of pyramid octaves the keypoint detector will use.
64-element descriptors).
false - compute orientation).public static SURF create(double hessianThreshold)
hessianThreshold
- Threshold for hessian keypoint detector used in SURF.
64-element descriptors).
false - compute orientation).public static SURF create()
public void setHessianThreshold(double hessianThreshold)
public double getHessianThreshold()
public void setNOctaves(int nOctaves)
public int getNOctaves()
public void setNOctaveLayers(int nOctaveLayers)
public int getNOctaveLayers()
public void setExtended(boolean extended)
public boolean getExtended()
public void setUpright(boolean upright)
public boolean getUpright()
public String getDefaultName()
Algorithm
getDefaultName
in class Feature2D
Copyright © 2024. All rights reserved.