ij3d.geom
Class Object3D

java.lang.Object
  extended by ij3d.geom.Object3D

public class Object3D
extends java.lang.Object

An Object3D in an image

Author:
thomas & Cedric

Field Summary
protected  int area
          Area
protected  double bx
          IsoBarycenter
protected  double by
           
protected  double bz
           
protected  Pixel3D[] contours
          Contours pixels
protected  double cx
          Center of mass
protected  double cy
           
protected  double cz
           
protected  EigenvalueDecomposition eigen
          Matrix of decomposition
protected  double feret
          feret diameter
protected  Pixel3D feret1
           
protected  Pixel3D feret2
           
protected  double integratedDensity
          Integrated density (sum of pixels)
protected  double pixmax
          Max pix value in object
protected  double pixmin
          Min pix value in object
protected  IntImage3D segImage
          The image where the object lies
protected  double sigma
           
protected  double sxx
          Centred Moments
protected  double sxy
          Centred Moments
protected  double sxz
          Centred Moments
protected  double syy
          Centred Moments
protected  double syz
          Centred Moments
protected  double szz
          Centred Moments
protected  boolean touchBorders
          Touch the borders ?
protected  int value
          Value (grey-level)
protected  int volume
          volume
protected  int xmax
          Bounding box
protected  int xmin
          Bounding box
protected  int ymax
          Bounding box
protected  int ymin
          Bounding box
protected  int zmax
          Bounding box
protected  int zmin
          Bounding box
 
Constructor Summary
Object3D(ij.ImagePlus plus, int val)
          Constructor for the Object3D object
Object3D(IntImage3D ima, int val)
          constructeur
Object3D(Object3D other)
           
 
Method Summary
 double angle(Object3D a, Object3D b)
          Angle between (a, this, b) with real coordinates
 void computeBounding()
          Compute the bounding box of the object
 void computeCenter()
          Compute the barycenter and the volume
 void computeContours()
          Compute the contours of the object rad=0.5
 void computeContours(IntImage3D ima)
           
 void computeMassCenter(Image3D ima)
          compute mass center with an image
 void computeMoments()
          Computation of the dispersion tensor with units value
 void computeMomentsInertia()
          Computation of the inertia tensor with units value
 ij.gui.Roi createRoi(int z)
          Constructor for the createRoi object
 double distBorder(Object3D autre)
          the minimum distance between two objets (in real distance) computed on the contours pixels
 double distCenter(Object3D autre)
          distance from center to center (in real distance)
 double distCenter2D(Object3D autre)
          2D distance from center to center (in real distance)
 double distCenterBorder(Object3D autre)
          Distance center to the border
 double distPixelBorder(double x, double y, double z)
          Distance from a point to the border of the object
 double distPixelBorder(double x, double y, double z, Vector3D V)
          Distance from a point along a direction to the border of the object
 double distPixelBorder(Point3D P)
           
 double distPixelCenter(double x, double y, double z)
           
 void draw(ij.process.ByteProcessor mask, int z, int col)
          Description of the Method
 void draw(ij.ImageStack mask, int col)
           
 void draw(ij.ImageStack mask, int red, int green, int blue)
           
 void draw(IntImage3D mask, int col)
           
 void draw(ObjectCreator3D obj, int col)
          Description of the Method
 void drawContours(ObjectCreator3D ima, int col)
           
 void drawIntersection(ij.ImageStack mask, Object3D other, int col)
           
 void drawIntersection(ij.ImageStack mask, Object3D other, int red, int green, int blue)
           
 int getAreaPixels()
          the area of the Object3D (in pixels)
 double getAreaUnit()
          Gets the areaUnit attribute of the Object3D object
 ij.measure.Calibration getCalibration()
          Gets the calibration attribute of the Object3D object
 Vector3D getCenter()
          Gets the center attribute of the Object3D object
 Vector3D getCenterUnit()
          Gets the centerUnit attribute of the Object3D object
 double getCenterX()
          x coordinate of the center
 double getCenterY()
          y coordinate of the center
 double getCenterZ()
          z coordinate of the center
 double getCompacite()
          Gets the compacite attribute of the Object3D (unit)
 double getDistCenterMax()
           
 double getDistCenterMean()
           
 double getDistCenterMin()
           
 double getDistCenterSigma()
           
 double getFeret()
          Gets the feret attribute of the Object3D object (unit)
 Pixel3D getFeretPixel1()
           
 Pixel3D getFeretPixel2()
           
 double getIntegratedDensity(Image3D ima)
          integrated density of the Object3D
 Vector3D getMainAxis()
          Gets the mainAxis attribute of the Object3D object (unit)
 double getMainElongationAxis()
          Gets the elongationAxis attribute of the Object3D object (unit)
 double getMassCenterX(Image3D ima)
          x coordinate of the center
 double getMassCenterY(Image3D ima)
          y coordinate of the center
 double getMassCenterZ(Image3D ima)
          z coordinate of the center
 Matrix getMatrixAxes()
          Gets the main axes vectors as a matrix
 double getMeanPixValue(Image3D ima)
          Gets the meanPixValue attribute of the Object3D object
 double getMedianElongationAxis()
          Gets the elongationAxis attribute of the Object3D object (unit)
 Pixel3D getPixelMax(Image3D ima)
           
 double getPixMaxValue(Image3D ima)
          Gets the pixMaxValue attribute of the Object3D object
 double getPixMinValue(Image3D ima)
          Gets the pixMinValue attribute of the Object3D object
 double getRatioBox()
          Gets the ration between volume and volume of the bounding box (in units)
 double getResXY()
          Gets the resXY attribute of the Object3D object
 double getResZ()
          Gets the resZ attribute of the Object3D object
 IntImage3D getSegImage()
          Gets the segImage attribute of the Object3D object
 double getSigmaPixValue(Image3D ima)
          Gets the sigmaPixValue attribute of the Object3D object
 boolean getTouchBorders()
          Gets the touchBorders attribute of the FishObject3D Object3D
 java.lang.String getUnits()
          Gets the unit attribute of the Object3D object
 int getValue()
          value of the Object3D (in gray level)
 double getValueAxis(int order)
          Gets the valueAxis attribute of the Object3D object (unit)
 Vector3D getVectorAxis(int order)
          Gets the Axis attribute of the Object3D object (unit)
 int getVolumePixels()
          volume of the Object3D (in pixel)
 double getVolumeUnit()
          Gets the volumeUnit attribute of the Object3D object
 int getXmax()
          Gets the xmax attribute of the Object3D
 int getXmin()
          Gets the xmin attribute of the Object3D
 int getYmax()
          Gets the ymax attribute of the Object3D
 int getYmin()
          Gets the ymin attribute of the Object3D
 int getZmax()
          Gets the zmax attribute of the Object3D
 int getZmin()
          Gets the zmin attribute of the Object3D
 boolean insideBounding(double x, double y, double z)
          test if the point is inside the bounding box of the object
 boolean insideBounding(float x, float y, float z)
          test if the point is inside the bounding box of the object
 boolean intersectionBox(Object3D autre)
          Test if the bouding boxes intersect
