|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij3d.image3d.Image3D
public abstract class Image3D
Description of the Class
Field Summary | |
---|---|
static int |
BYTE
Description of the Field |
protected float |
centerx
Description of the Field |
protected float |
centery
Description of the Field |
protected float |
centerz
Description of the Field |
static int |
FLOAT
Description of the Field |
protected Pixel3D |
max
Description of the Field |
protected float |
mean
Description of the Field |
protected Pixel3D |
min
Description of the Field |
static int |
SHORT
Description of the Field |
protected float |
sigma
Description of the Field |
protected int |
sizex
Description of the Field |
protected int |
sizey
Description of the Field |
protected int |
sizez
Description of the Field |
protected ij.ImageStack |
stack
Description of the Field |
int |
type
Description of the Field |
static int |
XAXIS
Description of the Field |
static int |
YAXIS
Description of the Field |
static int |
ZAXIS
Description of the Field |
Constructor Summary | |
---|---|
Image3D(ij.ImageStack pile)
Constructor for the Image3D object |
|
Image3D(int sizex,
int sizey,
int sizez,
int type)
Constructor for the Image3D object |
Method Summary | |
---|---|
abstract IntImage3D |
binarisation(int seuilb,
int seuilh)
binarisation de l'image, creation d'une image avec 255 si entre les deux seuils |
void |
computeMinMax()
Description of the Method |
int[] |
createKernelEllipsoid(float radx,
float rady,
float radz)
|
abstract Image3D |
createLocalMaximaImage(int voisx,
int voisy,
int voisz,
boolean keep)
Création d'une image des maxima locaux dans un voisinage donne |
Image3D |
crop(int newzerox,
int newzeroy,
int newzeroz,
int newsizex,
int newsizey,
int newsizez)
Description of the Method |
Image3D |
extract(int x0,
int y0,
int z0,
int rx,
int ry,
int rz,
boolean sphere)
extract a 3D image from a specified location as the center of crop |
float |
getCenterX()
Gets the centerX attribute of the Image3D object |
float |
getCenterY()
Gets the centerY attribute of the Image3D object |
float |
getCenterZ()
Gets the centerZ attribute of the Image3D object |
protected double |
getFloatMaximum()
Gets the floatMaximum attribute of the Image3D object |
protected double |
getFloatMinimum()
Gets the floatMinimum attribute of the Image3D object |
abstract TabUtil |
getHistogram()
donne l'histogramme de l'image3D |
Pixel3D |
getMaxPixel()
Gets the maxPixel attribute of the Image3D object |
float |
getMean()
Gets the mean attribute of the Image3D object |
TabUtil |
getNeighborhood(Image3D ker,
int x,
int y,
int z)
Gets the neighboring of a pixel, with a kernel |
TabUtil |
getNeighborhood(int x,
int y,
int z,
int voisx,
int voisy,
int voisz)
Gets the voisinage attribute of the Image3D object (sphere) |
TabUtil |
getNeighborhood3(int x,
int y,
int z)
Gets the 3D neighborhood of the pixel in 8 connexicty --> 27 pixels |
TabUtil |
getNeighborhoodKernel(int[] ker,
int nbval,
int x,
int y,
int z,
float radx,
float rady,
float radz)
Gets the voisinage attribute of the Image3D object |
TabUtil |
getNeighborhoodLayer(int x,
int y,
int z,
float r0,
float r1)
|
TabUtil |
getNeighborhoodSphere(int x,
int y,
int z,
float voisx,
float voisy,
float voisz)
Gets the neighboring of a pixel (sphere) |
abstract float |
getPix(float x,
float y,
float z)
Gets the pix attribute of the Image3D object |
abstract float |
getPix(int x,
int y,
int z)
Gets the pix attribute of the Image3D object |
float |
getSigma()
Gets the sigma attribute of the Image3D object |
int |
getSizex()
Gets the sizex attribute of the Image3D object |
int |
getSizey()
Gets the sizey attribute of the Image3D object |
int |
getSizez()
Gets the sizez attribute of the Image3D object |
ij.ImageStack |
getStack()
Constructor for the ImageStack object |
float |
getSumAbs()
Gets the sumAbs attribute of the Image3D object |
int |
getType()
Gets the type attribute of the Image3D object |
void |
insert(Image3D vol,
int x0,
int y0,
int z0,
boolean moy)
Insert a 3D image to a specified location |
void |
kill()
Kill the Image3D |
double[] |
radialDistribution(int x0,
int y0,
int z0,
int maxR)
|
void |
reset()
|
abstract void |
setPix(int x,
int y,
int z,
double value)
Sets the pix attribute of the Image3D object |
Image3D[] |
split(int axis,
int nb,
int overlap)
Split a image into sub images |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int sizex
protected int sizey
protected int sizez
public final int type
public static final int BYTE
public static final int SHORT
public static final int FLOAT
protected Pixel3D max
protected Pixel3D min
protected float sigma
protected float mean
protected float centerx
protected float centery
protected float centerz
public static final int XAXIS
public static final int YAXIS
public static final int ZAXIS
protected ij.ImageStack stack
Constructor Detail |
---|
public Image3D(int sizex, int sizey, int sizez, int type)
sizex
- Description of the Parametersizey
- Description of the Parametersizez
- Description of the Parametertype
- Description of the Parameterpublic Image3D(ij.ImageStack pile)
pile
- Description of the ParameterMethod Detail |
---|
public void kill()
public void reset()
public ij.ImageStack getStack()
public abstract float getPix(int x, int y, int z)
x
- Description of the Parametery
- Description of the Parameterz
- Description of the Parameter
public abstract float getPix(float x, float y, float z)
x
- Description of the Parametery
- Description of the Parameterz
- Description of the Parameter
public abstract void setPix(int x, int y, int z, double value)
x
- The new pix valuey
- The new pix valuez
- The new pix valuevalue
- The new pix valuepublic int getSizex()
public int getSizey()
public int getSizez()
public int getType()
public float getCenterX()
public float getCenterY()
public float getCenterZ()
protected double getFloatMaximum()
protected double getFloatMinimum()
public void computeMinMax()
public float getMean()
public float getSumAbs()
public float getSigma()
public Pixel3D getMaxPixel()
public TabUtil getNeighborhoodSphere(int x, int y, int z, float voisx, float voisy, float voisz)
x
- Coordinate x of the pixely
- Coordinate y of the pixelz
- Coordinate z of the pixelvoisx
- Radius x of the neighboringvoisy
- Radius y of the neighboringvoisz
- Radius z of the neighboring
public TabUtil getNeighborhood3(int x, int y, int z)
x
- x coordinatey
- y coordinatez
- z coordinate
public TabUtil getNeighborhood(int x, int y, int z, int voisx, int voisy, int voisz)
x
- Description of the Parametery
- Description of the Parameterz
- Description of the Parametervoisx
- Description of the Parametervoisy
- Description of the Parametervoisz
- Description of the Parameter
public TabUtil getNeighborhoodLayer(int x, int y, int z, float r0, float r1)
x
- y
- z
- r0
- r1
-
public double[] radialDistribution(int x0, int y0, int z0, int maxR)
x0
- y0
- z0
- maxR
-
public TabUtil getNeighborhood(Image3D ker, int x, int y, int z)
x
- Coordinate x of the pixely
- Coordinate y of the pixelz
- Coordinate z of the pixelker
- The kernel (0 = outside kernel, else inside)
public TabUtil getNeighborhoodKernel(int[] ker, int nbval, int x, int y, int z, float radx, float rady, float radz)
ker
- Description of the Parameternbval
- x
- Description of the Parametery
- Description of the Parameterz
- Description of the Parameterradx
- radz
- rady
-
public int[] createKernelEllipsoid(float radx, float rady, float radz)
radx
- rady
- radz
-
public void insert(Image3D vol, int x0, int y0, int z0, boolean moy)
vol
- the 3D image to be insertedx0
- the x coordinate of the insertiony0
- the y coordinate of the insertionz0
- the z coordinate of the insertionmoy
- average with original imagepublic Image3D extract(int x0, int y0, int z0, int rx, int ry, int rz, boolean sphere)
x0
- the x coordinate of the center of the extractiony0
- the y coordinate of the center of the extractionz0
- the z coordinate of the center of the extractionrx
- radius X of new imagery
- radius Y of new imagerz
- radius Z of new imagesphere
- extract inside a sphere
public Image3D crop(int newzerox, int newzeroy, int newzeroz, int newsizex, int newsizey, int newsizez)
newzerox
- Description of the Parameternewzeroy
- Description of the Parameternewsizex
- Description of the Parameternewsizey
- Description of the Parameternewsizez
- Description of the Parameternewzeroz
- Description of the Parameter
public Image3D[] split(int axis, int nb, int overlap)
axis
- the axis to split alongnb
- the number of splitted partsoverlap
- the overlap (in pixels)
public abstract Image3D createLocalMaximaImage(int voisx, int voisy, int voisz, boolean keep)
voisx
- taille voisiange en xvoisy
- taille voisiange en yvoisz
- taille voisiange en zkeep
-
public abstract IntImage3D binarisation(int seuilb, int seuilh)
seuilb
- seuil basseuilh
- seuil haut
public abstract TabUtil getHistogram()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |