ij.plugin.filter
Class MaximumFinder.MaxPoint

java.lang.Object
  extended by ij.plugin.filter.MaximumFinder.MaxPoint
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
MaximumFinder

 class MaximumFinder.MaxPoint
extends java.lang.Object
implements java.lang.Comparable

Coordinates and the value of a local maximum. Implemented as a class for easy sorting of an array of maxima by pixel value


Field Summary
(package private)  float value
           
(package private)  short x
           
(package private)  short y
           
 
Constructor Summary
MaximumFinder.MaxPoint(short x, short y, float value)
          a constructor filling in the data
 
Method Summary
 int compareTo(java.lang.Object o)
          a comparator required for sorting (interface Comparable)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

float value

x

short x

y

short y
Constructor Detail

MaximumFinder.MaxPoint

MaximumFinder.MaxPoint(short x,
                       short y,
                       float value)
a constructor filling in the data

Method Detail

compareTo

public int compareTo(java.lang.Object o)
a comparator required for sorting (interface Comparable)

Specified by:
compareTo in interface java.lang.Comparable