protected  boolean isContour(int x, int y, int z)
          the pixel is in the contour
 java.util.ArrayList listVoxels(Image3D ima)
           
 double pcColoc(Object3D other)
           
 double pixelsContact(Object3D other, double dist_max)
           
 double radiusCenter(Object3D obj)
           
 double radiusCenter(Vector3D V)
           
 double radiusPixel(double x, double y, double z)
           
 boolean segmentSpot(int xdep, int ydep, int zdep, int seuil, int val, IntImage3D originalImage)
          Segment an object from a seed
 boolean segmentSpotMax(int xdep, int ydep, int zdep, int seuil, int val, IntImage3D originalImage)
          Segment an object from a seed, keep only max local
 boolean separeSpot2D(IntImage3D ori, int val, int seuil, Object3D f, Object3D f1, Object3D f2, double dist, int p1, int p2)
           
 void setCalibration(ij.measure.Calibration cal)
          Sets the calibration attribute of the Object3D object
 void setResolution(double rxy, double rz, java.lang.String u)
          Sets the resolution attribute of the ObjectCreator3D object
 void setResXY(double rxy)
          Sets the resXY attribute of the Object3D object
 void setResZ(double rz)
          Sets the resZ attribute of the Object3D object
 void setUnits(java.lang.String u)
          Sets the units attribute of the Object3D object
 void setValue(int v)
          Sets the value attribute of the Object3D object
 java.lang.String toString()
          Display information
 Vector3D vectorBorderBorder(Object3D autre)
          The vector between the two closest border to border point
 Vector3D vectorCenterBorder(Object3D autre)
          The vector between the center and border point
 Vector3D vectorPixelBorder(double x, double y, double z)
          Vector between a pixel and the closest border
 Vector3D vectorPixelBorder(double x, double y, double z, Vector3D V)
          Vector from a point along a direction to the border of the object
 Vector3D vectorPixelBorder(Vector3D V)
          Vector between a pixel and the closest border
 Vector3D vectorPixelUnitBorder(double x, double y, double z)
          Description of the Method
 Vector3D vectorPixelUnitBorder(double x, double y, double z, Vector3D dir)
          Description of the Method
 Vector3D vectorPixelUnitBorder(Vector3D V)
          Description of the Method
 Vector3D vectorPixelUnitBorder(Vector3D V, Vector3D dir)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xmin

