Serialized Form


Package CmpSpots

Class CmpSpots.CmpShowImage extends javax.swing.JFrame implements Serializable

serialVersionUID: 0L

Serialized Fields

cs

CmpSpots cs
instance of the main class


useHistGUIflag

boolean useHistGUIflag
flag to use simple ImageViewer w/o histogram or full GUI with the histogram


baseImageFile

java.lang.String baseImageFile
base name of the image for use in the title


changeGuiFlag

boolean changeGuiFlag
flag to indicating that the GUI may have changed and that it should be rebuilt.


hasHistGUIflag

boolean hasHistGUIflag
flag to indicate that the GUI contains the Histogram sub-GUI


VIEW_WIDTH_NO_HIST

int VIEW_WIDTH_NO_HIST
Width of the frame without histogram


VIEW_WIDTH_WITH_HIST

int VIEW_WIDTH_WITH_HIST
Width of the frame with histogram


VIEW_HEIGHT

int VIEW_HEIGHT
Height of the frame with and without histogram


mbar

java.awt.MenuBar mbar
menu bar for the frame


fileMenu

java.awt.Menu fileMenu
"File" pull down Menu list


viewMenu

java.awt.Menu viewMenu
"View" pull down Menu list


filterMenu

java.awt.Menu filterMenu
"Filter" pull down Menu list


histMenu

java.awt.Menu histMenu
"Histogram" pull down Menu list


zoomChoice

java.awt.Choice zoomChoice
zoom Choice list


zoomFactor

int zoomFactor
zoomFactor


xImg

int[] xImg
array for x img coords


yImg

int[] yImg
array for y img coords


histChoice

java.awt.Choice histChoice
"Histogram" Choice list


controlPanel

java.awt.Panel controlPanel
Control panel for the main frame


ms

MenuSupport ms
Menu support functions using Hashtables to tack what is active


sp

java.awt.ScrollPane sp
Scroll pane to hold the image


aH

java.awt.Adjustable aH

aV

java.awt.Adjustable aV

siCanvas

CmpSpotsScrollableImagePanel siCanvas
ScrollableImage to hold the image and scrollers


msgTextArea

java.awt.TextArea msgTextArea
Text area GUI for message rporting


textAreaFontSize

int textAreaFontSize
font size


textFontFamily

java.lang.String textFontFamily
font family for message window


fontFamily

java.lang.String fontFamily

microFont

java.awt.Font microFont

smallFont

java.awt.Font smallFont

mediumFont

java.awt.Font mediumFont

largeFont

java.awt.Font largeFont

hugeFont

java.awt.Font hugeFont

humongousFont

java.awt.Font humongousFont

dispPixChoice

java.awt.Choice dispPixChoice
Selector for image to display after spot pairing


dispName

java.lang.String dispName
Name of image to display after spot pairing


dispPixC

char[] dispPixC
Picture buffer char[] of image to display after spot pairing. Note this is read either from the pix? variable or from the file if the pix? variable is null.


dispPixFile

java.lang.String dispPixFile
File of image to display after spot pairing. Used if dispPixC is null.


nSampleDisp

int nSampleDisp
Sample to display after spot pairing. Will be in the range of [0:pixNameList.length-1].


nsampleSelected

int nsampleSelected
Compute the selected sample (either RSAMPLE or SAMPLE). BY CONVENTION: all Rsamples are even (i.e, 0, 2) all Samples are odd (i.e., 1, 3)


pixNameList

java.lang.String[] pixNameList
list of display picture names for choices


pixMenuList

java.lang.String[] pixMenuList
list of display picture menu commands for choices


pixFileList

java.lang.String[] pixFileList

pixClist

char[][] pixClist
List of display pix names associated char[] images


nPixList

int nPixList
The size of the lists in case list contents is less than size


currentPix

int currentPix
current displayed img index


pixWidthSize

int[] pixWidthSize
List of pix widths[] associated with images


pixHeightSize

int[] pixHeightSize
List of pix widths[] associated with images


pixWidth

int pixWidth
The width of the current image


pixHeight

int pixHeight
The width of the current image


nPixels

int nPixels
The pixWidth*pixHeight


oGifFileName

java.lang.String oGifFileName
Full path of image to "Save image" in


filterbyLMSCB

java.awt.Checkbox filterbyLMSCB
the "Filter by LMS" Checkbox


filterByCurLMSFlag

boolean filterByCurLMSFlag
set from "Filter by LMS" checkbox


isVisibleFlag

boolean isVisibleFlag
Set true if window is visible


drawHorizSliceFlag

boolean drawHorizSliceFlag
menu CB item to display horizontal slice


drawVertSliceFlag

boolean drawVertSliceFlag
menu CB item to display vertical slice


filterGEQactiveBinFlag

boolean filterGEQactiveBinFlag
menu CB item to test spots for GEQ activeBin value, else LEQ activeBin value fromt the selected histogram bin for the histogram histType spot data.


filterBySPlabelFlag

boolean filterBySPlabelFlag
menu CB item to filter spots by SP label


filterByPPlabelFlag

boolean filterByPPlabelFlag
menu CB item to filter spots by PP label


filterByAPlabelFlag

boolean filterByAPlabelFlag
menu CB item to filter spots by AP label


filterByUSlabelFlag

boolean filterByUSlabelFlag
menu CB item to filter spots by US label


useFilterByBinFlag

boolean useFilterByBinFlag
menu CB item to filter spots by testing if the histogram active bin is selected and histogram spot feature meets the active bin test


useDragCB

