|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.display.ImageEditUtilities
public class ImageEditUtilities
A class of utility methods for editing image pixel data.
| Method Summary | |
|---|---|
static void |
blackout(SourceImage srcImg,
AttributeList list,
Vector shapes)
Blackout specified regions in an image, for example to remove burned in identification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void blackout(SourceImage srcImg,
AttributeList list,
Vector shapes)
throws DicomException
Blackout specified regions in an image, for example to remove burned in identification.
The accompanying attribute list will be updated with new Pixel Data and related Image Pixel Module attributes.
Note that original PhotometricInterpretation will be retained; care should be taken by the caller
to change this as appropriate, e.g., from YBR_FULL_422 if read as JPEG to RGB if written as uncompressed.
See, for example, AttributeList.correctDecompressedImagePixelModule().
srcImg - the imagelist - the attribute list corresponding imageshapes - a java.util.Vector of java.awt.Shape, specifed in image-relative coordinates
DicomException - if something bad happens handling the attribute list
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||