protected int xmin
Bounding box


ymin

protected int ymin
Bounding box


zmin

protected int zmin
Bounding box


xmax

protected int xmax
Bounding box


ymax

protected int ymax
Bounding box


zmax

protected int zmax
Bounding box


bx

protected double bx
IsoBarycenter


by

protected double by

bz

protected double bz

cx

protected double cx
Center of mass


cy

protected double cy

cz

protected double cz

area

protected int area
Area


volume

protected int volume
volume


feret

protected double feret
feret diameter


feret1

protected Pixel3D feret1

feret2

protected Pixel3D feret2

integratedDensity

protected double integratedDensity
Integrated density (sum of pixels)


sigma

protected double sigma

pixmin

protected double pixmin
Min pix value in object


pixmax

protected double pixmax
Max pix value in object


value

protected int value
Value (grey-level)


contours

protected Pixel3D[] contours
Contours pixels


touchBorders

protected boolean touchBorders
Touch the borders ?


sxx

protected double sxx
Centred Moments


sxy

protected double sxy
Centred Moments


sxz

protected double sxz
Centred Moments


syy

protected double syy
Centred Moments


syz

protected double syz
Centred Moments


szz

protected double szz
Centred Moments


eigen

protected EigenvalueDecomposition eigen
Matrix of decomposition


segImage

protected IntImage3D segImage
The image where the object lies

Constructor Detail

Object3D

public Object3D(IntImage3D ima,
                int val)
constructeur

Parameters:
ima - Segmented iamge
val - Pixel value of the object

Object3D

public Object3D(ij.ImagePlus plus,
                int val)
Constructor for the Object3D object

Parameters:
plus - Segmented image
val - Pixel value of the object

Object3D

public Object3D(Object3D other)
Parameters:
other -
Method Detail

setResXY

public void setResXY(double rxy)
Sets the resXY attribute of the Object3D object

Parameters:
rxy - The new resXY value

setResZ

public void setResZ(double rz)
Sets the resZ attribute of the Object3D object

Parameters:
rz - The new resZ value

setUnits

public void setUnits(java.lang.String u)
Sets the units attribute of the Object3D object

Parameters:
u - The new units value

getResXY

public double getResXY()
Gets the resXY attribute of the Object3D object

Returns:
The resXY value

getResZ

public double getResZ()
Gets the resZ attribute of the Object3D object

Returns:
The resZ value

getUnits

public java.lang.String getUnits()
Gets the unit attribute of the Object3D object

Returns:
The unit value

getCalibration

public ij.measure.Calibration getCalibration()
Gets the calibration attribute of the Object3D object

Returns:
The calibration value

setCalibration

public void setCalibration(ij.measure.Calibration cal)
Sets the calibration attribute of the Object3D object

Parameters:
cal - The new calibration value

setResolution

public final void setResolution(double rxy,
                                double rz,
                                java.lang.String u)
Sets the resolution attribute of the ObjectCreator3D object

Parameters:
rxy - The new resolution in XY
rz - The new resolution in Z
u - The new resolution unit

isContour

protected boolean isContour(int x,
                            int y,
                            int z)
the pixel is in the contour

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
vrai si le pixel fait parti du contour

getVolumePixels

public int getVolumePixels()
volume of the Object3D (in pixel)

Returns:
the volume value

getVolumeUnit

public double getVolumeUnit()
Gets the volumeUnit attribute of the Object3D object

Returns:
The volumeUnit value

getIntegratedDensity

public double getIntegratedDensity(Image3D ima)
integrated density of the Object3D

Parameters:
ima -
Returns:
the sum of pixels values

getCompacite

public double getCompacite()
Gets the compacite attribute of the Object3D (unit)

Returns:
The compacite value

