public class DicomReaderFactory
extends java.lang.Object
Constructor and Description |
---|
DicomReaderFactory() |
Modifier and Type | Method and Description |
---|---|
static DicomReader |
createReaderWithNoPixelData()
returns a DicomReader with preconfigured TagListener that skips top-level pixeldata.
|
static DicomReader |
createReaderWithOffsetTableAndNoPixelData(ReaderObserver readerObserver)
returns a DicomReader with preconfigured TagListener that skips top-level pixeldata
except the basic offset table in case of encapsulated images.
|
static DicomObject |
readWithoutPixelData(java.io.InputStream in)
Reads a DICOM file into a DicomObject with all data elements except the top-level pixel data
|
static DicomObject |
readWithoutPixelData(java.io.InputStream in,
ReaderObserver readerObserver)
Reads a DICOM file into a DicomObject with all data elements except the top-level pixel data.
|
static DicomObject |
readWithoutPixelData(java.io.InputStream in,
TransferSyntaxUID transferSyntaxUID,
ReaderObserver readerObserver)
Reads a raw DICOM stream into a DicomObject with all data elements except the top-level pixel data.
|
public static DicomObject readWithoutPixelData(java.io.InputStream in) throws java.io.IOException, DicomException
in
- InputStream to a DICOM file or raw data setjava.io.IOException
- -DicomException
- -public static DicomObject readWithoutPixelData(java.io.InputStream in, ReaderObserver readerObserver) throws java.io.IOException, DicomException
ReaderObserver
can be specified that is invoked when ReadEvents occur.in
- InputStream to a DICOM file or raw data setreaderObserver
- optional ReaderObserverjava.io.IOException
- -DicomException
- -public static DicomObject readWithoutPixelData(java.io.InputStream in, TransferSyntaxUID transferSyntaxUID, ReaderObserver readerObserver) throws java.io.IOException, DicomException
ReaderObserver
can be specified that is invoked when ReadEvents occur.in
- InputStream to a DICOM file or raw data settransferSyntaxUID
- the transfer syntax of the raw datasetreaderObserver
- optional ReaderObserverjava.io.IOException
- -DicomException
- -public static DicomReader createReaderWithNoPixelData()
public static DicomReader createReaderWithOffsetTableAndNoPixelData(ReaderObserver readerObserver)
readerObserver
- optional ReaderOserver