public class Grid2DComplex extends Grid2D
Constructor and Description |
---|
Grid2DComplex(Grid2D grid) |
Grid2DComplex(Grid2D grid,
boolean extendToNextPow2) |
Grid2DComplex(Grid2DComplex grid) |
Grid2DComplex(int width,
int height) |
Grid2DComplex(int width,
int height,
boolean extendToNextPow2) |
Modifier and Type | Method and Description |
---|---|
void |
addAtIndex(int i,
int j,
float val) |
Grid2DComplex |
clone()
Deep copy the object
|
float |
getAtIndex(int i,
int j)
implicitely returns the magnitude of the complex number
|
float |
getImagAtIndex(int i,
int j) |
Grid2D |
getImagSubGrid(int startIndexX,
int startIndexY,
int lengthX,
int lengthY) |
Grid2D |
getMagnSubGrid(int startIndexX,
int startIndexY,
int lengthX,
int lengthY) |
int |
getNumberOfElements()
Get number of float elements
|
Grid2D |
getPhaseSubGrid(int startIndexX,
int startIndexY,
int lengthX,
int lengthY) |
float |
getRealAtIndex(int i,
int j) |
Grid2D |
getRealSubGrid(int startIndexX,
int startIndexY,
int lengthX,
int lengthY) |
int[] |
getSize() |
static void |
main(java.lang.String[] args) |
void |
multiplyAtIndex(int i,
int j,
float val) |
void |
multiplyAtIndex(int i,
int j,
float real,
float imag) |
void |
setAtIndex(int i,
int j,
float val) |
void |
setImagAtIndex(int i,
int j,
float val) |
void |
setRealAtIndex(int i,
int j,
float val) |
void |
show()
Show the object in an imageJ window
|
void |
show(java.lang.String title)
Show the object in an imageJ window with title
|
java.lang.String |
toString()
Serialize the grid's content to a String.
|
void |
transformForward() |
void |
transformInverse() |
applyTransform, divideAtIndex, getBuffer, getHeight, getPixels, getPixelValue, getSubGrid, getValue, getWidth, indexToPhysical, physicalToIndex, putPixelValue, putPixelValue, setOrigin, setSpacing, subAtIndex
getOrigin, getSpacing
public Grid2DComplex(int width, int height)
public Grid2DComplex(int width, int height, boolean extendToNextPow2)
public Grid2DComplex(Grid2D grid, boolean extendToNextPow2)
public Grid2DComplex(Grid2D grid)
public Grid2DComplex(Grid2DComplex grid)
public Grid2DComplex clone()
Grid
public float getAtIndex(int i, int j)
getAtIndex
in class Grid2D
public void multiplyAtIndex(int i, int j, float val)
multiplyAtIndex
in class Grid2D
public void multiplyAtIndex(int i, int j, float real, float imag)
public void addAtIndex(int i, int j, float val)
addAtIndex
in class Grid2D
public void setAtIndex(int i, int j, float val)
setAtIndex
in class Grid2D
public float getRealAtIndex(int i, int j)
public float getImagAtIndex(int i, int j)
public void setRealAtIndex(int i, int j, float val)
public void setImagAtIndex(int i, int j, float val)
public void transformForward()
public void transformInverse()
public Grid2D getRealSubGrid(int startIndexX, int startIndexY, int lengthX, int lengthY)
public Grid2D getImagSubGrid(int startIndexX, int startIndexY, int lengthX, int lengthY)
public Grid2D getMagnSubGrid(int startIndexX, int startIndexY, int lengthX, int lengthY)
public Grid2D getPhaseSubGrid(int startIndexX, int startIndexY, int lengthX, int lengthY)
public int[] getSize()
public void show(java.lang.String title)
Grid
public void show()
Grid
public int getNumberOfElements()
Grid
getNumberOfElements
in class Grid
public static void main(java.lang.String[] args)
public java.lang.String toString()
Grid