getRatioBox

public double getRatioBox()
Gets the ration between volume and volume of the bounding box (in units)

Returns:
The ratioBox value

getFeret

public double getFeret()
Gets the feret attribute of the Object3D object (unit)

Returns:
The feret value

getFeretPixel1

public Pixel3D getFeretPixel1()
Returns:

getFeretPixel2

public Pixel3D getFeretPixel2()
Returns:

getDistCenterMin

public double getDistCenterMin()
Returns:

getDistCenterMax

public double getDistCenterMax()
Returns:

getDistCenterMean

public double getDistCenterMean()
Returns:

getDistCenterSigma

public double getDistCenterSigma()
Returns:

getAreaPixels

public int getAreaPixels()
the area of the Object3D (in pixels)

Returns:
the area value

getAreaUnit

public double getAreaUnit()
Gets the areaUnit attribute of the Object3D object

Returns:
The areaUnit value

getCenter

public Vector3D getCenter()
Gets the center attribute of the Object3D object

Returns:
The center value

getCenterUnit

public Vector3D getCenterUnit()
Gets the centerUnit attribute of the Object3D object

Returns:
The centerUnit value

getCenterX

public double getCenterX()
x coordinate of the center

Returns:
x center value

getCenterY

public double getCenterY()
y coordinate of the center

Returns:
y center value

getCenterZ

public double getCenterZ()
z coordinate of the center

Returns:
z center value

getMassCenterX

public double getMassCenterX(Image3D ima)
x coordinate of the center

Parameters:
ima -
Returns:
x center value

getMassCenterY

public double getMassCenterY(Image3D ima)
y coordinate of the center

Parameters:
ima -
Returns:
y center value

getMassCenterZ

public double getMassCenterZ(Image3D ima)
z coordinate of the center

Parameters:
ima -
Returns:
z center value

getMeanPixValue

public double getMeanPixValue(Image3D ima)
Gets the meanPixValue attribute of the Object3D object

Parameters:
ima -
Returns:
The meanPixValue value

getSigmaPixValue

public double getSigmaPixValue(Image3D ima)
Gets the sigmaPixValue attribute of the Object3D object

Parameters:
ima -
Returns:
The sigmaPixValue value

getPixMinValue

public double getPixMinValue(Image3D ima)
Gets the pixMinValue attribute of the Object3D object

Parameters:
ima -
Returns:
The pixMinValue value

getPixMaxValue

public double getPixMaxValue(Image3D ima)
Gets the pixMaxValue attribute of the Object3D object

Parameters:
ima -
Returns:
The pixMaxValue value

getPixelMax

public Pixel3D getPixelMax(Image3D ima)
Parameters:
ima -
Returns:

getXmin

public int getXmin()
Gets the xmin attribute of the Object3D

Returns:
The xmin value

getYmin

public int getYmin()
Gets the ymin attribute of the Object3D

Returns:
The ymin value

getZmin

public int getZmin()
Gets the zmin attribute of the Object3D

Returns:
The zmin value

getXmax

public int getXmax()
Gets the xmax attribute of the Object3D

Returns:
The xmax value

getYmax

public int getYmax()
Gets the ymax attribute of the Object3D

Returns:
The ymax value

getZmax

public int getZmax()
Gets the zmax attribute of the Object3D

Returns:
The zmax value

getValue

public int getValue()
value of the Object3D (in gray level)

Returns:
value

setValue

public void setValue(int v)
Sets the value attribute of the Object3D object

Parameters:
v - The new value value

getSegImage

public IntImage3D getSegImage()
Gets the segImage attribute of the Object3D object

Returns:
The segImage value

getTouchBorders

public boolean getTouchBorders()
Gets the touchBorders attribute of the FishObject3D Object3D

Returns:
The touchBorders value

distCenter2D

public double distCenter2D(Object3D autre)
2D distance from center to center (in real distance)

Parameters:
autre - the other Object3D
Returns:
distance

distCenter

public double distCenter(Object3D autre)
distance from center to center (in real distance)

Parameters:
autre - the other Object3D (has the same resolution !)
Returns:
distance

angle

public double angle(Object3D a,
                    Object3D b)
Angle between (a, this, b) with real coordinates

Parameters:
a - Object3D a
b - Object3D b
Returns:
Angle in degrees

distBorder

public double distBorder(Object3D autre)
the minimum distance between two objets (in real distance) computed on the contours pixels

