public class Feature extends java.lang.Object implements java.lang.Comparable<Feature>
Title: Feature
Description:
Copyright: Copyright (c) 2007
Company:
License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.Modifier and Type | Field and Description |
---|---|
float[] |
descriptor |
float[] |
location |
float |
orientation |
float |
scale |
Constructor and Description |
---|
Feature() |
Feature(float s,
float o,
float[] l,
float[] d) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Feature f)
comparator for making Features sortable
please note, that the comparator returns -1 for
this.scale > o.scale, to sort the features in a descending order
|
float |
descriptorDistance(Feature f) |
public float scale
public float orientation
public float[] location
public float[] descriptor
public Feature()
public Feature(float s, float o, float[] l, float[] d)
public int compareTo(Feature f)
compareTo
in interface java.lang.Comparable<Feature>
public float descriptorDistance(Feature f)