|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.LogicalTarget.JPEG2000.Detransform.ColourDetransform
public class ColourDetransform
This class receives a colour image and applies the irreversible colour
transform defined in JPEG2000 standard.
Usage example:
construct
run
| Field Summary | |
|---|---|
private static float[][] |
ICT
Matrix of inverse ICT The values are static. |
private float[][][] |
imageSamples
Definition in JPEG2KLogicalTarget.imageSamplesFloat |
private boolean |
reversible
If true, a reversible component transformation will be applied. |
private int |
xSize
Definition in SIZParameters.xSize |
private int |
ySize
Definition in SIZParameters.ySize |
| Constructor Summary | |
|---|---|
ColourDetransform(float[][][] imageSamples,
boolean reversible)
Constructor that receives the original image samples. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this ColourDetransform's fields to the specified output stream. |
float[][][] |
run()
Performs the colour detransform and returns the result image. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private float[][][] imageSamples
JPEG2KLogicalTarget.imageSamplesFloat
private int ySize
SIZParameters.ySize
private int xSize
SIZParameters.xSize
private boolean reversible
private static float[][] ICT
The values are static.
| Constructor Detail |
|---|
public ColourDetransform(float[][][] imageSamples,
boolean reversible)
imageSamples - definition in imageSamplesreversible - definition in reversible.| Method Detail |
|---|
public float[][][] run()
throws ErrorException
ErrorException - when parameters are not set or unrecognized colour transform is passedpublic java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||