ij3d.image3d
Class FHTImage3D

java.lang.Object
  extended by ij3d.image3d.Image3D
      extended by ij3d.image3d.RealImage3D
          extended by ij3d.image3d.FHTImage3D

public class FHTImage3D
extends RealImage3D

Description of the Class

Author:
cedric

Field Summary
 
Fields inherited from class ij3d.image3d.Image3D
BYTE, centerx, centery, centerz, FLOAT, max, mean, min, SHORT, sigma, sizex, sizey, sizez, stack, type, XAXIS, YAXIS, ZAXIS
 
Constructor Summary
FHTImage3D(Image3D img)
          Constructor for the FHTImage3D object
FHTImage3D(Image3D img, boolean doTransform)
          Constructor for the FHTImage3D object
FHTImage3D(ij.process.ImageProcessor ip)
          Constructor for the FHTImage3D object
FHTImage3D(ij.process.ImageProcessor ip, boolean doTransform)
          Constructor for the FHTImage3D object
FHTImage3D(ij.ImageStack stack)
          Constructor for the FHTImage3D object the transform is automatically launched
FHTImage3D(ij.ImageStack stack, boolean doTransform)
          Constructor for the FHTImage3D object
FHTImage3D(int sizex, int sizey, int sizez, boolean doTransform)
          Constructor for the FHTImage3D object
 
Method Summary
 void bandPassFilter(float rayonmincut, float rayonminkeep, float rayonmaxkeep, float rayonmaxcut)
          Band Pass Filter
 FHTImage3D center()
          Description of the Method
static ij.ImageStack crossCorrelation(Image3D img1, Image3D img2)
          Cross Correlation 3D on Image3D
static ij.ImageStack crossCorrelation(ij.ImageStack img1, ij.ImageStack img2)
          Cross Correlation 3D on ImageStack
 FHTImage3D decenter()
          Description of the Method
 FHTImage3D doForwardTransform()
          Description of the Method
 FHTImage3D doInverseTransform()
          Description of the Method
 FHTImage3D duplicate()
          Description of the Method
 void FHT3D()
          Description of the Method
 void fill3D(FHTImage3D[] proj, Vector3D[] W)
          Fill 3D Reconstruction using central section theorem
 double getAngle(int x, int y, int z)
          Gets the angle of the FHTImage3D pixel
 float getImag(int x, int y, int z)
          Gets the imag attribute of the FHTImage3D object
static Pixel3D getMaxCorrelation(FHTImage3D fht1, FHTImage3D fht2)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(FHTImage3D fht1, FHTImage3D fht2, int RmaxX, int RmaxY, int RmaxZ)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(Image3D img1, Image3D img2)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(Image3D img1, Image3D img2, int RmaxX, int RmaxY, int RmaxZ)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(ij.process.ImageProcessor img1, ij.process.ImageProcessor img2)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(ij.process.ImageProcessor img1, ij.process.ImageProcessor img2, int RmaxX, int RmaxY)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(ij.ImageStack img1, ij.ImageStack img2)
          Gets the maxCorrelation attribute of the FHTImage3D class
static Pixel3D getMaxCorrelation(ij.ImageStack img1, ij.ImageStack img2, int RmaxX, int RmaxY, int RmaxZ)
          Gets the maxCorrelation attribute of the FHTImage3D class
 double getNorm(int x, int y, int z)
          Gets the norm of the FHTImage3D pixel
 ij.ImageStack getPowerSpectrum()
          Gets the powerSpectrum attribute of the FHTImage3D object
 ij.ImageStack getPowerSpectrum(boolean log)
          Gets the powerStack attribute of the FHTImage3D object
 float getReal(int x, int y, int z)
          Gets the real attribute of the FHTImage3D object
 ij.ImageStack getStack()
          Gets the stack attribute of the FHTImage3D object
static Pixel3D getTranslation(FHTImage3D xcorr)
          Gets the translation attribute of the FHTImage3D class
static Pixel3D getTranslation(FHTImage3D xcorr, int RmaxX, int RmaxY, int RmaxZ)
          Gets the translation attribute of the FHTImage3D class
protected  float getValue(int x, int y, int z)
          Gets the value attribute of the FHTImage3D object
 FHTImage3D RFilter()
          Description of the Method
 FHTImage3D RFilter(float coeff, boolean centre)
          Filtre R pour tomographie sur FFT centree
 void setCenter(boolean ce)
          Sets the center attribute of the FHTImage3D object
 FHTImage3D swapQuadrants()
          Description of the Method
static FHTImage3D Xcorr(FHTImage3D fht1, FHTImage3D fht2)
          Description of the Method
static FHTImage3D Xcorr(Image3D img1, Image3D img2)
          Description of the Method
static FHTImage3D Xcorr(ij.process.ImageProcessor img1, ij.process.ImageProcessor img2)
          Description of the Method
static FHTImage3D Xcorr(ij.ImageStack img1, ij.ImageStack img2)
          Description of the Method
 void zeroValue(int x, int y, int z)
          Description of the Method
 
Methods inherited from class ij3d.image3d.RealImage3D
add, add, add, addImage, addImage, addValue, applyTransform, autoApplyTransform, binarisation, centerCrop, createLocalMaximaImage, crop, dilatation3D, divideBy, erosion3D, fermeture3D, getHistogram, getMaximum, getMinimum, getPix, getPix, getPixel, getPixel, getPixel, getPixelTransformedI, getPixelTransformedI, getPow2Img, getPow2Img, getTransformPixel, isLocalMaximum, maximumFilter, medianFilter, minimumFilter, multiplyBy, multiplyBy, nonLinearLaplacianFilter, ouverture3D, project, project, projection, projectionInterpolated, putPixel, putPixel, resetImage, setPix, setSizes, tophatFilter
 
Methods inherited from class ij3d.image3d.Image3D
computeMinMax, createKernelEllipsoid, extract, getCenterX, getCenterY, getCenterZ, getFloatMaximum, getFloatMinimum, getMaxPixel, getMean, getNeighborhood, getNeighborhood, getNeighborhood3, getNeighborhoodKernel, getNeighborhoodLayer, getNeighborhoodSphere, getSigma, getSizex, getSizey, getSizez, getSumAbs, getType, insert, kill, radialDistribution, reset, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FHTImage3D

public FHTImage3D(ij.ImageStack stack)
Constructor for the FHTImage3D object the transform is automatically launched

Parameters:
stack - original datas

FHTImage3D

public FHTImage3D(ij.ImageStack stack,
                  boolean doTransform)
Constructor for the FHTImage3D object

Parameters:
stack - Description of the Parameter
doTransform - Description of the Parameter

FHTImage3D

public FHTImage3D(ij.process.ImageProcessor ip)
Constructor for the FHTImage3D object

Parameters:
ip - Description of the Parameter

FHTImage3D

public FHTImage3D(ij.process.ImageProcessor ip,
                  boolean doTransform)
Constructor for the FHTImage3D object

Parameters:
ip - Description of the Parameter
doTransform - Description of the Parameter

FHTImage3D

public FHTImage3D(Image3D img)
Constructor for the FHTImage3D object

Parameters:
img - Description of the Parameter

FHTImage3D

public FHTImage3D(Image3D img,
                  boolean doTransform)
Constructor for the FHTImage3D object

Parameters:
img - Description of the Parameter
doTransform - Description of the Parameter

FHTImage3D

public FHTImage3D(int sizex,
                  int sizey,
                  int sizez,
                  boolean doTransform)
Constructor for the FHTImage3D object

Parameters:
sizex - Description of the Parameter
sizey - Description of the Parameter
sizez - Description of the Parameter
doTransform - Description of the Parameter
Method Detail

duplicate

public FHTImage3D duplicate()
Description of the Method

Returns:
Description of the Return Value

getStack

public ij.ImageStack getStack()
Gets the stack attribute of the FHTImage3D object

Overrides:
getStack in class RealImage3D
Returns:
The stack value

getPowerSpectrum

public ij.ImageStack getPowerSpectrum()
Gets the powerSpectrum attribute of the FHTImage3D object

Returns:
The powerSpectrum value

getPowerSpectrum

public ij.ImageStack getPowerSpectrum(boolean log)
Gets the powerStack attribute of the FHTImage3D object

Parameters:
log - Description of the Parameter
Returns:
The powerStack value

getValue

protected float getValue(int x,
                         int y,
                         int z)
Gets the value attribute of the FHTImage3D object

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
The value

getReal

public float getReal(int x,
                     int y,
                     int z)
Gets the real attribute of the FHTImage3D object

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
The real value

getNorm

public double getNorm(int x,
                      int y,
                      int z)
Gets the norm of the FHTImage3D pixel

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
The power value

getAngle

public double getAngle(int x,
                       int y,
                       int z)
Gets the angle of the FHTImage3D pixel

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
The angle value (in radians)

getImag

public float getImag(int x,
                     int y,
                     int z)
Gets the imag attribute of the FHTImage3D object

Parameters:
x - x coordinate
y - y coordinate
z - z coordinate
Returns:
The imag value

doForwardTransform

public FHTImage3D doForwardTransform()
Description of the Method

Returns:
Description of the Return Value

doInverseTransform

public FHTImage3D doInverseTransform()
Description of the Method

Returns:
Description of the Return Value

crossCorrelation

public static ij.ImageStack crossCorrelation(ij.ImageStack img1,
                                             ij.ImageStack img2)
Cross Correlation 3D on ImageStack

Parameters:
img1 - First stack
img2 - Second stack
Returns:
Correlation stack

