public abstract class DicomImageDecoderBase extends java.lang.Object implements DicomImageDecoder
| Constructor and Description |
|---|
DicomImageDecoderBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract DicomPixelBuffer |
decodeFrame(DicomHeader header,
DicomPixelData data)
Decode a frame given data
|
boolean |
decodeFrames(DicomHeader header,
BinaryFileInputStream bin,
java.util.List<DicomPixelBuffer> frames)
Tries to decodes DICOM pixel data into a usable buffer, based on information
contained in the DICOM header.
|
public abstract DicomPixelBuffer decodeFrame(DicomHeader header, DicomPixelData data)
header - DICOM headerdata - raw data from pixel data itempublic boolean decodeFrames(DicomHeader header, BinaryFileInputStream bin, java.util.List<DicomPixelBuffer> frames) throws java.io.IOException
DicomImageDecoderdecodeFrames in interface DicomImageDecoderheader - informs the decoder of the transfer syntax, and any
intensity transformsbin - binary input stream of current file, at start of pixel dataframes - decoded pixel buffers (raw format) for framesjava.io.IOException - on File IO error