org.dcm4che.image
Class PixelDataFactory
java.lang.Object
org.dcm4che.image.PixelDataFactory
public abstract class PixelDataFactory
- extends java.lang.Object
- Since:
- July 2003
- Version:
- $Revision: 3922 $ $Date: 2005-10-05 18:26:16 +0200 (Mi, 05 Okt 2005) $
- Author:
- gunter zeilinger, joseph foraci
- See Also:
- "DICOM Part 5: Data Structures and Encoding, Section 8. 'Encoding of Pixel,
Overlay and Waveform Data', Annex D"
Method Summary |
static PixelDataFactory |
getInstance()
|
abstract PixelDataReader |
newReader(Dataset dataset,
javax.imageio.stream.ImageInputStream iis,
java.nio.ByteOrder byteOrder,
int pixelDataVr)
|
abstract PixelDataReader |
newReader(PixelDataDescription desc,
javax.imageio.stream.ImageInputStream iis)
Creates a new PixelDataReader instance, initialized by the
Dataset and backed by the ImageInputStream . |
abstract PixelDataWriter |
newWriter(int[][][] data,
boolean containsOverlayData,
Dataset dataset,
javax.imageio.stream.ImageOutputStream ios,
java.nio.ByteOrder byteOrder,
int pixelDataVr)
|
abstract PixelDataWriter |
newWriter(int[][][] data,
boolean containsOverlayData,
PixelDataDescription desc,
javax.imageio.stream.ImageOutputStream ios)
Creates a new PixelDataWriter instance, initialized by the
Dataset and backed by the ImageOutputStream . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PixelDataFactory
public PixelDataFactory()
getInstance
public static PixelDataFactory getInstance()
newReader
public abstract PixelDataReader newReader(PixelDataDescription desc,
javax.imageio.stream.ImageInputStream iis)
- Creates a new
PixelDataReader
instance, initialized by the
Dataset
and backed by the ImageInputStream
.
Any changes to the ImageInputStream
will be seen by the
PixelDataReader
instance and will have undefined effects upon
the next read.
newReader
public abstract PixelDataReader newReader(Dataset dataset,
javax.imageio.stream.ImageInputStream iis,
java.nio.ByteOrder byteOrder,
int pixelDataVr)
newWriter
public abstract PixelDataWriter newWriter(int[][][] data,
boolean containsOverlayData,
PixelDataDescription desc,
javax.imageio.stream.ImageOutputStream ios)
- Creates a new
PixelDataWriter
instance, initialized by the
Dataset
and backed by the ImageOutputStream
.
Any changes to the ImageOutputStream
will be seen by the
PixelDataWriter
instance and will have undefined effects upon
the next read.
newWriter
public abstract PixelDataWriter newWriter(int[][][] data,
boolean containsOverlayData,
Dataset dataset,
javax.imageio.stream.ImageOutputStream ios,
java.nio.ByteOrder byteOrder,
int pixelDataVr)