public class EllipseDescriptor extends plugins.big.bigsnakeutils.icy.ellipsoid.Ellipsoid2D implements CellDescriptor
CellDescriptor.CellComparator| Constructor and Description |
|---|
EllipseDescriptor()
Constructor.
|
EllipseDescriptor(EllipseDescriptor other)
Constructor.
|
EllipseDescriptor(int t)
Constructor/
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeEnergy(ImageDescriptor imgInt)
Compute the energy of the cell.
|
double |
energy()
Energy of the cell.
|
double[] |
getParameters()
Return the normalize parameters of the cell.
|
void |
init(icy.type.point.Point4D center)
Initialize the cells parameters.
|
boolean |
isClosedTo(CellDescriptor other)
Test if two cells can be considered as equal.
|
void |
setParameters(double[] parameters)
Set all the parameters of the cell.
|
clone, contains, contains, getPerimeter, getRadius, getRotationMatrix, getVolume, isOver, isValid, toROI, toStringpublic EllipseDescriptor()
public EllipseDescriptor(int t)
t - Time corresponding to this cell.public EllipseDescriptor(EllipseDescriptor other)
other - Cell to copy.public void init(icy.type.point.Point4D center)
CellDescriptorinit in interface CellDescriptorcenter - Center of the cell. The fourth component is the initial
radius.public double[] getParameters()
CellDescriptorgetParameters in interface CellDescriptorpublic void setParameters(double[] parameters)
CellDescriptorsetParameters in interface CellDescriptorparameters - Normalized parameters. The last element has to be the radius
obtained from @ref getParameters().public double energy()
CellDescriptorenergy in interface CellDescriptorpublic double computeEnergy(ImageDescriptor imgInt)
CellDescriptorcomputeEnergy in interface CellDescriptorpublic boolean isClosedTo(CellDescriptor other)
CellDescriptorisClosedTo in interface CellDescriptorother - Other cell to be compared with. Must be of the same type
(EllipseDescriptor or EllipsoidDescriptor).