Package com.pixelmed.display
Class ChestImageViewer
- java.lang.Object
-
- com.pixelmed.display.ChestImageViewer
-
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JFrame
frame
protected int
frameHeight
protected int
frameWidth
protected javax.swing.JPanel
multiPanel
-
Constructor Summary
Constructors Constructor Description ChestImageViewer(java.lang.String[] filenames)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
makeNewImagePanel
protected SingleImagePanel makeNewImagePanel(SourceImage sImg, EventContext typeOfPanelEventContext)
-
loadMultiPanelFromSpecifiedFiles
public void loadMultiPanelFromSpecifiedFiles(java.lang.String[] filenames) throws java.lang.Exception
- Parameters:
filenames
-- Throws:
java.lang.Exception
- if internal error
-
getPresentationAndImageDeviceAreas
public static DisplayDeviceArea[] getPresentationAndImageDeviceAreas()
-
clear
public void clear()
-
main
public static void main(java.lang.String[] arg)
The method to invoke the application.
- Parameters:
arg
- a list of DICOM files which may contain chest x-ray images
-
-