com.c3d.image.hvq
Class HVQEncoder

java.lang.Object
  |
  +--com.c3d.operators.Moperator
        |
        +--com.c3d.image.hvq.HVQEncoder

public class HVQEncoder
extends com.c3d.operators.Moperator


Fields inherited from class com.c3d.operators.Moperator
IDENTITY
 
Constructor Summary
HVQEncoder(int level_, int[][] table)
          Specify the level in the hierarchy the encoder works at and provide a 2 d encoding table
 
Method Summary
 Jimage apply(Jimage j)
          Encodes one image into another.
 com.c3d.util.atomic.Universal apply(com.c3d.util.atomic.Universal u)
           
static com.c3d.operators.Moperator composed(int[][][] tables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HVQEncoder

public HVQEncoder(int level_,
                  int[][] table)
Specify the level in the hierarchy the encoder works at and provide a 2 d encoding table
Method Detail

composed

public static com.c3d.operators.Moperator composed(int[][][] tables)

apply

public Jimage apply(Jimage j)
Encodes one image into another. If level 0 the image is assumed to be made up of unsigned bytes, otherwise assumes image made up of positive short integers.

apply

public com.c3d.util.atomic.Universal apply(com.c3d.util.atomic.Universal u)
Overrides:
apply in class com.c3d.operators.Moperator