public class SIFT
extends java.lang.Object
Constructor and Description |
---|
SIFT() |
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<PointMatch> |
createMatches(java.util.List<Feature> fs1,
java.util.List<Feature> fs2,
float max_sd,
Model model,
float max_id)
identify corresponding features using spatial constraints
|
static int |
fdbins() |
static void |
fdbins(int fb) |
static int |
fdsize() |
static java.util.Vector<Feature> |
getFeatures(FloatArray2D fa) |
static java.util.Vector<Feature> |
getFeatures(int w,
int h,
int[] pixels) |
static float |
initial_sigma() |
static int |
max_size() |
static int |
min_size() |
static void |
set_fdsize(int fs) |
static void |
set_initial_sigma(float is) |
static void |
set_max_size(int ms) |
static void |
set_min_size(int ms) |
static void |
set_steps(int s) |
static int |
steps() |
public static int steps()
public static void set_steps(int s)
public static float initial_sigma()
public static void set_initial_sigma(float is)
public static int fdsize()
public static void set_fdsize(int fs)
public static int fdbins()
public static void fdbins(int fb)
public static int min_size()
public static void set_min_size(int ms)
public static int max_size()
public static void set_max_size(int ms)
public static java.util.Vector<Feature> getFeatures(int w, int h, int[] pixels)
w
- width of the pictureh
- height of the picturepixels[]
- tab of pixels rgb color (ex: red 0xff0000)public static java.util.Vector<Feature> getFeatures(FloatArray2D fa)
public static java.util.Vector<PointMatch> createMatches(java.util.List<Feature> fs1, java.util.List<Feature> fs2, float max_sd, Model model, float max_id)
fs1
- feature collection from set 1 sorted by decreasing sizefs2
- feature collection from set 2 sorted by decreasing sizemax_sd
- maximal difference in size (ratio max/min)model
- transformation model to be applied to fs2max_id
- maximal distance in image space ($\sqrt{x^2+y^2}$)