Class InterestPoint
java.lang.Object
mpicbg.models.Point
net.preibisch.mvrecon.fiji.spimdata.interestpoints.InterestPoint
- All Implemented Interfaces:
Serializable,net.imglib2.EuclideanSpace,net.imglib2.RealLocalizable
- Direct Known Subclasses:
GroupedInterestPoint,InterestPointValue,LinkedInterestPoint
public class InterestPoint
extends mpicbg.models.Point
implements net.imglib2.RealLocalizable, Serializable
Single interest point, extends mpicbg Point by an id
- Author:
- Stephan Preibisch (stephan.preibisch@gmx.de)
- See Also:
-
Field Summary
FieldsFields inherited from class mpicbg.models.Point
l, w -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleandoublegetDoublePosition(int d) floatgetFloatPosition(int d) intgetId()inthashCode()voidlocalize(double[] position) voidlocalize(float[] position) newInstance(int id, double[] l) intMethods inherited from class mpicbg.models.Point
apply, apply, apply, applyInverse, applyInverse, distance, distance, getL, getW, localDistance, squareDistance, squareDistance, squareLocalDistanceMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.RealLocalizable
localize, positionAsDoubleArray, positionAsRealPoint
-
Field Details
-
id
protected final int id
-
-
Constructor Details
-
InterestPoint
public InterestPoint(int id, double[] l)
-
-
Method Details
-
getId
public int getId() -
numDimensions
public int numDimensions()- Specified by:
numDimensionsin interfacenet.imglib2.EuclideanSpace
-
localize
public void localize(float[] position) - Specified by:
localizein interfacenet.imglib2.RealLocalizable
-
localize
public void localize(double[] position) - Specified by:
localizein interfacenet.imglib2.RealLocalizable
-
getFloatPosition
public float getFloatPosition(int d) - Specified by:
getFloatPositionin interfacenet.imglib2.RealLocalizable
-
getDoublePosition
public double getDoublePosition(int d) - Specified by:
getDoublePositionin interfacenet.imglib2.RealLocalizable
-
newInstance
-
duplicate
-
clone
- Overrides:
clonein classmpicbg.models.Point
-
hashCode
public int hashCode() -
equals
-