public class PaletteColorLookupTableMacro extends Macro
| Constructor and Description |
|---|
PaletteColorLookupTableMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
PaletteColorLookupTableMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
PaletteColorLookupTableMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
PaletteColorLookupTableMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
short |
getBluePaletteColorLookupTableData()
Retrieves Blue Palette Color Lookup Table Data.
|
short[] |
getBluePaletteColorLookupTableDescriptor()
Returns the format of the BluePaletteColorLookupTableDescriptor.
|
short |
getGreenPaletteColorLookupTableData()
Retrieves GreenPaletteColorLookupTableData
|
short[] |
getGreenPaletteColorLookupTableDescriptor()
Returns the format of the GreenPaletteColorLookupTableDescriptor.
|
java.lang.String |
getPaletteColorLookupTableUID()
Retrieves a Palette Color Lookup Table UID.
|
short |
getRedPaletteColorLookupTableData()
Retrieves RedPaletteColorLookupTableData
|
short[] |
getRedPaletteColorLookupTableDescriptor()
Returns the format of the RedPaletteColorLookupTableDescriptor.
|
short |
getSegmentedBluePaletteColorLookupTableData()
Retrieves Segmented Blue Palette Color Lookup Table Data
|
short |
getSegmentedGreenPaletteColorLookupTableData()
Retrieves Segmented Green Palette Color Lookup Table Data
|
short |
getSegmentedRedPaletteColorLookupTableData()
Retrieves Segmented Red Palette Color Lookup Table Data
|
void |
setBluePaletteColorLookupTableData(short shBluePaletteColorLookupTableData)
Sets Blue Palette Color Lookup Table Data.
|
void |
setBluePaletteColorLookupTableDescriptor(short[] sBluePaletteColorLookupTableDescriptor)
Sets the value that specifies the format of the Blue Palette Color Lookup Table Data(0028,1203).The second value (first stored pixel value mapped) shall be zero.
|
void |
setGreenPaletteColorLookupTableData(short shGreenPaletteColorLookupTableData)
Sets Green Palette Color Lookup Table Data.
|
void |
setGreenPaletteColorLookupTableDescriptor(short[] sGreenPaletteColorLookupTableDescriptor)
Sets the value that specifies the format of the Green Palette Color Lookup Table Data(0028,1202).The second value (first stored pixel value mapped) shall be zero.
|
void |
setPaletteColorLookupTableUID(java.lang.String strPaletteColorLookupTableUID)
Sets a Palette Color Lookup Table UID.
|
void |
setRedPaletteColorLookupTableData(short shRedPaletteColorLookupTableData)
Sets Red Palette Color Lookup Table Data.
|
void |
setRedPaletteColorLookupTableDescriptor(short[] sRedPaletteColorLookupTableDescriptor)
Sets the value that specifies the format of the Red Palette Color Lookup Table Data(0028,1201).The second value (first stored pixel value mapped) shall be zero.
|
void |
setSegmentedBluePaletteColorLookupTableData(short shSegmentedBluePaletteColorLookupTableData)
Sets the segmented Blue Palette Color Lookup Table Data.
|
void |
setSegmentedGreenPaletteColorLookupTableData(short shSegmentedGreenPaletteColorLookupTableData)
Sets the segmented Green Palette Color Lookup Table Data.
|
void |
setSegmentedRedPaletteColorLookupTableData(short shSegmentedRedPaletteColorLookupTableData)
Sets the segmented Red Palette Color Lookup Table Data.
|
boolean |
validate()
Validates all the attributes in PaletteColorLookupTableMacro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in PaletteColorLookupTableMacro that are present in the DataSet
|
boolean |
validate(IItem objIItem)
Validates all the attributes in PaletteColorLookupTableMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic PaletteColorLookupTableMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic PaletteColorLookupTableMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic PaletteColorLookupTableMacro(IItem objItem)
objItem - specifies instance of Item classpublic PaletteColorLookupTableMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setRedPaletteColorLookupTableDescriptor(short[] sRedPaletteColorLookupTableDescriptor)
sRedPaletteColorLookupTableDescriptor - short array of RedPaletteColorLookupTableDescriptor values.public short[] getRedPaletteColorLookupTableDescriptor()
public void setGreenPaletteColorLookupTableDescriptor(short[] sGreenPaletteColorLookupTableDescriptor)
sGreenPaletteColorLookupTableDescriptor - short array of LUT Descriptor values.public short[] getGreenPaletteColorLookupTableDescriptor()
public void setBluePaletteColorLookupTableDescriptor(short[] sBluePaletteColorLookupTableDescriptor)
sBluePaletteColorLookupTableDescriptor - short array of LUT Descriptor values.public short[] getBluePaletteColorLookupTableDescriptor()
public void setPaletteColorLookupTableUID(java.lang.String strPaletteColorLookupTableUID)
strPaletteColorLookupTableUID - String value of Palette Color Lookup Table UID..public java.lang.String getPaletteColorLookupTableUID()
public void setRedPaletteColorLookupTableData(short shRedPaletteColorLookupTableData)
shRedPaletteColorLookupTableData - short value of Red Palette Color Lookup Table Datapublic short getRedPaletteColorLookupTableData()
public void setGreenPaletteColorLookupTableData(short shGreenPaletteColorLookupTableData)
shGreenPaletteColorLookupTableData - short value of Green Palette Color Lookup Table Data.public short getGreenPaletteColorLookupTableData()
public void setBluePaletteColorLookupTableData(short shBluePaletteColorLookupTableData)
shBluePaletteColorLookupTableData - short value of Blue Palette Color Lookup Table Data.public short getBluePaletteColorLookupTableData()
public void setSegmentedRedPaletteColorLookupTableData(short shSegmentedRedPaletteColorLookupTableData)
shSegmentedRedPaletteColorLookupTableData - short value of Number of significant bitspublic short getSegmentedRedPaletteColorLookupTableData()
public void setSegmentedGreenPaletteColorLookupTableData(short shSegmentedGreenPaletteColorLookupTableData)
shSegmentedGreenPaletteColorLookupTableData - short value of Number of significant bitspublic short getSegmentedGreenPaletteColorLookupTableData()
public void setSegmentedBluePaletteColorLookupTableData(short shSegmentedBluePaletteColorLookupTableData)
shSegmentedBluePaletteColorLookupTableData - short value of Number of significant bitspublic short getSegmentedBluePaletteColorLookupTableData()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.