|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.display.MammoImageViewer
public class MammoImageViewer
This class is an entire application for displaying and viewing mammography images and CAD objects.
It detects the screen size and scales the images to fit the available screen real estate, using up to four columns of images and multiple rows as necessary.
Images are scaled to the same physical size based on the detected breast area.
Images are flipped into the correct orientation for the view.
It is invoked using a main method with a list of DICOM image and CAD file names.
| Field Summary | |
|---|---|
protected boolean |
doNotFlipOrRotate
|
protected boolean |
doNotJustify
|
protected boolean |
forceFitEntireMatrixToWindow
|
protected JFrame |
frame
|
protected int |
frameHeight
|
protected int |
frameWidth
|
protected JPanel |
multiPanel
|
| Constructor Summary | |
|---|---|
MammoImageViewer(JFrame frame)
|
|
MammoImageViewer(JFrame frame,
String[] filenames)
|
|
MammoImageViewer(String[] filenames)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
protected void |
doCommonConstructorStuff()
|
void |
loadMultiPanelFromSpecifiedFiles(String[] filenames)
|
static void |
main(String[] arg)
The method to invoke the application. |
protected SingleImagePanel |
makeNewImagePanel(SourceImage sImg,
EventContext typeOfPanelEventContext)
|
void |
setDoNotFlipOrRotate(boolean doNotFlipOrRotate)
Suppress the normal flipping or rotation of images into the preferred orientation based on view and laterality. |
void |
setDoNotJustify(boolean doNotJustify)
Suppress the justification to the chest wall and axilla. |
void |
setForceFitEntireMatrixToWindow(boolean forceFitEntireMatrixToWindow)
Suppress the examination of breast extent and same sizing of images with different pixel spacing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JFrame frame
protected JPanel multiPanel
protected int frameWidth
protected int frameHeight
protected boolean doNotFlipOrRotate
protected boolean forceFitEntireMatrixToWindow
protected boolean doNotJustify
| Constructor Detail |
|---|
public MammoImageViewer(JFrame frame)
throws Exception
frame -
Exception - if internal error
public MammoImageViewer(JFrame frame,
String[] filenames)
throws Exception
frame - filenames -
Exception - if internal error
public MammoImageViewer(String[] filenames)
throws Exception
filenames -
Exception - if internal error| Method Detail |
|---|
public void setDoNotFlipOrRotate(boolean doNotFlipOrRotate)
Suppress the normal flipping or rotation of images into the preferred orientation based on view and laterality.
doNotFlipOrRotate - if true, supressespublic void setForceFitEntireMatrixToWindow(boolean forceFitEntireMatrixToWindow)
Suppress the examination of breast extent and same sizing of images with different pixel spacing.
forceFitEntireMatrixToWindow - if true, supressespublic void setDoNotJustify(boolean doNotJustify)
Suppress the justification to the chest wall and axilla.
doNotJustify - if true, supresses
protected SingleImagePanel makeNewImagePanel(SourceImage sImg,
EventContext typeOfPanelEventContext)
public void loadMultiPanelFromSpecifiedFiles(String[] filenames)
throws Exception
filenames -
Exception - if internal error
protected void doCommonConstructorStuff()
throws Exception
Exception - if internal errorpublic void clear()
public static void main(String[] arg)
The method to invoke the application.
arg - a list of DICOM files which may contain mammography images or mammography CAD SR objects
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||