java.awt.Checkbox useDragCB
the "Use drag" checkbox


useDragFlag

boolean useDragFlag
set from "Use drag" checkbox


reportAllSpotPairsForSelectedSpotFlag

boolean reportAllSpotPairsForSelectedSpotFlag
set from "Report all spot pairs for selected spot" menu checkbox


useAddVectorCB

java.awt.Checkbox useAddVectorCB
the "Add vector" checkbox


useAddVectorFlag

boolean useAddVectorFlag
set from "Add vector" checkbox


useAddLabelsCB

java.awt.Checkbox useAddLabelsCB
the "Add labels" checkbox


useAddLabelsFlag

boolean useAddLabelsFlag
set from "Add label" checkbox


addLandmarksCB

java.awt.Checkbox addLandmarksCB
the "Add landmarks" checkbox


useAddLandmarksFlag

boolean useAddLandmarksFlag
set from "Add Landmarks" Menu CB


useAddLMradiiFlag

boolean useAddLMradiiFlag
set from "Add LM radii" Menu CB


useAddCwRdbugFlag

boolean useAddCwRdbugFlag
set from "Add -cwRdbug ROI overlay" Menu CB


useAddCwSdbugFlag

boolean useAddCwSdbugFlag
set from "Add -cwSdbug ROI overlay" Menu CB


useSaveImageFlag

boolean useSaveImageFlag
set from "Save image" Command


logReportFlag

boolean logReportFlag
set from "Log report" checkbox menu item


viewWidth

int viewWidth

viewHeight

int viewHeight

pImg

java.awt.Image pImg
Image to display


showCWflag

boolean showCWflag

showNDCWflag

boolean showNDCWflag

showDbugCWflag

boolean showDbugCWflag

showPixdumpCWflag

boolean showPixdumpCWflag

alreadyViewedFlag

boolean alreadyViewedFlag
flag for closing and reopening popup


hCanvas

DrawHistogram hCanvas
Histogram Canvas to hold the image


hist

int[] hist
full input unscaled histogram data [0:nHist-1]


nHist

int nHist
size of input unscaled histogram[] data


histType

int histType
type of data to use with the histogram


dataUnits

java.lang.String dataUnits
Data type as fct of histogram data type


minDataValue

float minDataValue
Minimum value expected for current hist[] data


maxDataValue

float maxDataValue
Maximum value expected for current hist[] data


runT

java.lang.Thread runT
reposition scroller thread


notDoneFlag

boolean notDoneFlag
Set to kill the run loop

Class CmpSpots.CmpSpotsScrollableImagePanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 0L

Serialized Fields

csi

CmpShowImage csi
instance of CmpShowImage


cs

CmpSpots cs
instance of the main class


dol

DrawOverlays dol
instance of DrawOverlays


ctrlMod

boolean ctrlMod
CTRL/Mouse


shiftMod

boolean shiftMod
SHIFT/Mouse


ctrlShiftMod

boolean ctrlShiftMod
CTRL-SHIFT/Mouse


altMod

boolean altMod
ALT/Mouse


fontFamily

java.lang.String fontFamily

lblFont

java.awt.Font lblFont

lmFont

java.awt.Font lmFont

cursorFont

java.awt.Font cursorFont

xBase

int xBase
+ base address of ULHC of clipped image in image canvas used in last paint


yBase

int yBase

xImg

int xImg
image address (x,y)+(xBase,yBase)


yImg

int yImg
image address (x,y)+(xBase,yBase)


curDim

java.awt.Dimension curDim
keep track size, resizing window


dx1

int dx1

dy1

int dy1

dx2

int dx2

dy2

int dy2

centerPtX

int centerPtX
center point X


centerPtY

int centerPtY
center point Y


curLMS

int curLMS
current landmark set of current spot. -1 if not current spot


preferredWidth

int preferredWidth
preferred size of canvas Width


preferredHeight

int preferredHeight
preferred size of canvas Height


cursorColor

java.awt.Color cursorColor
Overlay color for cursor


lmDBcolor

java.awt.Color lmDBcolor
Overlay color for user defined landmarks


lmsColor

java.awt.Color lmsColor
Overlay color for spots in the currently selected landmark set


nonLMScolor

java.awt.Color nonLMScolor
Overlay color for spot that are NOT in the currently selected landmark set.


si

ScrollableImage si
actual scrolling object/panel


origImg

java.awt.Image origImg
original image


oImage

java.awt.Image oImage
for outside/offscreen painting


imgToDraw

java.awt.Image imgToDraw
painted image, can be zoomed


parentObj

java.lang.Object parentObj
for invoke method on outside


origPixWidth

int origPixWidth
pixel width


origPixHeight

int origPixHeight
original pixel height


pixWidth

int pixWidth
img width


pixHeight

int pixHeight
img height


curPixWidth

int curPixWidth
img width


curPixHeight

int curPixHeight
img height


canvasWidth

int canvasWidth
canvas width


canvasHeight

int canvasHeight
canvas height


curSpot

DbSpot curSpot
current spot if not null


dbugRoiColor

java.awt.Color dbugRoiColor
Overlay dbug ROI color


scrollPaneHeight

int scrollPaneHeight
scroller height


scrollPaneWidth

int scrollPaneWidth
scroller width


zoomFactor

int zoomFactor
zoom factor


scrollPos

java.awt.Point scrollPos
current scroller position


xObj

int xObj
X cursor position mapped to image


yObj

int yObj
Y cursor position mapped to image


curPos

java.awt.Point curPos
keep track of position of scroller