crossCorrelation

public static ij.ImageStack crossCorrelation(Image3D img1,
                                             Image3D img2)
Cross Correlation 3D on Image3D

Parameters:
img1 - First Image3D
img2 - Second Image3D
Returns:
Correlation stack

Xcorr

public static FHTImage3D Xcorr(FHTImage3D fht1,
                               FHTImage3D fht2)
Description of the Method

Parameters:
fht1 - Description of the Parameter
fht2 - Description of the Parameter
Returns:
Description of the Return Value

Xcorr

public static FHTImage3D Xcorr(ij.ImageStack img1,
                               ij.ImageStack img2)
Description of the Method

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
Description of the Return Value

Xcorr

public static FHTImage3D Xcorr(ij.process.ImageProcessor img1,
                               ij.process.ImageProcessor img2)
Description of the Method

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
Description of the Return Value

Xcorr

public static FHTImage3D Xcorr(Image3D img1,
                               Image3D img2)
Description of the Method

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
Description of the Return Value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(ij.process.ImageProcessor img1,
                                        ij.process.ImageProcessor img2)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(ij.ImageStack img1,
                                        ij.ImageStack img2)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(FHTImage3D fht1,
                                        FHTImage3D fht2)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
fht1 - Description of the Parameter
fht2 - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(Image3D img1,
                                        Image3D img2)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(Image3D img1,
                                        Image3D img2,
                                        int RmaxX,
                                        int RmaxY,
                                        int RmaxZ)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
RmaxX - Description of the Parameter
RmaxY - Description of the Parameter
RmaxZ - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(ij.ImageStack img1,
                                        ij.ImageStack img2,
                                        int RmaxX,
                                        int RmaxY,
                                        int RmaxZ)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
RmaxX - Description of the Parameter
RmaxY - Description of the Parameter
RmaxZ - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(ij.process.ImageProcessor img1,
                                        ij.process.ImageProcessor img2,
                                        int RmaxX,
                                        int RmaxY)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
img1 - Description of the Parameter
img2 - Description of the Parameter
RmaxX - Description of the Parameter
RmaxY - Description of the Parameter
Returns:
The maxCorrelation value

getMaxCorrelation

public static Pixel3D getMaxCorrelation(FHTImage3D fht1,
                                        FHTImage3D fht2,
                                        int RmaxX,
                                        int RmaxY,
                                        int RmaxZ)
Gets the maxCorrelation attribute of the FHTImage3D class

Parameters:
fht1 - Description of the Parameter
fht2 - Description of the Parameter
RmaxX - Description of the Parameter
RmaxY - Description of the Parameter
RmaxZ - Description of the Parameter
Returns:
The maxCorrelation value

getTranslation

public static Pixel3D getTranslation(FHTImage3D xcorr,
                                     int RmaxX,
                                     int RmaxY,
                                     int RmaxZ)
Gets the translation attribute of the FHTImage3D class

Parameters:
xcorr - Description of the Parameter
RmaxX - Description of the Parameter
RmaxY - Description of the Parameter
RmaxZ - Description of the Parameter
Returns:
The translation value

getTranslation

public static Pixel3D getTranslation(FHTImage3D xcorr)
Gets the translation attribute of the FHTImage3D class

Parameters:
xcorr - Description of the Parameter
Returns:
The translation value

center

public FHTImage3D center()
Description of the Method

Returns:
Description of the Return Value

setCenter

public void setCenter(boolean ce)
Sets the center attribute of the FHTImage3D object

Parameters:
ce - The new center value

decenter

public FHTImage3D decenter()
Description of the Method

Returns:
Description of the Return Value

swapQuadrants

public FHTImage3D swapQuadrants()
Description of the Method

Returns:
Description of the Return Value

FHT3D

public void FHT3D()
Description of the Method


RFilter

public FHTImage3D RFilter()
Description of the Method

Returns:
Description of the Return Value

RFilter

public FHTImage3D RFilter(float coeff,
                          boolean centre)
Filtre R pour tomographie sur FFT centree

Parameters:
coeff - Description of the Parameter
centre - Description of the Parameter
Returns:
Description of the Return Value

bandPassFilter

public void bandPassFilter(float rayonmincut,
                           float rayonminkeep,
                           float rayonmaxkeep,
                           float rayonmaxcut)
Band Pass Filter

Parameters:
rayonmincut - Description of the Parameter
rayonminkeep - Description of the Parameter
rayonmaxkeep - Description of the Parameter
rayonmaxcut - Description of the Parameter

zeroValue

public void zeroValue(int x,
                      int y,
                      int z)
Description of the Method

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter

fill3D

public void fill3D(FHTImage3D[] proj,
                   Vector3D[] W)
Fill 3D Reconstruction using central section theorem

Parameters:
proj - Array of FFT of the projections
W - Orientations of the images