public class ColorPaletteIOD extends NormalizedIOD
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLOR_PALETTE_IOD
The Constant COLOR_PALETTE_IOD.
|
NORMALIZED_IOD| Constructor and Description |
|---|
ColorPaletteIOD()
Instantiates a new image iod.
|
ColorPaletteIOD(IDataSet objIDataSet_)
This constructor accepts the Data set from the user in its superclass IOD.
|
ColorPaletteIOD(IDictionaryReader objIDictionaryReader_)
This constructor initializes DictionaryReader in its superclass IOD.
|
ColorPaletteIOD(ITransferSyntax objITransferSyntax_)
This constructor initializes the TransferSyntax in its superclass IOD.
|
ColorPaletteIOD(ITransferSyntax objITransferSyntax_,
IDictionaryReader objIDictionaryReader_)
This constructor accepts the DictionaryReader and TransferSyntax from the user in its superclass IOD.
|
ColorPaletteIOD(java.lang.String strFileName)
Creates IOD from a DICOM file containing corresponding DICOM data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the Name of Module and corresponding Attributs of IOD.
|
ColorPaletteDefinitionModule |
getColorPaletteDefinitionModule()
Retrieves pre-initialized instance of Color Palette Definition Module.
|
ICCProfileModule |
getICCProfileModule()
Retrieves pre-initialized instance of ICC Profile Module.
|
PaletteColorLookupTableModule |
getPaletteColorLookupTableModule()
Retrieves pre-initialized instance of Palette Color Lookup Table Module.
|
SOPCommonModule |
getSOPCommonModule()
Retrieves pre-initialized instance of SOP Common Module.
|
boolean |
isModulePresent(java.lang.String strModuleName)
Checks whether the Module is present in the IOD or not.
|
boolean |
validate()
This method validates Image IOD according to the Module Table given in The DICOM Standard.
|
addDataElement, getDataSet, getTransferSyntax, isPresent, removeDataElement, removeModulepublic static final java.lang.String COLOR_PALETTE_IOD
public ColorPaletteIOD()
public ColorPaletteIOD(ITransferSyntax objITransferSyntax_)
objITransferSyntax_ - Transfer Syntax of IOD.public ColorPaletteIOD(IDictionaryReader objIDictionaryReader_)
objIDictionaryReader_ - Dictionary Reader used by the IOD.public ColorPaletteIOD(ITransferSyntax objITransferSyntax_, IDictionaryReader objIDictionaryReader_)
objITransferSyntax_ - Transfer Syntax of IOD.objIDictionaryReader_ - Dictionary Reader used by the IOD.public ColorPaletteIOD(IDataSet objIDataSet_)
objIDataSet_ - the obj i data set_public ColorPaletteIOD(java.lang.String strFileName)
throws java.io.IOException,
InvalidIODException
strFileName - DICOM File with absolute path.java.io.IOException - signals Exception caused due to wrong I/O operations.ParseException - signals if some parse exceptions occurred.InvalidIODExceptionpublic PaletteColorLookupTableModule getPaletteColorLookupTableModule()
PaletteColorLookupTableModule.public SOPCommonModule getSOPCommonModule()
SOPCommonModule.public ICCProfileModule getICCProfileModule()
ICCProfileModule.public ColorPaletteDefinitionModule getColorPaletteDefinitionModule()
ColorPaletteDefinitionModule.public boolean validate()
throws InvalidIODException
validate in class IODInvalidIODException - the invalid iod exceptionpublic void dumpDICOMInfo(IDicomStream objIDicomStream) throws java.io.IOException
dumpDICOMInfo in class NormalizedIODobjIDicomStream - - the Stream on which the Data is to be written.java.io.IOException - - Exception is thrown indicating runtime failure of writing operation.public boolean isModulePresent(java.lang.String strModuleName)
isModulePresent in class NormalizedIODstrModuleName - String value of module name