mpi.cbg.fly
Class Feature
java.lang.Object
mpi.cbg.fly.Feature
- All Implemented Interfaces:
- java.lang.Comparable<Feature>
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.
- Version:
- 0.1b
- Author:
- Stephan Preibisch and Stephan Saalfeld
|
Constructor Summary |
Feature()
|
Feature(float s,
float o,
float[] l,
float[] d)
|
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scale
public float scale
orientation
public float orientation
location
public float[] location
descriptor
public float[] descriptor
Feature
public Feature()
Feature
public Feature(float s,
float o,
float[] l,
float[] d)
compareTo
public 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
- Specified by:
compareTo in interface java.lang.Comparable<Feature>
descriptorDistance
public float descriptorDistance(Feature f)