org.dcm4che2.iod.module.lut
Class Lut

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

public class Lut
extends Module

Since:
02.07.2006
Version:
Revision $Date: 2007-07-24 15:09:43 +0200 (Tue, 24 Jul 2007) $
Author:
Gunter Zeilinger

Field Summary
 
Fields inherited from class org.dcm4che2.iod.module.Module
dcmobj
 
Constructor Summary
Lut(DicomObject dcmobj)
           
 
Method Summary
 int getBytesPerEntry()
          Get the number of bits stored per pixel.
 int getFirstStoredPixel()
          Get the first stored pixel - this allows a smaller LUT to be used
 byte[] getLUTData()
           
 int[] getLUTDescriptor()
           
 java.lang.String getLUTExplanation()
           
 int getNumberOfEntries()
          Returns the number of entries in this table
 void setLUTData(byte[] ow)
           
 void setLUTDescriptor(int[] ints)
           
 void setLUTExplanation(java.lang.String lo)
           
static Lut[] toLUTs(DicomElement sq)
           
 
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

Lut

public Lut(DicomObject dcmobj)
Method Detail

toLUTs

public static Lut[] toLUTs(DicomElement sq)

getLUTDescriptor

public int[] getLUTDescriptor()

setLUTDescriptor

public void setLUTDescriptor(int[] ints)

getNumberOfEntries

public int getNumberOfEntries()
Returns the number of entries in this table


getFirstStoredPixel

public int getFirstStoredPixel()
Get the first stored pixel - this allows a smaller LUT to be used


getBytesPerEntry

public int getBytesPerEntry()
Get the number of bits stored per pixel. Should return 1 or 2 depending on how many bytes are used per entry.


getLUTExplanation

public java.lang.String getLUTExplanation()

setLUTExplanation

public void setLUTExplanation(java.lang.String lo)

getLUTData

public byte[] getLUTData()

setLUTData

public void setLUTData(byte[] ow)


Copyright © 2011 dcm4che. All Rights Reserved.