public class SegmentationImageModule extends Module
| Modifier and Type | Field and Description |
|---|---|
static ISingleCollection<ITag> |
objSingleCollection
The obj single collection.
|
| Constructor and Description |
|---|
SegmentationImageModule(IDataSet objIDataSet)
Creates SegmentationImageModule.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getBitsAllocated()
Retrieves the number of bits allocated.
|
short |
getBitsStored()
Retrieves the number of bits stored.
|
ContentIdentificationMacro |
getContentIdentificationMacro()
Retrieves pre-initialized instance of Content Identification Macro Attributes.
|
short |
getHighBit()
Retrieves the high bit.
|
java.lang.String[] |
getImageType()
Return Image Type.
|
java.lang.String |
getLossyImageCompression()
Retrieves the Lossy Image Compression.
|
java.lang.String[] |
getLossyImageCompressionMethod()
Retrieves the Lossy Image Compression Method.
|
java.lang.String[] |
getLossyImageCompressionRatio()
Retrieves the Lossy Image Compression.
|
short |
getMaximumFractionalValue()
Retrieves MaximumFractionalValue
|
java.lang.String |
getPhotometricInterpretation()
Retrieves the photometric interpretation.
|
java.lang.String |
getPixelRepresentation()
Retrieves the PixelRepresentation
|
short |
getSamplesPerPixel()
Return the short value of the attribute Samples Per Pixel.
|
java.lang.String |
getSegmentationFractionalType()
Retrieves SegmentationFractionalType
|
java.lang.String |
getSegmentationType()
Retrieves SegmentationType
|
SegmentSequence |
getSegmentSequence()
This method provides the pre-initialized object of SegmentSequence.
|
void |
setBitsAllocated(EnumBitsAllocated enumBitsAllocated)
Sets Number of bits allocated for each pixel sample.
|
void |
setBitsStored(EnumBitsStored enumBitsStored)
Sets Number of bits stored for each pixel sample.
|
void |
setHighBit(EnumHighBit enumHighBit)
Sets Most significant bit for pixel sample data.
|
void |
setImageType(java.lang.String[] arrStrImageType)
Sets Image identification characteristics.
|
void |
setLossyImageCompression(EnumLossyImageCompression enumLossyImageCompression)
Sets a value that specifies whether an Image has undergone lossy compression.
|
void |
setLossyImageCompressionMethod(java.lang.String[] arrStrLossyImageCompressionMethod)
The method is used to set lossy compression method(s) that have been applied to this image.
|
void |
setLossyImageCompressionRatio(java.lang.String[] arrStrLossyImageCompressionRatio)
Sets the approximate lossy compression ratio(s) that have been applied to this image.
|
void |
setMaximumFractionalValue(short shMaximumFractionalValue)
Sets MaximumFractionalValue
|
void |
setPhotometricInterpretation(EnumPhotometricInterpretation enumPhotometricInterpretation)
Sets Specifies the intended interpretation of the pixel data.
|
void |
setPixelRepresentation(EnumPixelRepresentation enumPixelRepresentation)
Sets Pixel Representation
|
void |
setSamplesPerPixel(short sSamplesPerPixel)
Method is used to set Number of samples (planes) in this image
The function accepts a String Value and creates the
DE based on the transfer syntax and populates the DE with right values.
|
void |
setSegmentationFractionalType(java.lang.String strSegmentationFractionalType)
Sets SegmentationFractionalType
|
void |
setSegmentationType(EnumSegmentationType enumSegmentationType)
Sets SegmentationType
|
boolean |
validateModule()
This method validates each Attribute in the Module according to the Type
of the Attribute.Attributes are of 5 types.
|
add, dumpDICOMInfo, getDictionaryReader, getTransferSyntax, getVectorOfKeys, isPresent, isPresent, iterator, removepublic static ISingleCollection<ITag> objSingleCollection
public SegmentationImageModule(IDataSet objIDataSet)
objIDataSet - the obj i data setpublic boolean validateModule()
throws InvalidModuleException
validateModule in interface IModulevalidateModule in class ModuleInvalidModuleException - - If validation of Module failspublic ContentIdentificationMacro getContentIdentificationMacro()
ContentIdentificationMacro.public void setImageType(java.lang.String[] arrStrImageType)
arrStrImageType - - String array of Image identification characteristics.public java.lang.String[] getImageType()
public void setSamplesPerPixel(short sSamplesPerPixel)
sSamplesPerPixel - the s samples per pixelpublic short getSamplesPerPixel()
public void setPhotometricInterpretation(EnumPhotometricInterpretation enumPhotometricInterpretation)
enumPhotometricInterpretation - - Enum value Photometric Interpretationpublic java.lang.String getPhotometricInterpretation()
public void setPixelRepresentation(EnumPixelRepresentation enumPixelRepresentation)
enumPixelRepresentation - - Enum value Pixel Representationpublic java.lang.String getPixelRepresentation()
public void setBitsAllocated(EnumBitsAllocated enumBitsAllocated)
enumBitsAllocated - the enum bits allocatedpublic short getBitsAllocated()
public void setBitsStored(EnumBitsStored enumBitsStored)
enumBitsStored - the enum bits storedpublic short getBitsStored()
public void setHighBit(EnumHighBit enumHighBit)
enumHighBit - the enum high bitpublic short getHighBit()
public void setLossyImageCompression(EnumLossyImageCompression enumLossyImageCompression)
enumLossyImageCompression - the enum lossy image compressionpublic java.lang.String getLossyImageCompression()
public void setLossyImageCompressionRatio(java.lang.String[] arrStrLossyImageCompressionRatio)
arrStrLossyImageCompressionRatio - - String array of Lossy Image Compression Ratiopublic java.lang.String[] getLossyImageCompressionRatio()
public void setLossyImageCompressionMethod(java.lang.String[] arrStrLossyImageCompressionMethod)
arrStrLossyImageCompressionMethod - - Lossy Image Compression Methodpublic java.lang.String[] getLossyImageCompressionMethod()
public void setSegmentationType(EnumSegmentationType enumSegmentationType)
enumSegmentationType - the enum SegmentationTypepublic java.lang.String getSegmentationType()
public void setSegmentationFractionalType(java.lang.String strSegmentationFractionalType)
strSegmentationFractionalType - Specifies SegmentationFractionalTypepublic java.lang.String getSegmentationFractionalType()
public void setMaximumFractionalValue(short shMaximumFractionalValue)
shMaximumFractionalValue - short value of MaximumFractionalValuepublic short getMaximumFractionalValue()
public SegmentSequence getSegmentSequence()