ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear MD Component > Displaying Medical Grayscale Images > Pixel Padding Value |
DICOM images sometimes contain a Data Element called "Pixel Padding Value" (PPV). The PPV is used mostly to fill in the corners of round images. DICOM provides a Tag for PPV which is (0028,0120). This Data Element stores a 16-bit grayscale value that is to be treated as the Pixel Padding Value. Any pixels in the image that have this value are not to be treated as meaningful objects - but as background color.
When the ImageGear Medical loads a DICOM image that contains a PPV the value is captured and stored in the IGMedPage Object. In fact, 3 values are stored to the HDS: the PPV from the PPV Data Element, a flag indicating that a PPV was found in the file when it was loaded, and an 8-bit grayscale value used to display pixels with this value.
Use GetPixPaddingSettings Method and UpdatePixPaddingSettingsFrom Method of the IGMedDisplay Object to get/set the Pixel Padding Value that is to be used while displaying a 16-bit grayscale image.