public class EllipsoidDescriptor extends plugins.big.bigsnakeutils.icy.ellipsoid.Ellipsoid3D implements CellDescriptor
CellDescriptor.CellComparator| Modifier and Type | Field and Description |
|---|---|
double |
_energy |
| Constructor and Description |
|---|
EllipsoidDescriptor()
Default Constructor.
|
EllipsoidDescriptor(EllipsoidDescriptor other)
Copy Constructor.
|
EllipsoidDescriptor(int t)
Default 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, intersectionAtZ, isOver, isValid, toROI, toStringpublic EllipsoidDescriptor()
public EllipsoidDescriptor(int t)
t - Time corresponding to this cell.public EllipsoidDescriptor(EllipsoidDescriptor 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 energy()
CellDescriptorenergy in interface CellDescriptorpublic 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 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).