public class ChestImageViewer
extends java.lang.Object
This class is an entire application for displaying and viewing chest x-ray images.
It is invoked using a main method with a list of DICOM image file names.
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JFrame |
frame |
protected int |
frameHeight |
protected int |
frameWidth |
protected javax.swing.JPanel |
multiPanel |
Constructor and Description |
---|
ChestImageViewer(java.lang.String[] filenames) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static DisplayDeviceArea[] |
getPresentationAndImageDeviceAreas() |
void |
loadMultiPanelFromSpecifiedFiles(java.lang.String[] filenames) |
static void |
main(java.lang.String[] arg)
The method to invoke the application.
|
protected SingleImagePanel |
makeNewImagePanel(SourceImage sImg,
EventContext typeOfPanelEventContext) |
protected javax.swing.JFrame frame
protected int frameHeight
protected int frameWidth
protected javax.swing.JPanel multiPanel
public ChestImageViewer(java.lang.String[] filenames) throws java.lang.Exception
filenames
- java.lang.Exception
- if internal errorpublic void clear()
public static DisplayDeviceArea[] getPresentationAndImageDeviceAreas()
public void loadMultiPanelFromSpecifiedFiles(java.lang.String[] filenames) throws java.lang.Exception
filenames
- java.lang.Exception
- if internal errorpublic static void main(java.lang.String[] arg)
The method to invoke the application.
arg
- a list of DICOM files which may contain chest x-ray imagesprotected SingleImagePanel makeNewImagePanel(SourceImage sImg, EventContext typeOfPanelEventContext)