|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.vecmath.Tuple2d
javax.vecmath.Point2d
uk.ac.ed.ph.signal.Grid2d
uk.ac.ed.ph.signal.Image
uk.ac.ed.ph.signal.ComplexImage
public class ComplexImage
Class to manipulate Complex monochrome images with the underlying data held in a one-dimensional double array compatible with jfftw.
Field Summary |
---|
Fields inherited from class uk.ac.ed.ph.signal.Image |
---|
data, statistics |
Fields inherited from class uk.ac.ed.ph.signal.Grid2d |
---|
height, width |
Fields inherited from class javax.vecmath.Tuple2d |
---|
x, y |
Constructor Summary | |
---|---|
ComplexImage(ComplexImage s)
Constrcuor to form new ComplexImage being a copy of the specified ComplexImage |
|
ComplexImage(int w,
int h)
Constrcuor to form a new ComplexImage of specified size |
|
ComplexImage(RealImage s)
Constrcuor to form new ComplexImage with the Real part being taken from the scecified RealImage |
Method Summary | |
---|---|
ComplexImage |
clone()
Methed to clone the current image, inclduing the data |
ComplexImage |
extract(int xstart,
int ystart,
int w,
int h)
Method to extract a region of an Complex image into a` new ComplexImage with samples of 1 in both direction. |
ComplexImage |
extract(int xstart,
int ystart,
int w,
int h,
int xsample,
int ysample)
Method to extract a region of an Complex image into a` new ComplexImage |
ComplexSignal |
getColumn(int i)
Method to get a Column as a ComplexSignal |
ComplexDataArray |
getDataArray()
Method to get the underlying ComplexDataArray |
RealImage |
getRealImage(int flag)
Method to get RealImage with conversion determined by the conversion flag |
ComplexSignal |
getRow(int j)
Method to get a row as a ComplexSignal |
Methods inherited from class uk.ac.ed.ph.signal.Image |
---|
add, add, add, centreFourier, conjugate, conjugate, conjugate, fill, fourier, getComplex, getComplex, getConversion, getDataBuffer, getDouble, getDoubleValue, getSpace, getTitle, getType, mult, mult, mult, mult, mult, mult, mult, mult, multConjugate, setComplex, setComplex, setComplex, setComplex, setConversion, setDouble, setDouble, setStatisticsInvalid, setTitle, toString, validStatistics |
Methods inherited from class uk.ac.ed.ph.signal.Grid2d |
---|
getCentre, getDeltaX, getDeltaY, getHeight, getPoint, getPoint, getSample, getSamplePoint, getWidth, getXCentre, getXRange, getYCentre, getYRange, setCentre, setCentre, setHeight, setRange, setRange, setSampleGrid, setSampleGrid, setWidth |
Methods inherited from class javax.vecmath.Point2d |
---|
distance, distanceL1, distanceLinf, distanceSquared |
Methods inherited from class javax.vecmath.Tuple2d |
---|
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, getX, getY, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setX, setY, sub, sub |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComplexImage(int w, int h)
w
- the width of the imageh
- the heigh of the imagepublic ComplexImage(ComplexImage s)
s
- the specifing ComplexImagepublic ComplexImage(RealImage s)
s
- the specifing ComplexImageMethod Detail |
---|
public ComplexImage clone()
clone
in class Grid2d
ComplexImage
clone of curret ComplexImagepublic ComplexDataArray getDataArray()
ComplexDataArray
underlying dataarraypublic RealImage getRealImage(int flag)
flag
- the conversion flaguk.ac.ed.ph.jfftw.Complex
public ComplexSignal getRow(int j)
j
- the rowpublic ComplexSignal getColumn(int i)
i
- the columnpublic ComplexImage extract(int xstart, int ystart, int w, int h, int xsample, int ysample)
xstart
- left start pixelystart
- top start pixelw
- width to be extractedh
- height to be extractedxsample
- sample interval in x directionysample
- sample internal in y directionpublic ComplexImage extract(int xstart, int ystart, int w, int h)
xstart
- left start pixelystart
- top start pixelw
- width to be extractedh
- height to be extracted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |