org.dcm4che2.imageio
Class ImageReaderFactory

java.lang.Object
  extended by org.dcm4che2.imageio.ImageReaderFactory

public class ImageReaderFactory
extends java.lang.Object

Since:
Aug 6, 2007
Version:
$Revision$ $Date$
Author:
Gunter Zeilinger

Field Summary
protected  java.util.Properties config
           
 
Method Summary
 void adjustDatasetForTransferSyntax(DicomObject ds, java.lang.String tsuid)
           
static ImageReaderFactory getInstance()
           
 javax.imageio.ImageReader getReaderForTransferSyntax(java.lang.String tsuid)
           
 boolean needsImageTypeSpecifier(java.lang.String tsuid)
          Some image types need an image type specifier in order to figure out the source image information - if that is the case, then this will return true, based on configuration [tsuid].typeSpecifier=true in the config file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected final java.util.Properties config
Method Detail

getInstance

public static final ImageReaderFactory getInstance()

getReaderForTransferSyntax

public javax.imageio.ImageReader getReaderForTransferSyntax(java.lang.String tsuid)

needsImageTypeSpecifier

public boolean needsImageTypeSpecifier(java.lang.String tsuid)
Some image types need an image type specifier in order to figure out the source image information - if that is the case, then this will return true, based on configuration [tsuid].typeSpecifier=true in the config file. The RLE and RAW readers need such specifiers, but the RAW one is hard coded elsewhere.

Returns:

adjustDatasetForTransferSyntax

public void adjustDatasetForTransferSyntax(DicomObject ds,
                                           java.lang.String tsuid)


Copyright © 2011 dcm4che. All Rights Reserved.