public class HardcopyGrayscaleImageIOD extends ImageIOD
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HARDCOPY_GRAYSCALE_IMAGE_IOD
The Constant HARDCOPY_GRAYSCALE_IMAGE_IOD.
|
| Constructor and Description |
|---|
HardcopyGrayscaleImageIOD()
Instantiates a new hardcopy grayscale image iod.
|
HardcopyGrayscaleImageIOD(IDataSet objIDataSet_)
This constructor accepts the DataSet from the user in its superclass IOD.
|
HardcopyGrayscaleImageIOD(IDictionaryReader objIDictionaryReader_)
This constructor initializes the DictionaryReader
in its superclass IOD.
|
HardcopyGrayscaleImageIOD(ITransferSyntax objITransferSyntax_)
This constructor initializes the TransferSyntax in its superclass IOD.
|
HardcopyGrayscaleImageIOD(ITransferSyntax objITransferSyntax_,
IDictionaryReader objIDictionaryReader_)
This constructor initializes the TransferSyntax and DictionaryReader in its super class IOD.
|
HardcopyGrayscaleImageIOD(java.lang.String strFileName)
Creates HardcopyGrayscaleImageIOD IOD from a DICOM file containing HardcopyGrayscaleImageIOD DICOM data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the Name of IOD,Module and corresponding Attributes of Module.
|
GeneralImageModule |
getGeneralImageModule()
Retrieves pre-initialized instance of General Image Module.
|
HardcopyEquipmentModule |
getHardcopyEquipmentModule()
Retrieves pre-initialized instance of Hardcopy Equipment Module.
|
HardcopyGrayscaleImageModule |
getHardcopyGrayscaleImageModule()
Retrieves pre-initialized instance of Hardcopy Grayscale Image 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 Hardcopy Grayscale Image IOD according to the Module Table given in The DICOM Standard.
|
getClinicalTrialSeriesModule, getGeneralEquipmentModule, getGeneralSeriesModule, getGeneralStudyModule, getImagePixelModule, getPatientModule, getPatientStudyModulegetClinicalTrialStudyModule, getClinicalTrialSubjectModuleaddDataElement, getDataSet, getTransferSyntax, isPresent, removeDataElement, removeModulepublic static final java.lang.String HARDCOPY_GRAYSCALE_IMAGE_IOD
public HardcopyGrayscaleImageIOD()
public HardcopyGrayscaleImageIOD(ITransferSyntax objITransferSyntax_)
objITransferSyntax_ - - specifies the DICOM Standard defined TransfeSyntax.public HardcopyGrayscaleImageIOD(IDictionaryReader objIDictionaryReader_)
objIDictionaryReader_ - - specifies the DICOM Dictionary reader to be used .public HardcopyGrayscaleImageIOD(IDataSet objIDataSet_)
objIDataSet_ - - specifies the data set to be set in the IOD.public HardcopyGrayscaleImageIOD(ITransferSyntax objITransferSyntax_, IDictionaryReader objIDictionaryReader_)
objITransferSyntax_ - specifies the DICOM Standard defined TransfeSyntax.objIDictionaryReader_ - specifies the DICOM Dictionary reader to be used .public HardcopyGrayscaleImageIOD(java.lang.String strFileName)
throws java.io.IOException,
InvalidIODException
strFileName - DICOM File with absolute path.java.io.IOException - Exception caused due to wrong I/O operations.ParseException - signals if some parse exceptions are occurred.InvalidIODException - signals if some IOD exceptions are occurred.public GeneralImageModule getGeneralImageModule()
GeneralImageModule.public HardcopyEquipmentModule getHardcopyEquipmentModule()
HardcopyEquipmentModule.public HardcopyGrayscaleImageModule getHardcopyGrayscaleImageModule()
HardcopyGrayscaleImageModule.public SOPCommonModule getSOPCommonModule()
SOPCommonModule.public boolean validate()
throws InvalidIODException
validate in class ImageIODInvalidIODException - - throws when the IOD is invalid.public void dumpDICOMInfo(IDicomStream objIDicomStream) throws java.io.IOException
dumpDICOMInfo in class ImageIODobjIDicomStream - - 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 ImageIODstrModuleName - String value of module name