Package gov.nih.mipav.model.algorithms
Class AlgorithmBRISK.BriskLayer
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.AlgorithmBRISK.BriskLayer
-
- Enclosing class:
- AlgorithmBRISK
private class AlgorithmBRISK.BriskLayer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AgastDetector5_8
agastDetector_5_8
private ModelImage
image
(package private) OastDetector9_16
oastDetector
private double
offset
private double
scale
private int[][]
scores
private int
xDim
private int
yDim
-
Constructor Summary
Constructors Constructor Description BriskLayer(AlgorithmBRISK.BriskLayer layer, int mode)
BriskLayer(ModelImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getAgastPoints(int threshold, java.util.Vector<javax.vecmath.Point2i> keypoints)
int
getAgastScore(double xf, double yf, int threshold)
int
getAgastScore(double xf, double yf, int threshold, double scale)
int
getAgastScore(int x, int y, int threshold)
int
getAgastScore_5_8(int x, int y, int threshold)
ModelImage
getImage()
double
getOffset()
double
getScale()
int
getXDim()
int
getYDim()
boolean
isMax2D(int x_layer, int y_layer)
private int
value(int[][] scores, double xf, double yf, double scale)
-
-
-
Field Detail
-
image
private ModelImage image
-
scale
private double scale
-
offset
private double offset
-
scores
private int[][] scores
-
xDim
private int xDim
-
yDim
private int yDim
-
oastDetector
OastDetector9_16 oastDetector
-
agastDetector_5_8
AgastDetector5_8 agastDetector_5_8
-
-
Constructor Detail
-
BriskLayer
public BriskLayer(ModelImage image)
-
BriskLayer
public BriskLayer(AlgorithmBRISK.BriskLayer layer, int mode)
-
-
Method Detail
-
getScale
public double getScale()
-
getOffset
public double getOffset()
-
getImage
public ModelImage getImage()
-
getXDim
public int getXDim()
-
getYDim
public int getYDim()
-
getAgastPoints
public void getAgastPoints(int threshold, java.util.Vector<javax.vecmath.Point2i> keypoints)
-
isMax2D
public boolean isMax2D(int x_layer, int y_layer)
-
getAgastScore
public int getAgastScore(double xf, double yf, int threshold)
-
getAgastScore
public int getAgastScore(double xf, double yf, int threshold, double scale)
-
getAgastScore
public int getAgastScore(int x, int y, int threshold)
-
getAgastScore_5_8
public int getAgastScore_5_8(int x, int y, int threshold)
-
value
private int value(int[][] scores, double xf, double yf, double scale)
-
-