public class ModalityLUTSequenceItem extends Item
| Modifier and Type | Method and Description |
|---|---|
ISingleCollection<byte[]> |
getLUTDataInByte()
Retrieves LUT Data in this Sequence.
|
short[] |
getLUTDataInShort()
Retrieves LUT Data in this Sequence.
|
short[] |
getLUTDescriptor()
Returns the format of the LUT Data in this Sequence.
|
java.lang.String |
getLUTExplanation()
Retrieves Free form text explanation of the meaning of the LUT
|
java.lang.String |
getModalityLUTType()
Retrieves the output values of this Modality LUT.
|
void |
setLUTData(ISingleCollection<byte[]> objSingleCollection)
Sets LUT Data when data is specified in bytes.
|
void |
setLUTData(short[] sLUTData)
Sets LUT Data in this Sequence.
|
void |
setLUTDescriptor(short[] sLUTDescriptor)
Sets the value taht specifies the format of the LUT Data in this Sequence.The three values of the LUT Descriptor (0028,3002) describe the format of the LUT Data in the
corresponding Data Element (0028,3006).The first value is the number of entries in the lookup table.The second value is the first stored pixel value mapped.
|
void |
setLUTExplanation(java.lang.String strLUTExplanation)
Sets Free form text explanation of the meaning of the LUT.
|
void |
setModalityLUTType(java.lang.String strModalityLUTType)
Sets the output values of this Modality LUT.
|
boolean |
validateForModule()
Validates all the attributes in ModalityLUTSequenceItem that are present in the DataSet
|
addDataElement, changeToUndefined, clone, contains, dumpDICOMInfo, getDataForTag, getDictionaryReader, getItemLength, getTransferSyntax, getValue, getValueLength, iterator, read, setDictionaryReader, setTransferSyntax, setValue, sortedIterator, validate, writepublic boolean validateForModule()
throws InvalidItemException
validateForModule in interface IItemvalidateForModule in class ItemInvalidItemException - throws InvalidItemException If Mandatory or Conditional element fails.public void setLUTDescriptor(short[] sLUTDescriptor)
sLUTDescriptor - short array of LUT Descriptor values.public short[] getLUTDescriptor()
public void setLUTExplanation(java.lang.String strLUTExplanation)
strLUTExplanation - String value of LUT Explanation.public java.lang.String getLUTExplanation()
public void setModalityLUTType(java.lang.String strModalityLUTType)
strModalityLUTType - String value of Modality LUT Type.public java.lang.String getModalityLUTType()
public void setLUTData(short[] sLUTData)
sLUTData - short array of LUT Data.public short[] getLUTDataInShort()
public void setLUTData(ISingleCollection<byte[]> objSingleCollection)
objSingleCollection - collection of byte array.public ISingleCollection<byte[]> getLUTDataInByte()