Class TransformLength
public class TransformLength
extends TreeMap
Wavelet Transformation Demo:
Determination of convolution samples lengths from a given initial (input) sample length
(in all levels - until the maximum decomposition level is reached).
Each length is stored in a map, with the convolution level as the key.
TransformLength(int initialColLen, int fLen, String bm, int bLen) - Creates a new TransformLength object with information about the lengths of
sampels after convolution
|
borderLength
private int borderLength
borderMethod
private String borderMethod
dispLengths
private HashMap dispLengths
filterLength
private int filterLength
initLen
private int initLen
totalLen
private int totalLen
TransformLength
public TransformLength(int initialColLen,
int fLen,
String bm,
int bLen)
Creates a new TransformLength object with information about the lengths of
sampels after convolution
initialColLen
- Initial (input) sample lengthfLen
- Filter lengthbm
- Border extension method (e.g. Zeropadding, Mirrorpadding,...)bLen
- Length of additional border extension samples
determineDispLengths
private void determineDispLengths(int initLen)
determineLengths
private int determineLengths(int inLen)
Determination of convolution samples lengths from a given initial (input)
sample length - in all levels.
inLen
- Initial sample length
- Calculated cumulated convoluted samples length
getDisplayLength
public int getDisplayLength(int level)
Returns the width of the (convoluted) image that should be displayed in the current level
getHighestKey
private int getHighestKey()
getLength
public int getLength(int level)
getLowestKey
private int getLowestKey()
getMaxlevel
public int getMaxlevel()
getTotalLen
public int getTotalLen()
Returns the cumulated convoluted samples length
- Cumulated convoluted samples length