public interface CellDescriptor
| Modifier and Type | Interface and Description |
|---|---|
static class |
CellDescriptor.CellComparator |
| 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.
|
void init(icy.type.point.Point4D center)
center - Center of the cell. The fourth component is the initial
radius.double energy()
double[] getParameters()
void setParameters(double[] parameters)
parameters - Normalized parameters. The last element has to be the radius
obtained from @ref getParameters().double computeEnergy(ImageDescriptor imgInt)
mask - Binarized image used to compute the energy of the cell.boolean isClosedTo(CellDescriptor other)
other - Other cell to be compared with. Must be of the same type
(EllipseDescriptor or EllipsoidDescriptor).tolerance - Threshold criterion.