Trispark JDT
2.50.13

com.archimed.dicom.iioplugin
Class DicomImageReadParam

java.lang.Object
  extended by javax.imageio.IIOParam
      extended by javax.imageio.ImageReadParam
          extended by com.archimed.dicom.iioplugin.DicomImageReadParam

public class DicomImageReadParam
extends javax.imageio.ImageReadParam

Specific params for passing to a DicomImageReader


Field Summary
 
Fields inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize
 
Fields inherited from class javax.imageio.IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
 
Constructor Summary
DicomImageReadParam()
          constructs a ImageReadParam object for the DicomImageReader with the default settings
DicomImageReadParam(boolean autoWindowLevel, boolean applyPresentationStates, boolean copyPixelData)
          constructs a ImageReadParam object for the DicomImageReader
 
Method Summary
 boolean isApplyPresentationStates()
          if true, presentation states are applied to the dicom image after it is read (default)
 boolean isAutoWindowLevel()
          if true, an automatic window/level operation is applied when no specific window/level settings can be determined (default)
 boolean isCopyPixelData()
          if true, the pixel data is copied into the resulting BufferedImage (default); if false, the read pixel data is reused when possible
 void setApplyPresentationStates(boolean applyPresentationStates)
          if true, presentation states are applied to the dicom image after it is read (default)
 void setAutoWindowLevel(boolean autoWindowLevel)
          if true, an automatic window/level operation is applied when no specific window/level settings can be determined (default)
 void setCopyPixelData(boolean copyPixelData)
          if true, the pixel data is copied into the resulting BufferedImage (default); if false, the read pixel data is reused when possible
 
Methods inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
 
Methods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomImageReadParam

public DicomImageReadParam()
constructs a ImageReadParam object for the DicomImageReader with the default settings


DicomImageReadParam

public DicomImageReadParam(boolean autoWindowLevel,
                           boolean applyPresentationStates,
                           boolean copyPixelData)
constructs a ImageReadParam object for the DicomImageReader

Parameters:
autoWindowLevel - if true, an automatic window/level operation is applied when no specific window/level settings can be determined
applyPresentationStates - if true, presentation states are applied to the dicom image after it is read
copyPixelData - if true, the pixel data is copied into the resulting BufferedImage; if false, the read pixel data is reused when possible
Method Detail

setAutoWindowLevel

public void setAutoWindowLevel(boolean autoWindowLevel)
if true, an automatic window/level operation is applied when no specific window/level settings can be determined (default)

Parameters:
autoWindowLevel - the 'automatic window/level' setting

isAutoWindowLevel

public boolean isAutoWindowLevel()
if true, an automatic window/level operation is applied when no specific window/level settings can be determined (default)

Returns:
the 'automatic window/level' setting

setApplyPresentationStates

public void setApplyPresentationStates(boolean applyPresentationStates)
if true, presentation states are applied to the dicom image after it is read (default)

Parameters:
applyPresentationStates - the 'presentation states' setting

isApplyPresentationStates

public boolean isApplyPresentationStates()
if true, presentation states are applied to the dicom image after it is read (default)

Returns:
the 'presentation states' setting

isCopyPixelData

public boolean isCopyPixelData()
if true, the pixel data is copied into the resulting BufferedImage (default); if false, the read pixel data is reused when possible

Returns:
the 'copy pixel data' setting

setCopyPixelData

public void setCopyPixelData(boolean copyPixelData)
if true, the pixel data is copied into the resulting BufferedImage (default); if false, the read pixel data is reused when possible

Parameters:
copyPixelData - the 'copy pixel data' setting

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.