public class NMImagePixelModule extends Module
| Modifier and Type | Field and Description |
|---|---|
static ISingleCollection<ITag> |
objSingleCollection
The obj single collection.
|
| Constructor and Description |
|---|
NMImagePixelModule(IDataSet objIDataSet)
Instantiates a new nM image pixel module.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getBitsAllocated()
Retrieves Number of bits allocated for each pixel sample.
|
short |
getBitsStored()
Retrieves Number of bits stored for each pixel sample.
|
short |
getHighBit()
Retrieves Most significant bit for pixel sample data.
|
java.lang.String |
getPhotometricInterpretation()
Retrieves intended interpretation of the pixel data.
|
java.lang.String[] |
getPixelSpacing()
Retrieves physical distance in the patient between the center of each pixel.
|
short |
getSamplesPerPixel()
Retrieves number of separate planes in the image.
|
ISingleCollection<ITag> |
getVectorOfKeys()
This method returns the vector of keys representing the DataElements
that belong to this module.
|
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 |
setPhotometricInterpretation(EnumPhotometricInterpretation enumPhotometricInterpretation)
Sets the intended interpretation of the pixel data.
|
void |
setPixelSpacing(java.lang.String[] arrStrPixelSpacing)
Sets physical distance in the patient between the center of each pixel, specified by a
numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm.
|
void |
setSamplesPerPixel(EnumSamplesPerPixel enumSamplesPerPixel)
Sets Samples per Pixel (0028,0002) is the number of separate planes in the image.
|
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, isPresent, isPresent, iterator, removepublic static ISingleCollection<ITag> objSingleCollection
public NMImagePixelModule(IDataSet objIDataSet)
objIDataSet - the obj i data setpublic boolean validateModule()
throws InvalidModuleException
validateModule in interface IModulevalidateModule in class ModuleInvalidModuleException - - If validation of Module failspublic void setSamplesPerPixel(EnumSamplesPerPixel enumSamplesPerPixel)
enumSamplesPerPixel - - enum value of Samples per Pixelpublic void setPhotometricInterpretation(EnumPhotometricInterpretation enumPhotometricInterpretation)
enumPhotometricInterpretation - :- Enum value of Photometric Interpretationpublic void setBitsAllocated(EnumBitsAllocated enumBitsAllocated)
enumBitsAllocated - - enum value of bits allocatedpublic void setBitsStored(EnumBitsStored enumBitsStored)
enumBitsStored - - enum value of bits storedpublic void setHighBit(EnumHighBit enumHighBit)
enumHighBit - - enum value of High Bitpublic void setPixelSpacing(java.lang.String[] arrStrPixelSpacing)
arrStrPixelSpacing - : String array of Pixel Spacing.public short getSamplesPerPixel()
public java.lang.String getPhotometricInterpretation()
public short getBitsAllocated()
public short getBitsStored()
public short getHighBit()
public java.lang.String[] getPixelSpacing()
public ISingleCollection<ITag> getVectorOfKeys()
getVectorOfKeys in class Module