|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGiciTransform.CoefficientsApproximation
public class CoefficientsApproximation
This class receives an image and approximates its coefficients.
Usage example:
construct
setParameters
run
Field Summary | |
---|---|
(package private) int[] |
approximationTypes
Approximation to be applied to coefficients of each channel. |
(package private) float[][][] |
imageSamples
Definition in Coder |
(package private) boolean |
parametersSet
To know if parameters are set. |
Constructor Summary | |
---|---|
CoefficientsApproximation(float[][][] imageSamples)
Constructor that receives the original image samples. |
Method Summary | |
---|---|
float[][][] |
run()
Performs the approximation for each of the coefficients of the transformed image |
void |
setParameters(int[] approximationTypes)
Set the parameter that specifies the type of approximation |
static boolean |
TERsetApproximationNeed(int[] approximationTypes)
States if approximation is needed according to the user specifications and the requirements of the TER software |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float[][][] imageSamples
int[] approximationTypes
Valid values are:
boolean parametersSet
True indicates that they are set otherwise false.
Constructor Detail |
---|
public CoefficientsApproximation(float[][][] imageSamples)
imageSamples
- definition in CoderMethod Detail |
---|
public void setParameters(int[] approximationTypes)
approximationTypes
- definition in approximationTypes
public float[][][] run() throws ErrorException
ErrorException
- when parameters are not setpublic static boolean TERsetApproximationNeed(int[] approximationTypes)
approximationTypes
- definition in approximationTypes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |