Class ImageNullPixelMask
- java.lang.Object
-
- nom.tam.image.compression.tile.mask.ImageNullPixelMask
-
public class ImageNullPixelMask extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcompressAlgorithmprivate ICompressorControlcompressorControlprivate AbstractNullPixelMask[]nullPixelMasksprivate longnullValue
-
Constructor Summary
Constructors Constructor Description ImageNullPixelMask(int tileCount, long nullValue, java.lang.String compressAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private <T extends AbstractNullPixelMask>
Tadd(T nullPixelMask)NullPixelMaskPreservercreateTilePreserver(TileBuffer tileBuffer, int tileIndex)NullPixelMaskRestorercreateTileRestorer(TileBuffer tileBuffer, int tileIndex)byte[][]getColumn()java.lang.StringgetCompressAlgorithm()voidsetColumn(byte[][] nullPixels)
-
-
-
Field Detail
-
nullPixelMasks
private final AbstractNullPixelMask[] nullPixelMasks
-
nullValue
private final long nullValue
-
compressorControl
private final ICompressorControl compressorControl
-
compressAlgorithm
private final java.lang.String compressAlgorithm
-
-
Method Detail
-
createTilePreserver
public NullPixelMaskPreserver createTilePreserver(TileBuffer tileBuffer, int tileIndex)
-
createTileRestorer
public NullPixelMaskRestorer createTileRestorer(TileBuffer tileBuffer, int tileIndex)
-
getColumn
public byte[][] getColumn()
-
getCompressAlgorithm
public java.lang.String getCompressAlgorithm()
-
setColumn
public void setColumn(byte[][] nullPixels)
-
add
private <T extends AbstractNullPixelMask> T add(T nullPixelMask)
-
-