|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGiciTransform.ForwardPyramidal3D
public class ForwardPyramidal3D
This class receives a set of parameters from the user to compute a predefined 3d Square (dyadic) Wavelet Transform executing the HyperWaveletTransform class concordingly. Usage example:
construct
setParameters
run
Field Summary | |
---|---|
(package private) float[][][] |
imageSamples
Image samples (index meaning [z][y][x]). |
(package private) boolean |
parametersSet
To know if parameters are set. |
(package private) int[] |
WTLevels
DWT levels to apply for each dimension. |
(package private) int |
WTOrder
To know the order in which the transform is going to be applied. |
(package private) int[] |
WTTypes
Discrete wavelet transform to be applied at each dimension. |
(package private) int |
xSize
Image width. |
(package private) int |
ySize
Image height. |
(package private) int |
zSize
Number of image components. |
Constructor Summary | |
---|---|
ForwardPyramidal3D(float[][][] imageSamples)
Constructor, receives the original image samples. |
Method Summary | |
---|---|
float[][][] |
run()
Performs the requested 3D Square (dyadic) WT and returns the result image. |
void |
setParameters(int[] WTTypes,
int[] WTLevels)
Set the parameters used to apply the discrete wavelet transform, legacy use, WTOrder is going to be set to default values. |
void |
setParameters(int[] WTTypes,
int[] WTLevels,
int WTOrder)
Set the parameters used to apply the discrete wavelet transform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float[][][] imageSamples
int zSize
Negative values are not allowed for this field.
int ySize
Negative values are not allowed for this field.
int xSize
Negative values are not allowed for this field.
int[] WTTypes
Only the 3 first elements of the array are going to be taken, the rest is ignored.
Valid values are:
int[] WTLevels
Negative values not allowed. Only the 3 first elements of the array are going to be taken, the rest is ignored.
int WTOrder
Valid values are:
boolean parametersSet
True indicates that they are set otherwise false.
Constructor Detail |
---|
public ForwardPyramidal3D(float[][][] imageSamples)
imageSamples
- definition in imageSamples
Method Detail |
---|
public void setParameters(int[] WTTypes, int[] WTLevels)
WTTypes
- definition in WTTypes
WTLevels
- definition in WTLevels
public void setParameters(int[] WTTypes, int[] WTLevels, int WTOrder)
WTTypes
- definition in WTTypes
WTLevels
- definition in WTLevels
WTOrder
- definition in WTOrder
public float[][][] run() throws ErrorException
ErrorException
- when parameters are not set, wavelet type is unrecognized or there is an insconsistency in the parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |