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.String
compressAlgorithm
private ICompressorControl
compressorControl
private AbstractNullPixelMask[]
nullPixelMasks
private long
nullValue
-
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)
NullPixelMaskPreserver
createTilePreserver(TileBuffer tileBuffer, int tileIndex)
NullPixelMaskRestorer
createTileRestorer(TileBuffer tileBuffer, int tileIndex)
byte[][]
getColumn()
java.lang.String
getCompressAlgorithm()
void
setColumn(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)
-
-