Package process
Class Particle
java.lang.Object
mpicbg.models.Point
process.Particle
- All Implemented Interfaces:
fiji.util.node.Leaf<Particle>,fiji.util.node.Node<Particle>,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected final intprotected mpicbg.imglib.algorithm.scalespace.DifferenceOfGaussianPeak<mpicbg.imglib.type.numeric.real.FloatType> protected booleanprotected doubleFields inherited from class mpicbg.models.Point
l, w -
Constructor Summary
ConstructorsConstructorDescriptionParticle(int id, mpicbg.imglib.algorithm.scalespace.DifferenceOfGaussianPeak<mpicbg.imglib.type.numeric.real.FloatType> peak, float zStretching) -
Method Summary
Modifier and TypeMethodDescriptionParticle[]createArray(int n) floatbooleanstatic booleanfloatget(int k) floatdoublelonggetID()intmpicbg.imglib.algorithm.scalespace.DifferenceOfGaussianPeak<mpicbg.imglib.type.numeric.real.FloatType> getPeak()booleangetUseW()doublebooleanisLeaf()final voidresetW()voidRestores the local and global coordinates from the peak that feeded it initially, they might have been changed by applying a model during the optimizationvoidset(float v, int k) voidsetDiameter(float diameter) voidsetDistance(double distance) voidsetUseW(boolean useW) final voidsetW(float[] wn) voidsetWeight(double weight) toString()Methods inherited from class mpicbg.models.Point
apply, apply, apply, applyInverse, applyInverse, clone, distance, distance, getL, getW, localDistance, squareDistance, squareDistance, squareLocalDistance
-
Field Details
-
id
protected final int id -
peak
-
weight
protected double weight -
distance
protected double distance -
useW
protected boolean useW
-
-
Constructor Details
-
Particle
public Particle(int id, mpicbg.imglib.algorithm.scalespace.DifferenceOfGaussianPeak<mpicbg.imglib.type.numeric.real.FloatType> peak, float zStretching)
-
-
Method Details
-
getPeak
-
restoreCoordinates
public void restoreCoordinates()Restores the local and global coordinates from the peak that feeded it initially, they might have been changed by applying a model during the optimization -
getID
public long getID() -
setWeight
public void setWeight(double weight) -
getWeight
public double getWeight() -
setDiameter
public void setDiameter(float diameter) -
getDiameter
public float getDiameter() -
setW
public final void setW(float[] wn) -
resetW
public final void resetW() -
setUseW
public void setUseW(boolean useW) -
getUseW
public boolean getUseW() -
setDistance
public void setDistance(double distance) -
getDistance
public double getDistance() -
get
public float get(int k) - Specified by:
getin interfacefiji.util.node.Leaf<Particle>
-
set
public void set(float v, int k) -
toString
-
isLeaf
public boolean isLeaf()- Specified by:
isLeafin interfacefiji.util.node.Node<Particle>
-
distanceTo
- Specified by:
distanceToin interfacefiji.util.node.Leaf<Particle>
-
createArray
- Specified by:
createArrayin interfacefiji.util.node.Leaf<Particle>
-
getNumDimensions
public int getNumDimensions()- Specified by:
getNumDimensionsin interfacefiji.util.node.Leaf<Particle>
-
equals
-
equals
-