org.dcm4che2.iod.module.lut
Class ModalityLutModule

java.lang.Object
  extended by org.dcm4che2.iod.module.Module
      extended by org.dcm4che2.iod.module.lut.ModalityLutModule

public class ModalityLutModule
extends Module

Since:
Jun 9, 2006
Version:
$Revision: 4738 $ $Date: 2007-07-24 15:39:05 +0200 (Tue, 24 Jul 2007) $
Author:
gunter zeilinger(gunterze@gmail.com)

Field Summary
 
Fields inherited from class org.dcm4che2.iod.module.Module
dcmobj
 
Constructor Summary
ModalityLutModule(DicomObject dcmobj)
           
 
Method Summary
 ILut getModalityLut()
          Gets the modality LUT to use
 float getRescaleIntercept()
          Get the rescale intercept value.
 float getRescaleSlope()
          m in the equation specified by Rescale Intercept (0028,1052).
 java.lang.String getRescaleType()
          Specifies the output units of Rescale Slope (0028,1053) and Rescale Intercept (0028,1052).
 void setRescaleIntercept(float intercept)
          The value b in the relationship between stored values (SV) in Pixel Data (7FE0,0010) and the output units specified in Rescale Type (0028,1054).
 void setRescaleSlope(float slope)
          m in the equation specified by Rescale Intercept (0028,1052).
 void setRescaleType(java.lang.String type)
          Specifies the output units of Rescale Slope (0028,1053) and Rescale Intercept (0028,1052).
 
Methods inherited from class org.dcm4che2.iod.module.Module
getDicomObject, getType1Tags, getType2Tags, init, updateSequence, updateSequence, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModalityLutModule

public ModalityLutModule(DicomObject dcmobj)
Method Detail

setRescaleIntercept

public void setRescaleIntercept(float intercept)
The value b in the relationship between stored values (SV) in Pixel Data (7FE0,0010) and the output units specified in Rescale Type (0028,1054).

Output units = m*SV + b.

Enumerated Value: 0

See C.8.11.3.1.2 for further explanation.

Parameters:
ds - 0

getRescaleIntercept

public float getRescaleIntercept()
Get the rescale intercept value.

Returns:
Rescale intercept value.

setRescaleSlope

public void setRescaleSlope(float slope)
m in the equation specified by Rescale Intercept (0028,1052). See C.8.11.3.1.2 for further explanation.

Parameters:
slope - for the rescale intercept.

getRescaleSlope

public float getRescaleSlope()
m in the equation specified by Rescale Intercept (0028,1052).

Returns:
the recale slope.

setRescaleType

public void setRescaleType(java.lang.String type)
Specifies the output units of Rescale Slope (0028,1053) and Rescale Intercept (0028,1052).

Enumerated Value: US = Unspecified Enumerated Value: OD = Optical Density Enumerated Value: HU = Houndsfield Units

See C.8.11.3.1.2 for further explanation.

Parameters:
type, - US = Unspecified, OD optical density, HU houndsfield units.

getRescaleType

public java.lang.String getRescaleType()
Specifies the output units of Rescale Slope (0028,1053) and Rescale Intercept (0028,1052).

Enumerated Value: US = Unspecified

See C.8.11.3.1.2 for further explanation.

Returns:

getModalityLut

public ILut getModalityLut()
Gets the modality LUT to use



Copyright © 2011 dcm4che. All Rights Reserved.