|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.csm.html.query.DCT
Field Summary | |
Object[] |
Divisors
|
double[] |
DivisorsChrominance
|
double[] |
DivisorsLuminance
|
int |
N
DCT Block Size - default 8 |
int |
QUALITY
Image Quality (0-100) - default 80 (good image / good compression) |
Object[] |
quantum
|
int[] |
quantum_chrominance
Quantitization Matrix for chrominance. |
int[] |
quantum_luminance
Quantitization Matrix for luminace. |
Constructor Summary | |
DCT(int QUALITY)
Constructs a new DCT object. |
Method Summary | |
double[][] |
forwardDCT(float[][] input)
|
double[][] |
forwardDCTExtreme(float[][] input)
|
private void |
initMatrix(int quality)
|
int[] |
quantizeBlock(double[][] inputData,
int code)
|
int[] |
quantizeBlockExtreme(double[][] inputData,
int code)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int N
public int QUALITY
public Object[] quantum
public Object[] Divisors
public int[] quantum_luminance
public double[] DivisorsLuminance
public int[] quantum_chrominance
public double[] DivisorsChrominance
Constructor Detail |
public DCT(int QUALITY)
QUALITY
- The quality of the image (0 worst - 100 best)Method Detail |
private void initMatrix(int quality)
public double[][] forwardDCTExtreme(float[][] input)
public double[][] forwardDCT(float[][] input)
public int[] quantizeBlock(double[][] inputData, int code)
public int[] quantizeBlockExtreme(double[][] inputData, int code)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |