public class Measure3DBeadMTF extends EvaluateROI
Constructor and Description |
---|
Measure3DBeadMTF() |
Modifier and Type | Method and Description |
---|---|
double[] |
computeComplexFrequencies(double[] fft,
double voxelsize) |
double[] |
computeModelMTF(double[] fft,
double range,
int pixelsize) |
double[] |
computeMTF(double[] pixels,
int padding) |
void |
configure()
Configures the object before execution
|
java.lang.Object |
evaluate() |
double[] |
getPixels(ij.ImagePlus image,
double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
int numberOfQuantizationSteps)
Method to perform trilinear interpolation along a line through an ImagePlus.
|
java.lang.String |
toString() |
double |
trilinear(ij.ImagePlus data3D,
double x,
double y,
double z)
Trilinear Interpolation in an ImagePlus.
Adopted from Volume Viewer by Kai Uwe Barthel: barthel (at) fhtw-berlin.de This method is initialized in the first call with the volume dimensions to save computation time. If this interpolation method is used from somewhere else, please use this method only on volumes of the same dimension. |
getImage, getRoi, isConfigured, knownMethods, setConfigured, setImage, setRoi
public double[] computeComplexFrequencies(double[] fft, double voxelsize)
public double[] computeModelMTF(double[] fft, double range, int pixelsize)
public double[] computeMTF(double[] pixels, int padding)
public double[] getPixels(ij.ImagePlus image, double x1, double x2, double y1, double y2, double z1, double z2, int numberOfQuantizationSteps)
image
- the ImagePlusx1
- start xx2
- end xy1
- start yy2
- end yz1
- start zz2
- end znumberOfQuantizationSteps
- public java.lang.Object evaluate()
evaluate
in class EvaluateROI
public void configure() throws java.lang.Exception
GUIConfigurable
java.lang.Exception
- may happenpublic java.lang.String toString()
toString
in class EvaluateROI
public double trilinear(ij.ImagePlus data3D, double x, double y, double z)
data3D
- the ImagePlusx
- the x coordinatey
- the y coordinatez
- the z coordinate