public class ContributingImageSourcesMacro extends Macro
| Constructor and Description |
|---|
ContributingImageSourcesMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ContributingImageSourcesMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ContributingImageSourcesMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ContributingImageSourcesMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
short |
getBitsStored()
Retrieves the number of bits stored
|
short |
getColumns()
Retrieves Number of Columns in the images.
|
java.lang.String |
getLossyImageCompression()
Return whether the Source Images have undergone lossy compression(at a point in their lifetime).
|
java.lang.String[] |
getLossyImageCompressionMethod()
Retrieves label for the lossy compression method(s) that have been applied tothe source images.
|
java.lang.String[] |
getLossyImageCompressionRatio()
Retrieves Lossy Image Compression Ratio
|
short |
getRows()
Retrieves Number of rows in the images.
|
void |
setBitsStored(EnumBitsStored enumBitsStored)
Sets Number of bits stored for each pixel sample.
|
void |
setColumns(short shColumns)
Sets Number of Columns in the images.
|
void |
setLossyImageCompression(EnumLossyImageCompression enumLossyImageCompression)
Sets whether the Source Images have undergone lossy compression(at a point in their lifetime).
|
void |
setLossyImageCompressionMethod(java.lang.String strLossyImageCompressionMethod)
Sets label for the lossy compression method(s) that have been applied tothe source images.
|
void |
setLossyImageCompressionRatio(java.lang.String[] strLossyImageCompressionRatio)
Sets Lossy Image Compression Ratio
|
void |
setRows(short shRows)
Sets Number of rows in the images.
|
boolean |
validate()
Validates all the attributes in ContributingImageSourcesMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in ContributingImageSourcesMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in ContributingImageSourcesMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ContributingImageSourcesMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic ContributingImageSourcesMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ContributingImageSourcesMacro(IItem objItem)
objItem - specifies instance of Item classpublic ContributingImageSourcesMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public void setRows(short shRows)
shRows - short value of Number of rows in the images.public short getRows()
public void setColumns(short shColumns)
shColumns - short value of Number of Columns in the images.public short getColumns()
public void setBitsStored(EnumBitsStored enumBitsStored)
enumBitsStored - specifies the number of bits storedpublic short getBitsStored()
public void setLossyImageCompression(EnumLossyImageCompression enumLossyImageCompression)
enumLossyImageCompression - enum value of Lossy Image Compressionpublic java.lang.String getLossyImageCompression()
public void setLossyImageCompressionRatio(java.lang.String[] strLossyImageCompressionRatio)
strLossyImageCompressionRatio - String value of Lossy Image Compression Ratiopublic java.lang.String[] getLossyImageCompressionRatio()
public void setLossyImageCompressionMethod(java.lang.String strLossyImageCompressionMethod)
strLossyImageCompressionMethod - String Value component of Lossy Image CompressionMethodpublic java.lang.String[] getLossyImageCompressionMethod()