Class NonStdImage
- Runnable
Wavelet Transformation Demo:
Class for display of the Non-Standard decomposition
boundaryMethod , byteData , canvas , dispNorm , displayBands , displayCols , displayRows , endCol , endRow , image , lineColor , startCol , startRow |
NonStdImage(ImageCanvas ic, int bands, int rows, int cols, int lc, boolean norm, String bm) - Constructor for a specialized display of the non-standard transformation
|
void | setDataColTransform(Data data, int level, int numDispRows, int numDispCols, int dataType, boolean lastLP) - Shorten the transformed samples (here: after column transformation) according to their
display layout (eg.
|
void | setDataRowTransform(Data data, int level, int numDispRows, int numDispCols, int dataType, boolean lastLP) - Shorten the transformed samples (here: after row transformation) according to their
display layout (eg.
|
private void | setStartAndEnd(Data data, int rowPos1, int rowPos2, int numDispRows, int colPos1, int colPos2, int numDispCols) - Determine the start and end positions (for rows and cols) in the convoluted samples
array for shortened display.
|
copyRowData , createImage , getDisplayArray , getDisplayPositions , getImage , initData , insertSeperator , run , scaleImage , setCanvas , setDataColTransform , setDataRowTransform , setImage , setImage |
NonStdImage
public NonStdImage(ImageCanvas ic,
int bands,
int rows,
int cols,
int lc,
boolean norm,
String bm)
Constructor for a specialized display of the non-standard transformation
ic
- Target display ImageCanvasbands
- Number of bands to displayrows
- Number of rows to displaycols
- Number of columns to displaylc
- Transformation display line colornorm
- Display normalization flagbm
- Current border extension method
setDataColTransform
public void setDataColTransform(Data data,
int level,
int numDispRows,
int numDispCols,
int dataType,
boolean lastLP)
Shorten the transformed samples (here: after column transformation) according to their
display layout (eg. LL, HL, LH, HH,..) and copy them to a byte array for image creation.
- setDataColTransform in interface ImageMaker
data
- Convoluted samples arraylevel
- Current transformation levelnumDispRows
- Number of rows to displaynumDispCols
- Number of columns to displaydataType
- Type of convoluted data (lowPass, highPass, both for synthesis,...)lastLP
- Flag: Is currrent low pass the last low pass of the transformation?
setDataRowTransform
public void setDataRowTransform(Data data,
int level,
int numDispRows,
int numDispCols,
int dataType,
boolean lastLP)
Shorten the transformed samples (here: after row transformation) according to their
display layout (eg. LL, HL, LH, HH,..) and copy them to a byte array for image creation.
- setDataRowTransform in interface ImageMaker
data
- Convoluted samples arraylevel
- Current transformation levelnumDispRows
- Number of rows to displaynumDispCols
- Number of columns to displaydataType
- Type of convoluted data (lowPass, highPass, both for synthesis,...)lastLP
- Flag: Is currrent low pass the last low pass of the transformation?
setStartAndEnd
private void setStartAndEnd(Data data,
int rowPos1,
int rowPos2,
int numDispRows,
int colPos1,
int colPos2,
int numDispCols)
Determine the start and end positions (for rows and cols) in the convoluted samples
array for shortened display. Therefore the initial dimensions of each considered
transformation display part (eg. LL, HL, LH,...) is specified.
(In case of border extension ZERO- and MIRRORPADDING, the length of the samples
after convolution is greater than the length of the samples before convolution)
data
- The convoluted samples Data arrayrowPos1
- The starting row PositionnumDispRows
- The row display length of the considered partcolPos1
- The starting column PositionnumDispCols
- The column display length of the considered part