Parameters:
autre - the other Object3D
Returns:
the minimum distance

vectorBorderBorder

public Vector3D vectorBorderBorder(Object3D autre)
The vector between the two closest border to border point

Parameters:
autre - the othe object
Returns:
The difference vector between the two closest points

vectorCenterBorder

public Vector3D vectorCenterBorder(Object3D autre)
The vector between the center and border point

Parameters:
autre - the othe object
Returns:
The difference vector between the two closest points

distCenterBorder

public double distCenterBorder(Object3D autre)
Distance center to the border

Parameters:
autre - Other object
Returns:
Min distance between center and border ot other object

distPixelBorder

public double distPixelBorder(double x,
                              double y,
                              double z)
Distance from a point to the border of the object

Parameters:
x - x coordinate of the point
y - y coordinate of the point
z - z coordinate of the point
Returns:
The shortest distance

distPixelCenter

public double distPixelCenter(double x,
                              double y,
                              double z)
Parameters:
x -
y -
z -
Returns:

distPixelBorder

public double distPixelBorder(Point3D P)
Parameters:
P -
Returns:

vectorPixelUnitBorder

public Vector3D vectorPixelUnitBorder(double x,
                                      double y,
                                      double z)
Description of the Method

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter
Returns:
Description of the Return Value

vectorPixelUnitBorder

public Vector3D vectorPixelUnitBorder(double x,
                                      double y,
                                      double z,
                                      Vector3D dir)
Description of the Method

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter
dir - Description of the Parameter
Returns:
Description of the Return Value

vectorPixelBorder

public Vector3D vectorPixelBorder(double x,
                                  double y,
                                  double z)
Vector between a pixel and the closest border

Parameters:
x - x coordinate of the pixel
y - y coordinate of the pixel
z - z coordinate of the pixel
Returns:
the vector

vectorPixelBorder

public Vector3D vectorPixelBorder(Vector3D V)
Vector between a pixel and the closest border

Parameters:
V - Description of the Parameter
Returns:
the vector

vectorPixelUnitBorder

public Vector3D vectorPixelUnitBorder(Vector3D V)
Description of the Method

Parameters:
V - Description of the Parameter
Returns:
Description of the Return Value

vectorPixelUnitBorder

public Vector3D vectorPixelUnitBorder(Vector3D V,
                                      Vector3D dir)
Description of the Method

Parameters:
V - Description of the Parameter
dir - Description of the Parameter
Returns:
Description of the Return Value

distPixelBorder

public double distPixelBorder(double x,
                              double y,
                              double z,
                              Vector3D V)
Distance from a point along a direction to the border of the object

Parameters:
x - x coordinate of the point
y - y coordinate of the point
z - z coordinate of the point
V - the direction vector
Returns:
The shortest distance

radiusPixel

public double radiusPixel(double x,
                          double y,
                          double z)
Parameters:
x -
y -
z -
Returns:

radiusCenter

public double radiusCenter(Vector3D V)
Parameters:
V -
Returns:

radiusCenter

public double radiusCenter(Object3D obj)
Parameters:
obj -
Returns:

vectorPixelBorder

public Vector3D vectorPixelBorder(double x,
                                  double y,
                                  double z,
                                  Vector3D V)
Vector from a point along a direction to the border of the object

Parameters:
x - x coordinate of the point
y - y coordinate of the point
z - z coordinate of the point
V - the direction vector
Returns:
The shortest distance Vector

insideBounding

public boolean insideBounding(float x,
                              float y,
                              float z)
test if the point is inside the bounding box of the object

Parameters:
x - x coordinate of the point
y - y coordinate of the point
z - z coordinate of the point
Returns:
true or false

insideBounding

public boolean insideBounding(double x,
                              double y,
                              double z)
test if the point is inside the bounding box of the object

Parameters:
x - x coordinate of the point
y - y coordinate of the point
z - z coordinate of the point
Returns:
true or false

intersectionBox

public boolean intersectionBox(Object3D autre)
Test if the bouding boxes intersect

Parameters:
autre - the othe object
Returns:
true or false

pcColoc

public double pcColoc(Object3D other)
Parameters:
other - object
Returns:
percentage of colocalisation of this object into the other object

listVoxels

public java.util.ArrayList listVoxels(Image3D ima)
Parameters:
ima -
Returns:

pixelsContact

public double pixelsContact(Object3D other,
                            double dist_max)
Parameters:
other - object
dist_max - in pixel betwenn two contour points
Returns:
nb ofcontours points below distance max to contours points in other object

computeMomentsInertia

public void computeMomentsInertia()
Computation of the inertia tensor with units value


computeMoments

public void computeMoments()
Computation of the dispersion tensor with units value


computeMassCenter

public void computeMassCenter(Image3D ima)
compute mass center with an image

Parameters:
ima - the image

computeCenter

public final void computeCenter()
Compute the barycenter and the volume


computeContours

public void computeContours()
Compute the contours of the object rad=0.5


computeContours

public void computeContours(IntImage3D ima)
Parameters:
ima -

computeBounding

public final void computeBounding()
Compute the bounding box of the object


getMatrixAxes

public Matrix getMatrixAxes()
Gets the main axes vectors as a matrix

Returns:
The matrix, e1 is main axis

getVectorAxis

public Vector3D getVectorAxis(int order)
Gets the Axis attribute of the Object3D object (unit)

Parameters:
order - the order of the axis
Returns:
The mainAxis value

getValueAxis

public double getValueAxis(int order)
Gets the valueAxis attribute of the Object3D object (unit)

Parameters:
order - the order of the value
Returns:
The valueAxis value

getMainAxis

public Vector3D getMainAxis()
Gets the mainAxis attribute of the Object3D object (unit)

Returns:
The mainAxis value

getMainElongationAxis

public double getMainElongationAxis()
Gets the elongationAxis attribute of the Object3D object (unit)

Returns:
The main elongationAxis value

getMedianElongationAxis

public double getMedianElongationAxis()
Gets the elongationAxis attribute of the Object3D object (unit)

Returns:
The main elongationAxis value

segmentSpot

public boolean segmentSpot(int xdep,
                           int ydep,
                           int zdep,
                           int seuil,
                           int val,
                           IntImage3D originalImage)
Segment an object from a seed

Parameters:
seuil - Threshold to connect pixels
val - value of the object
xdep - x coordinate of the seed
ydep - y coordinate of the seed
zdep - z coordinate of the seed
originalImage - original image with the values
Returns:
true if object cold be segmented

segmentSpotMax

public boolean segmentSpotMax(int xdep,
                              int ydep,
                              int zdep,
                              int seuil,
                              int val,
                              IntImage3D originalImage)
Segment an object from a seed, keep only max local

Parameters:
seuil - Threshold to connect pixels
val - value of the object
xdep - x coordinate of the seed
ydep - y coordinate of the seed
zdep - z coordinate of the seed
originalImage - original image with the values
Returns:
true if object cold be segmented

draw

public void draw(ObjectCreator3D obj,
                 int col)
Description of the Method

Parameters:
obj - Description of the Parameter
col - Description of the Parameter

createRoi

public ij.gui.Roi createRoi(int z)
Constructor for the createRoi object

Parameters:
z - Description of the Parameter
Returns:
Description of the Return Value

draw

public void draw(ij.process.ByteProcessor mask,
                 int z,
                 int col)
Description of the Method

Parameters:
mask - Description of the Parameter
z - Description of the Parameter
col - Description of the Parameter

draw

public void draw(IntImage3D mask,
                 int col)
Parameters:
mask -
col -

drawContours

public void drawContours(ObjectCreator3D ima,
                         int col)
Parameters:
ima -
col -

draw

public void draw(ij.ImageStack mask,
                 int red,
                 int green,
                 int blue)
Parameters:
mask -
red -
green -
blue -

drawIntersection

public void drawIntersection(ij.ImageStack mask,
                             Object3D other,
                             int red,
                             int green,
                             int blue)
Parameters:
mask -
other -
red -
green -
blue -

draw

public void draw(ij.ImageStack mask,
                 int col)
Parameters:
mask -
col -

drawIntersection

public void drawIntersection(ij.ImageStack mask,
                             Object3D other,
                             int col)
Parameters:
mask -
other -
col -

separeSpot2D

public boolean separeSpot2D(IntImage3D ori,
                            int val,
                            int seuil,
                            Object3D f,
                            Object3D f1,
                            Object3D f2,
                            double dist,
                            int p1,
                            int p2)
Parameters:
ori -
val -
seuil -
f -
f1 -
f2 -
dist -
p1 -
p2 -
Returns:

toString

public java.lang.String toString()
Display information

Overrides:
toString in class java.lang.Object
Returns:
text