|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmol.util.DCT
class DCT
| Field Summary | |
|---|---|
private static double[] |
AANscaleFactor
|
(package private) double[][] |
divisors
|
private double[] |
DivisorsChrominance
|
private double[] |
DivisorsLuminance
|
private static int |
N
DCT Block Size - default 8 |
private static int |
NN
|
(package private) int[][] |
quantum
Image Quality (0-100) - default 80 (good image / good compression) |
private int[] |
quantum_chrominance
Quantitization Matrix for chrominance. |
private int[] |
quantum_luminance
Quantitization Matrix for luminace. |
| Constructor Summary | |
|---|---|
DCT(int quality)
Constructs a new DCT object. |
|
| Method Summary | |
|---|---|
private static void |
AANscale(double[] divisors,
int[] values,
int quality)
|
(package private) static double[][] |
forwardDCT(float[][] input)
|
private void |
initMatrix(int quality)
|
(package private) static int[] |
quantizeBlock(double[][] inputData,
double[] divisorsCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int N
private static final int NN
int[][] quantum
double[][] divisors
private int[] quantum_luminance
private double[] DivisorsLuminance
private int[] quantum_chrominance
private double[] DivisorsChrominance
private static final double[] AANscaleFactor
| Constructor Detail |
|---|
DCT(int quality)
quality - The quality of the image (0 worst - 100 best)| Method Detail |
|---|
private void initMatrix(int quality)
private static void AANscale(double[] divisors,
int[] values,
int quality)
static double[][] forwardDCT(float[][] input)
static int[] quantizeBlock(double[][] inputData,
double[] divisorsCode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||