Package org.aoju.bus.image.nimble.codec
Class Decompressor
java.lang.Object
org.aoju.bus.image.nimble.codec.Decompressor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected BufferedImageprotected intprotected intprotected intprotected final Attributesprotected ImageReaderprotected Fileprotected intprotected intprotected ImageDescriptorprotected intprotected PatchJPEGLSprotected Fragmentsprotected Photometricprotected Photometricprotected ImageReadParamprotected intprotected intprotected booleanprotected final TransferSyntaxTypeprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BufferedImagecreateBufferedImage(int bitsStored, boolean banded, boolean signed) booleanstatic booleandecompress(Attributes dataset, String tsuid) protected BufferedImagedecompressFrame(ImageInputStream iis, int index) voiddispose()voidwriteFrameTo(ImageInputStream iis, int frameIndex, OutputStream out) voidwriteTo(OutputStream out)
-
Field Details
-
dataset
-
tsuid
-
tstype
-
pixeldataFragments
-
file
-
rows
protected int rows -
cols
protected int cols -
samples
protected int samples -
pmi
-
pmiAfterDecompression
-
bitsAllocated
protected int bitsAllocated -
bitsStored
protected int bitsStored -
banded
protected boolean banded -
signed
protected boolean signed -
frames
protected int frames -
frameLength
protected int frameLength -
length
protected int length -
bi
-
decompressor
-
readParam
-
patchJpegLS
-
imageDescriptor
-
-
Constructor Details
-
Decompressor
-
-
Method Details
-
decompress
-
dispose
public void dispose() -
decompress
public boolean decompress() -
createBufferedImage
-
writeTo
- Throws:
IOException
-
createImageInputStream
- Throws:
IOException
-
writeFrameTo
- Throws:
IOException
-
decompressFrame
- Throws:
IOException
-