public class ColourDetransform
extends java.lang.Object
Usage example:
construct
run
Modifier and Type | Field and Description |
---|---|
private static float[][] |
ICT
Matrix of inverse ICT
The values are static.
|
private float[][][] |
imageSamples
Definition in
CADI.Client.ClientLogicalTarget.JPEG2000.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 and Description |
---|
ColourDetransform(float[][][] imageSamples,
boolean reversible)
Constructor that receives the original image samples.
|
private float[][][] imageSamples
CADI.Client.ClientLogicalTarget.JPEG2000.JPEG2KLogicalTarget#imageSamplesFloat
private int ySize
SIZParameters.ySize
private int xSize
SIZParameters.xSize
private boolean reversible
private static float[][] ICT
The values are static.
public ColourDetransform(float[][][] imageSamples, boolean reversible)
imageSamples
- definition in imageSamples
reversible
- definition in reversible
.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.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)