Package gov.nih.mipav.view
Class ViewJFrameHistoLUT
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Frame
-
- javax.swing.JFrame
-
- gov.nih.mipav.view.ViewJFrameBase
-
- gov.nih.mipav.view.ViewJFrameHistoLUT
-
- All Implemented Interfaces:
ViewImageUpdateInterface,java.awt.event.ActionListener,java.awt.event.ComponentListener,java.awt.event.WindowListener,java.awt.image.ImageObserver,java.awt.MenuContainer,java.io.Serializable,java.util.EventListener,javax.accessibility.Accessible,javax.swing.event.ChangeListener,javax.swing.RootPaneContainer,javax.swing.WindowConstants
public class ViewJFrameHistoLUT extends ViewJFrameBase implements java.awt.event.WindowListener, ViewImageUpdateInterface
Deprecated.This class produces a frame where the user can specify a specific LUT, the number of colors of the LUT or dynamically edit the LUT. The frame with histogram of the image data is displayed using the color map. All frames using the color map are dynamically updated with the new color map.- Version:
- 1.0
- Author:
- Matthew J. McAuliffe, Ph.D., Harman Singh, Lynne M. Pusanik
- See Also:
ViewJFrameBase,ViewJComponentHistoLUT,JFrameHistogram, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
-
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
-
-
Field Summary
Fields Modifier and Type Field Description private booleancalcThresholdVolumeDeprecated.DOCUMENT ME!private ViewJFrameColocalizationEMcolEMFrameDeprecated.DOCUMENT ME!private ViewJFrameColocalizationRegressioncolRegFrameDeprecated.DOCUMENT ME!private booleanentireFlagDeprecated.DOCUMENT ME!private ViewJPanelLUTlutPanelDeprecated.DOCUMENT ME!private ViewMenuBuildermenuObjDeprecated.DOCUMENT ME!private java.awt.FrameparentFrameDeprecated.Parent frameprivate ViewJComponentRegistrationregComponentDeprecated.DOCUMENT ME!private static longserialVersionUIDDeprecated.Use serialVersionUID for interoperability.-
Fields inherited from class gov.nih.mipav.view.ViewJFrameBase
absoluteGoToButton, absoluteGoToPanel, absoluteLabel, absoluteLabelVals, absolutePanel, absoluteXLabel, absoluteXTextField, absoluteYLabel, absoluteYTextField, absoluteZLabel, absoluteZTextField, alphaBlend, defaultLUTa, defaultLUTb, displayMode, IMAGE_A, IMAGE_A_B, IMAGE_B, imageA, imageB, isClosing, linkedScrolling, linkFrame, linkTriFrame, LUTa, LUTb, progressBar, scannerLPS_APLabel, scannerLPS_APTextField, scannerLPS_GoToButton, scannerLPS_GoToPanel, scannerLPS_ISLabel, scannerLPS_ISTextField, scannerLPS_RLLabel, scannerLPS_RLTextField, scannerLPSLabel, scannerLPSLabelVals, scannerLPSPanel, scannerRAS_APLabel, scannerRAS_APTextField, scannerRAS_GoToButton, scannerRAS_GoToPanel, scannerRAS_ISLabel, scannerRAS_ISTextField, scannerRAS_RLLabel, scannerRAS_RLTextField, scannerRASLabel, scannerRASLabelVals, scannerRASPanel, scannerTabbedPane, tabbedPane, talGoToButton, talGoToPanel, talXLabel, talXTextField, talYLabel, talYTextField, talZLabel, talZTextField, userInterface, zoomMode
-
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
-
Constructor Summary
Constructors Constructor Description ViewJFrameHistoLUT(ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.ViewJFrameHistoLUT(ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag, boolean visible)Deprecated.ViewJFrameHistoLUT(ViewJComponentRegistration _regComponent, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.ViewJFrameHistoLUT(ViewJFrameColocalizationEM colEMFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.ViewJFrameHistoLUT(ViewJFrameColocalizationRegression colRegFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.ViewJFrameHistoLUT(java.awt.Frame _parentFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent event)Deprecated.Calls various methods depending on the action.private voidbuildMenu()Deprecated.This method builds a menu which contains the options for opening/saving a LUT or set of transfer functions, closing the LUT, and utilities such as CT presets.static javax.swing.JLabelcreateSliderLabel(java.lang.String title)Deprecated.voiddispose()Deprecated.Disposes of components and frame.booleandoCalcThresholdVolume()Deprecated.Whether or not to calculate the threshold volume.voidenableThresholdingItems(boolean flag)Deprecated.Enables the thresholding menu item(s).ViewJComponentHLUTBasegetComponentHistoLUT(int imageAorB)Deprecated.DOCUMENT ME!ViewControlsImagegetControls()Deprecated.Gets the control widgets for the frame.ViewJComponentHLUTBasegetHistoLUTComponentA()Deprecated.Get the histogram component for imageA.ViewJComponentHLUTBasegetHistoLUTComponentB()Deprecated.Get the histogram component for imageB.ModelImagegetImageA()Deprecated.Accessor that returns the imageA.ModelImagegetImageB()Deprecated.Accessor that returns the imageB.floatgetLowerThreshold()Deprecated.Returns the lower threshold value.ModelLUTgetLUT()Deprecated.This method returns the current LUT.ViewJComponentLUTgetLUTComponentA()Deprecated.Get the imageA LUT.ViewJComponentLUTgetLUTComponentB()Deprecated.Get the imageB LUT.JDialogRecordLUTgetLUTRecorder()Deprecated.Get the JDialogRecordLUT reference from ViewJPanelLUT.TransferFunctiongetTransferLine()Deprecated.This method is used to obtain the VOIBase Single Transfer Line from ViewJFrameComponentHistoLut.floatgetUpperThreshold()Deprecated.Returns the upper threshold value.booleangetWholeImageFlag()Deprecated.Returns whether the whole image is being examined or just the VOI region.booleanisThresholding()Deprecated.Returns true if comphist A or B is in dual threshold inverse mode (for JDialogConvertType input ranges).voidnotifyOfUpdate(ModelLUT LUT, int imageAorB)Deprecated.Enable button to indicate image has changed and the histogram should be recalculated.voidremoveControls()Deprecated.Removes the menu and controls of the main frame so that a new frame can load the main frame with the proper controls.Abstract and must be extended.voidremoveHistoLUTb()Deprecated.Removes the tabbed pane for the histogram of image B.voidsetActiveImage(int active)Deprecated.Sets the active image for drawing VOIs.voidsetAlphaBlend(int value)Deprecated.Sets the alpha blending of parameter for two image displaying.voidsetControls()Deprecated.Sets the menu and controls (i.e. toolbars) of the main frame!voidsetCTMode(int st, int end)Deprecated.This method is used to set Computed Tomography (CT) presets for CT images.voidsetDisplayMode(int mode)Deprecated.Change the image display mode.voidsetEnabled(boolean flag)Deprecated.Controls whether or not the images/VOIs of the frame can be modified.voidsetImageB(ModelImage image)Deprecated.Accessor that sets the imageB.voidsetLinearLUT()Deprecated.This method sets the histogram to Linear Transfer Function Mode.voidsetLUT(ModelLUT newLUT)Deprecated.Change the panel's LUT.voidsetLUTA(ModelLUT LUT)Deprecated.Replaces the LUT A component.voidsetLUTB(ModelLUT LUT)Deprecated.Replaces the LUT B component.voidsetPaintBitmapSwitch(boolean flag)Deprecated.DOCUMENT ME!voidsetRGBTA(ModelRGB RGBT)Deprecated.The following 2 functions set the RGB tables for images A and B.voidsetRGBTB(ModelRGB RGBT)Deprecated.DOCUMENT ME!voidsetSlice(int slice)Deprecated.Does nothing in this class.voidsetTimeSlice(int tSlice)Deprecated.Does nothing in this class.voidsetTitle()Deprecated.setTitle.voidupdate()Deprecated.Redisplays histoLUT.voidupdateFrames(boolean flag)Deprecated.Update registration frames.voidupdateHistoLUT(ModelImage _imageA, ModelLUT _LUTa, ModelImage _imageB, ModelLUT _LUTb, boolean progressFlag)Deprecated.This method is called to update the histogram(s) displayed in each tabbed pane of the frame.booleanupdateImageExtents()Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen.booleanupdateImages()Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen.booleanupdateImages(boolean flag)Deprecated.This methods calls the componentImage's update method to redraw the screen.booleanupdateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)Deprecated.This methods calls the componentImage's update method to redraw the screen.voidupdateLUTPositionString(java.lang.String str)Deprecated.voidwindowActivated(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowClosed(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowClosing(java.awt.event.WindowEvent event)Deprecated.Calls close.voidwindowDeactivated(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowDeiconified(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowIconified(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowOpened(java.awt.event.WindowEvent event)Deprecated.Unchanged.-
Methods inherited from class gov.nih.mipav.view.ViewJFrameBase
about, buildLabelPanel, canCloseImageBAfterLoad, close, close, closeImageB, componentHidden, componentMoved, componentResized, componentShown, finalize, getAlphaBlend, getDefaultLUTa, getDefaultLUTb, getDisplayMode, getImageNameA, getImageNameB, getLastState, getLUTa, getLUTb, getRGBTA, getRGBTB, getTriImg, getUserInterface, handleMaskPopupMenu, handlePaintToMaskPopupMenu, handleZoomPopupMenu, initExtents, initImageBuffer, initLUT, initNumSlices, initPixelBuffer, initResFactor, initResolutions, initRGB, initSlicePositions, initUnits, initZoom, loadAllVOIs, loadAllVOIsFrom, loadImage, loadLUT, loadLUTandTransferFunctionFrom, loadLUTandTransferFunctionFrom, makeString, newFrameBeenCreated, openVOI, openVOI, pickImageFile, save, save, save, saveAllVOIs, saveAllVOIsTo, saveLabels, saveLUT, saveLUTandTransferFunction, saveLUTandTransferFunction, saveLUTAs, saveLUTAs, saveVOI, saveVOIAs, saveVOIAs, saveVOIIntensities, saveVOIIntensitiesTo, setAbsPositionLabels, setEnableCloseImageBAfterLoad, setImageA, setLastState, setLinkedFrame, setLinkedTriFrame, setLUTa, setLUTb, setLUTs, setMessageText, setOpacityInfo, setpaintBitmap, setScannerPosition, stateChanged
-
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
calcThresholdVolume
private boolean calcThresholdVolume
Deprecated.DOCUMENT ME!
-
colEMFrame
private ViewJFrameColocalizationEM colEMFrame
Deprecated.DOCUMENT ME!
-
colRegFrame
private ViewJFrameColocalizationRegression colRegFrame
Deprecated.DOCUMENT ME!
-
parentFrame
private java.awt.Frame parentFrame
Deprecated.Parent frame
-
entireFlag
private boolean entireFlag
Deprecated.DOCUMENT ME!
-
lutPanel
private ViewJPanelLUT lutPanel
Deprecated.DOCUMENT ME!
-
menuObj
private ViewMenuBuilder menuObj
Deprecated.DOCUMENT ME!
-
regComponent
private ViewJComponentRegistration regComponent
Deprecated.DOCUMENT ME!
-
-
Constructor Detail
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)
Deprecated.Makes a frame of the histogram and LUT.- Parameters:
_imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- Flag indicating if histogram should be done on all of image.
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(java.awt.Frame _parentFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)Deprecated.Makes a frame of the histogram and LUT.- Parameters:
_parentFrame- parent frame to hold the image._imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- Flag indicating if histogram should be done on all of image.
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag, boolean visible)
Deprecated.Makes a frame of the histogram and LUT.- Parameters:
_imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- Flag indicating if histogram should be done on all of image.visible- Frame visible or not.
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(ViewJFrameColocalizationRegression colRegFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)
Deprecated.Makes a frame of the histogram and LUT.- Parameters:
colRegFrame- DOCUMENT ME!_imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- Flag indicating if histogram should be done on all of image.
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(ViewJFrameColocalizationEM colEMFrame, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)
Deprecated.Makes a frame of the histogram and LUT.- Parameters:
colEMFrame- DOCUMENT ME!_imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- Flag indicating if histogram should be done on all of image.
-
ViewJFrameHistoLUT
public ViewJFrameHistoLUT(ViewJComponentRegistration _regComponent, ModelImage _imageA, ModelImage _imageB, ModelLUT _LUTa, ModelLUT _LUTb, boolean _entireFlag)
Deprecated.Makes a frame of the histogram and LUT.- Parameters:
_regComponent- component to which information is passed in manual registration_imageA- Model of imageA_imageB- Model of imageB_LUTa- Model of LUT for image A_LUTb- Model of LUT for image B_entireFlag- DOCUMENT ME!
-
-
Method Detail
-
createSliderLabel
public static final javax.swing.JLabel createSliderLabel(java.lang.String title)
Deprecated.Creates a label in the proper font and color.- Parameters:
title- The title of the label.- Returns:
- The new label.
- See Also:
MipavUtil
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
Deprecated.Calls various methods depending on the action.- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Specified by:
actionPerformedin classViewJFrameBase- Parameters:
event- event that triggered function
-
dispose
public void dispose()
Deprecated.Disposes of components and frame.- Overrides:
disposein classjava.awt.Window
-
doCalcThresholdVolume
public boolean doCalcThresholdVolume()
Deprecated.Whether or not to calculate the threshold volume.- Returns:
- boolean do calc?
-
enableThresholdingItems
public void enableThresholdingItems(boolean flag)
Deprecated.Enables the thresholding menu item(s).- Parameters:
flag- whether to enable the items
-
getComponentHistoLUT
public ViewJComponentHLUTBase getComponentHistoLUT(int imageAorB)
Deprecated.DOCUMENT ME!- Parameters:
imageAorB- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getControls
public ViewControlsImage getControls()
Deprecated.Gets the control widgets for the frame.- Specified by:
getControlsin classViewJFrameBase- Returns:
- DOCUMENT ME!
-
getHistoLUTComponentA
public ViewJComponentHLUTBase getHistoLUTComponentA()
Deprecated.Get the histogram component for imageA.- Returns:
- the imageA histogram component
-
getHistoLUTComponentB
public ViewJComponentHLUTBase getHistoLUTComponentB()
Deprecated.Get the histogram component for imageB.- Returns:
- the imageB histogram component
-
getImageA
public ModelImage getImageA()
Deprecated.Accessor that returns the imageA.- Specified by:
getImageAin classViewJFrameBase- Returns:
- image
-
getImageB
public ModelImage getImageB()
Deprecated.Accessor that returns the imageB.- Specified by:
getImageBin classViewJFrameBase- Returns:
- imageB
-
getLowerThreshold
public float getLowerThreshold()
Deprecated.Returns the lower threshold value.- Returns:
- float lower thresh
-
getLUT
public ModelLUT getLUT()
Deprecated.This method returns the current LUT.- Returns:
- LUT for Image A if selected, otherwise for Image B
-
getLUTComponentA
public final ViewJComponentLUT getLUTComponentA()
Deprecated.Get the imageA LUT.- Returns:
- the imageA LUT component
-
getLUTComponentB
public final ViewJComponentLUT getLUTComponentB()
Deprecated.Get the imageB LUT.- Returns:
- the imageB LUT component
-
getLUTRecorder
public JDialogRecordLUT getLUTRecorder()
Deprecated.Get the JDialogRecordLUT reference from ViewJPanelLUT.- Returns:
- JDialogRecordLUT
-
getTransferLine
public TransferFunction getTransferLine()
Deprecated.This method is used to obtain the VOIBase Single Transfer Line from ViewJFrameComponentHistoLut.- Returns:
- LUTb.getTransferFunction() - VOIBase of Single Transfer Line for Image B
-
getUpperThreshold
public float getUpperThreshold()
Deprecated.Returns the upper threshold value.- Returns:
- float upper thresh
-
getWholeImageFlag
public boolean getWholeImageFlag()
Deprecated.Returns whether the whole image is being examined or just the VOI region.- Returns:
- whether the whole image is being examined or just the VOI region
-
isThresholding
public boolean isThresholding()
Deprecated.Returns true if comphist A or B is in dual threshold inverse mode (for JDialogConvertType input ranges).- Returns:
- boolean is dual threshold inversing
-
notifyOfUpdate
public void notifyOfUpdate(ModelLUT LUT, int imageAorB)
Deprecated.Enable button to indicate image has changed and the histogram should be recalculated.- Parameters:
LUT- new Lookup tableimageAorB- indicates which histogram needs to be recalculated
-
removeControls
public void removeControls()
Deprecated.Removes the menu and controls of the main frame so that a new frame can load the main frame with the proper controls.Abstract and must be extended.- Specified by:
removeControlsin classViewJFrameBase
-
removeHistoLUTb
public void removeHistoLUTb()
Deprecated.Removes the tabbed pane for the histogram of image B.
-
setActiveImage
public void setActiveImage(int active)
Deprecated.Sets the active image for drawing VOIs. VOIs are only drawn in the active image. In addition, algorithms are executed on the active window.- Specified by:
setActiveImagein classViewJFrameBase- Parameters:
active- IMAGE_A or IMAGE_B
-
setAlphaBlend
public void setAlphaBlend(int value)
Deprecated.Sets the alpha blending of parameter for two image displaying.- Specified by:
setAlphaBlendin classViewJFrameBase- Parameters:
value- amount [0,100] that is the percentage of Image A to be displayed and (1-percentage) of Image B to be displayed
-
setControls
public void setControls()
Deprecated.Sets the menu and controls (i.e. toolbars) of the main frame! This puts only the menus and controls needed to controls the operations of this frame. Different image frames have different menu and controls.- Specified by:
setControlsin classViewJFrameBase
-
setCTMode
public void setCTMode(int st, int end)Deprecated.This method is used to set Computed Tomography (CT) presets for CT images.- Parameters:
st- starting preset of the windowend- ending preset of the window- See Also:
JDialogCT
-
setDisplayMode
public void setDisplayMode(int mode)
Deprecated.Change the image display mode.- Parameters:
mode- IMAGE_A or IMAGE_B or IMAGE_A_B
-
setEnabled
public void setEnabled(boolean flag)
Deprecated.Controls whether or not the images/VOIs of the frame can be modified.- Specified by:
setEnabledin classViewJFrameBase- Parameters:
flag- if true the image/VOIs can be modified; if false image/VOIs can NOT be modified
-
setImageB
public void setImageB(ModelImage image)
Deprecated.Accessor that sets the imageB.- Specified by:
setImageBin classViewJFrameBase- Parameters:
image- image to set frame to
-
setLinearLUT
public void setLinearLUT()
Deprecated.This method sets the histogram to Linear Transfer Function Mode.
-
setLUT
public void setLUT(ModelLUT newLUT)
Deprecated.Change the panel's LUT.- Parameters:
newLUT- the new LUT
-
setLUTA
public void setLUTA(ModelLUT LUT)
Deprecated.Replaces the LUT A component.- Parameters:
LUT- new LUT
-
setLUTB
public void setLUTB(ModelLUT LUT)
Deprecated.Replaces the LUT B component.- Parameters:
LUT- new LUT
-
setPaintBitmapSwitch
public void setPaintBitmapSwitch(boolean flag)
Deprecated.DOCUMENT ME!- Specified by:
setPaintBitmapSwitchin classViewJFrameBase- Parameters:
flag- DOCUMENT ME!
-
setRGBTA
public void setRGBTA(ModelRGB RGBT)
Deprecated.The following 2 functions set the RGB tables for images A and B.- Specified by:
setRGBTAin classViewJFrameBase- Parameters:
RGBT- DOCUMENT ME!
-
setRGBTB
public void setRGBTB(ModelRGB RGBT)
Deprecated.DOCUMENT ME!- Specified by:
setRGBTBin classViewJFrameBase- Parameters:
RGBT- DOCUMENT ME!
-
setSlice
public void setSlice(int slice)
Deprecated.Does nothing in this class.- Specified by:
setSlicein interfaceViewImageUpdateInterface- Parameters:
slice- DOCUMENT ME!
-
setTimeSlice
public void setTimeSlice(int tSlice)
Deprecated.Does nothing in this class.- Specified by:
setTimeSlicein interfaceViewImageUpdateInterface- Parameters:
tSlice- DOCUMENT ME!
-
setTitle
public void setTitle()
Deprecated.setTitle.- Specified by:
setTitlein classViewJFrameBase
-
update
public void update()
Deprecated.Redisplays histoLUT.
-
updateFrames
public void updateFrames(boolean flag)
Deprecated.Update registration frames.- Parameters:
flag- whether to display a reloading of the image in the frames
-
updateHistoLUT
public void updateHistoLUT(ModelImage _imageA, ModelLUT _LUTa, ModelImage _imageB, ModelLUT _LUTb, boolean progressFlag)
Deprecated.This method is called to update the histogram(s) displayed in each tabbed pane of the frame.- Parameters:
_imageA- image A_LUTa- lookup table for image A_imageB- image B_LUTb- lookup table for image BprogressFlag- passed to calculateHistogram algorithm. If false progress bar is not displayed
-
updateImageExtents
public boolean updateImageExtents()
Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen. The extents on this image have changed, so the extents need to be read in again and menus, panes and slide bars adjusted accordingly.- Specified by:
updateImageExtentsin interfaceViewImageUpdateInterface- Specified by:
updateImageExtentsin classViewJFrameBase- Returns:
- DOCUMENT ME!
- See Also:
ViewImageUpdateInterface
-
updateImages
public boolean updateImages()
Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen. Without LUT changes or image changes- Specified by:
updateImagesin interfaceViewImageUpdateInterface- Returns:
- DOCUMENT ME!
-
updateImages
public boolean updateImages(boolean flag)
Deprecated.This methods calls the componentImage's update method to redraw the screen. Without LUT changes. Does nothing in this class.- Specified by:
updateImagesin interfaceViewImageUpdateInterface- Parameters:
flag- forces show to re import image and calc. java image- Returns:
- boolean confirming successful update
-
updateImages
public boolean updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)
Deprecated.This methods calls the componentImage's update method to redraw the screen. Does nothing in this class.- Specified by:
updateImagesin interfaceViewImageUpdateInterface- Parameters:
LUTa- LUT used to update imageALUTb- LUT used to update imageBflag- forces show to re import image and calc. java imageinterpMode- image interpolation method (Nearest or Smooth)- Returns:
- boolean confirming a successful update
-
updateLUTPositionString
public void updateLUTPositionString(java.lang.String str)
Deprecated.
-
windowActivated
public void windowActivated(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowActivatedin interfacejava.awt.event.WindowListener- Overrides:
windowActivatedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
windowClosed
public void windowClosed(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowClosedin interfacejava.awt.event.WindowListener- Overrides:
windowClosedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
windowClosing
public void windowClosing(java.awt.event.WindowEvent event)
Deprecated.Calls close.- Specified by:
windowClosingin interfacejava.awt.event.WindowListener- Overrides:
windowClosingin classViewJFrameBase- Parameters:
event- event that triggered function
-
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowDeactivatedin interfacejava.awt.event.WindowListener- Overrides:
windowDeactivatedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowDeiconifiedin interfacejava.awt.event.WindowListener- Overrides:
windowDeiconifiedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
windowIconified
public void windowIconified(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowIconifiedin interfacejava.awt.event.WindowListener- Overrides:
windowIconifiedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
windowOpened
public void windowOpened(java.awt.event.WindowEvent event)
Deprecated.Unchanged.- Specified by:
windowOpenedin interfacejava.awt.event.WindowListener- Overrides:
windowOpenedin classViewJFrameBase- Parameters:
event- DOCUMENT ME!
-
buildMenu
private void buildMenu()
Deprecated.This method builds a menu which contains the options for opening/saving a LUT or set of transfer functions, closing the LUT, and utilities such as CT presets.
-
-