ucar.jpeg.jj2000.j2k.roi
Class MaxShiftSpec

java.lang.Object
  extended by ucar.jpeg.jj2000.j2k.ModuleSpec
      extended by ucar.jpeg.jj2000.j2k.roi.MaxShiftSpec
All Implemented Interfaces:
Cloneable

public class MaxShiftSpec
extends ModuleSpec

This class contains the maxshift scaling value for each tile-component. The scaling values used are calculated in the ROIScaler class


Field Summary
 
Fields inherited from class ucar.jpeg.jj2000.j2k.ModuleSpec
compDef, def, nComp, nTiles, SPEC_COMP_DEF, SPEC_DEF, SPEC_TILE_COMP, SPEC_TILE_DEF, SPEC_TYPE_COMP, SPEC_TYPE_TILE, SPEC_TYPE_TILE_COMP, specType, specValType, tileCompVal, tileDef
 
Constructor Summary
MaxShiftSpec(int nt, int nc, byte type)
          Constructs a 'ModuleSpec' object, initializing all the components and tiles to the 'SPEC_DEF' spec type, for the specified number of components and tiles.
 
Method Summary
 
Methods inherited from class ucar.jpeg.jj2000.j2k.ModuleSpec
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxShiftSpec

public MaxShiftSpec(int nt,
                    int nc,
                    byte type)
Constructs a 'ModuleSpec' object, initializing all the components and tiles to the 'SPEC_DEF' spec type, for the specified number of components and tiles.

Parameters:
nt - The number of tiles
nc - The number of components
type - the type of the specification module i.e. tile specific, component specific or both.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.