Wavelet Transformation Demo:
Abstract class as a template for analysis or synthesis display
boundaryMethod
(package private) String boundaryMethod
byteData
(package private) byte[][][] byteData
canvas
(package private) ImageCanvas canvas
dispNorm
(package private) boolean dispNorm
displayBands
private int displayBands
displayCols
private int displayCols
displayRows
private int displayRows
endCol
(package private) int endCol
endRow
(package private) int endRow
image
(package private) RenderedImage image
lineColor
(package private) int lineColor
startCol
(package private) int startCol
startRow
(package private) int startRow
copyRowData
(package private) void copyRowData(double[] in,
int level,
int band,
int row,
int col,
int start,
int end,
boolean check,
int dataType)
Copy the convoluted row data to the display array
in
- The convoluted data input arrayband
- The display bandrow
- The display rowcol
- The display start columnstart
- The starting position in the input arrayend
- The ending position in the input array
createImage
(package private) RenderedImage createImage(byte[][] data,
int disBands,
int disRows,
int disCols)
Create a rendered image from an 2-dim array of bytes
getDisplayArray
public byte[][][] getDisplayArray()
Return the byte array
getImage
public RenderedImage getImage()
Returns the current image
initData
public void initData(Data data)
Init the display array with the original image data
insertSeperator
(package private) void insertSeperator(int band,
int row,
int col)
Insert a line between the convolution spaces
run
public void run()
Display the convoluted data
scaleImage
(package private) RenderedImage scaleImage(RenderedImage src,
Interpolation ip)
Scale an image
setCanvas
public void setCanvas(ImageCanvas canvas)
Set the ImageCanvas
setDataColTransform
(package private) void setDataColTransform(Data data,
int level,
int numDispRows,
int numDispCols,
int dataType,
boolean lastLowPass)
Copies the transformed data to a byte array for display (after transformation of columns)
setDataRowTransform
(package private) void setDataRowTransform(Data data,
int level,
int numDispRows,
int numDispCols,
int dataType,
boolean lastLowPass)
Copies the transformed data to a byte array for display (after transformation of rows)
setImage
public void setImage(int numBands,
int numRows,
int numCols)
Converts the 3-dim image data to 2-dim and creates a RenderedImage - w/o interpolation
setImage
public void setImage(int numBands,
int numRows,
int numCols,
Interpolation ip)
Converts the 3-dim image data to 2-dim and creates a RenderedImage - with interpolation