|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.Overlay
public class Overlay
A set of bitmap overlays constructed from a DICOM attribute list.
Note that multiple overlays may be present, they may be multi-frame, and they may be in the OverlayData element or the PixelData element.
| Constructor Summary | |
|---|---|
Overlay(AttributeList list)
|
|
| Method Summary | |
|---|---|
int |
getColumnOrigin(int frame,
int overlay)
Get the column orgin of the overlay. |
int |
getNumberOfOverlays(int frame)
Get the number of overlays available for a particular frame. |
BufferedImage |
getOverlayAsBinaryBufferedImage(int frame,
int overlay)
Get a binary image constructed from the overlay bitmap. |
int |
getRowOrigin(int frame,
int overlay)
Get the row orgin of the overlay. |
static void |
main(String[] arg)
Read the DICOM input file as a list of attributes and extract the information related to overlays. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Overlay(AttributeList list)
list - | Method Detail |
|---|
public int getNumberOfOverlays(int frame)
frame - numbered from zero; needed to select which overlay if frame-specific
public BufferedImage getOverlayAsBinaryBufferedImage(int frame,
int overlay)
frame - numbered from zero; needed to select which overlay if frame-specificoverlay - numbered from zero
public int getRowOrigin(int frame,
int overlay)
frame - numbered from zero; needed to select which overlay if frame-specificoverlay - numbered from zero
public int getColumnOrigin(int frame,
int overlay)
frame - numbered from zero; needed to select which overlay if frame-specificoverlay - numbered from zero
public final String toString()
toString in class Objectpublic static void main(String[] arg)
Read the DICOM input file as a list of attributes and extract the information related to overlays.
arg - array of one string (the filename to read and dump)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||