Package gov.nih.mipav.view
Class ViewJPanelLUT
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JPanel
- 
- gov.nih.mipav.view.ViewJPanelLUT
 
 
 
 
 
- 
- All Implemented Interfaces:
- HistoLUTParent,- java.awt.event.ActionListener,- java.awt.event.ItemListener,- java.awt.event.KeyListener,- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.io.Serializable,- java.util.EventListener,- javax.accessibility.Accessible,- javax.swing.event.ChangeListener
 
 public class ViewJPanelLUT extends javax.swing.JPanel implements java.awt.event.ItemListener, java.awt.event.ActionListener, javax.swing.event.ChangeListener, java.awt.event.KeyListener, HistoLUTParent Deprecated.Panel which contains the LUT / HistoLUT components and related GUI components.- Version:
- 1.0
- Author:
- Evan McCreedy
- See Also:
- JFrameHistogram, Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class javax.swing.JPaneljavax.swing.JPanel.AccessibleJPanel
 - 
Nested classes/interfaces inherited from class javax.swing.JComponentjavax.swing.JComponent.AccessibleJComponent
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private JDialogCTctDialogADeprecated.DOCUMENT ME!private JDialogCTctDialogBDeprecated.DOCUMENT ME!private intcursorIndexDeprecated.Active mouse cursor index of the imageA, B and GM image A, B.private intcursorIndexBDeprecated.Active mouse cursor index of the imageA, B and GM image A, B.static java.lang.StringcustomLUTsLocationDeprecated.private booleanentireFlagDeprecated.DOCUMENT ME!private ModelHistogramhistogramADeprecated.DOCUMENT ME!private ModelHistogramhistogramBDeprecated.DOCUMENT ME!private ViewJPanelHistoLUThistoPanelADeprecated.DOCUMENT ME!private ViewJPanelHistoLUThistoPanelBDeprecated.DOCUMENT ME!private javax.swing.JTextFieldindexColorATextFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldindexColorBTextFDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxinterpCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxinterpCheckBoxBDeprecated.DOCUMENT ME!private java.util.Hashtable<java.lang.Integer,javax.swing.JLabel>labelsTableDeprecated.Histogram dialog slider labels of the imageA, B and GM imageA, B.private java.util.Hashtable<java.lang.Integer,javax.swing.JLabel>labelsTableBDeprecated.Histogram dialog slider labels of the imageA, B and GM imageA, B.private javax.swing.JCheckBoxlogCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxlogCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JLabelmouseLabelDeprecated.The opacity slider label.private javax.swing.JLabelmouseLabelBDeprecated.The opacity slider label.private javax.swing.JSlidermouseSliderDeprecated.Opacity X scale sliders.private javax.swing.JSlidermouseSliderBDeprecated.Opacity X scale sliders.private javax.swing.JLabel[]mouseSliderLabelsDeprecated.The labels below the opacity slider.private javax.swing.JLabel[]mouseSliderLabelsBDeprecated.The labels below the opacity slider.private javax.swing.JTextFieldnColorsATextFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldnColorsBTextFDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxoneBasedLUTCheckBoxImageBDeprecated.DOCUMENT ME!private javax.swing.JComboBoxoutputBoxDeprecated.DOCUMENT ME!private javax.swing.JComboBoxoutputBoxBDeprecated.DOCUMENT ME!private javax.swing.JPanelpanelADeprecated.DOCUMENT ME!private javax.swing.JPanelpanelBDeprecated.DOCUMENT ME!private ViewJFrameHistoLUTpanelParentDeprecated.DOCUMENT ME!private javax.swing.JTextFieldrangeTextDeprecated.X range text field in the imageA, B histogram dialog.private javax.swing.JTextFieldrangeTextBDeprecated.X range text field in the imageA, B histogram dialog.private floatrangeXDeprecated.X range value of the imageA, B and GM imageA, B.private floatrangeXBDeprecated.X range value of the imageA, B and GM imageA, B.private intscaleRangeADeprecated.Scale range value according to the image min and max.private intscaleRangeBDeprecated.Scale range value according to the image min and max.private static longserialVersionUIDDeprecated.Use serialVersionUID for interoperability.private javax.swing.JTabbedPanetabbedPaneDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshFillBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshFillFDeprecated.threshold related.private javax.swing.JTextFieldthreshLowerBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshLowerFDeprecated.threshold related.private javax.swing.JTextFieldthreshUpperBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshUpperFDeprecated.threshold related.private javax.swing.JToolBartoolBarBottomDeprecated.DOCUMENT ME!private javax.swing.JToolBartoolBarCenterDeprecated.center toolbarprivate ViewToolBarBuildertoolBarObjDeprecated.DOCUMENT ME!private javax.swing.JToolBartoolBarThresholdDeprecated.DOCUMENT ME!private javax.swing.JToolBartoolBarTopDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxupdateCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxupdateCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JLabelvoxelVolumeLabelDeprecated.Used to display the volume or area of the voxels/pixels between the upper and lower bounds.private javax.swing.JTextFieldxRangeTextADeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.private javax.swing.JTextFieldxRangeTextBDeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.private javax.swing.JTextFieldyRangeTextADeprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.private javax.swing.JTextFieldyRangeTextBDeprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.- 
Fields inherited from class javax.swing.JComponentlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
- 
 - 
Constructor SummaryConstructors Constructor Description ViewJPanelLUT(ViewJFrameHistoLUT parent)Deprecated.
 - 
Method SummaryAll 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.static javax.swing.JToolBarbuildLUTSelectionList(java.awt.event.ActionListener listener)Deprecated.private voidbuildPanelA(ModelImage image, ModelLUT LUT, boolean entireFlag)Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT.private voidbuildPanelB(ModelImage image, ModelLUT LUT, boolean entireFlag)Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT.private voidcalcHistogram(int imageAorB, boolean entireFlag, boolean progressFlag)Deprecated.Calculates histogram for the image(s).private voidcalcThreshold()Deprecated.Calculates the thresholded image based on the parameters of the threshold transfer function.private voidcalculateThreshold()Deprecated.Calculates the volume (for 3D images) or area (for 2D images) of the image between the two values from the upper and lower bounds text areas.private voidcalculateThreshold(float lower, float upper)Deprecated.Calculates the volume or area of the image between the two values from the upper and lower bounds (inclusive).private voidcalculateThresholdArea(float lower, float upper)Deprecated.Calculates the area of the image between the two values from the upper and lower bounds (inclusive).private voidcalculateThresholdVolume(float lower, float upper)Deprecated.Calculates the volume of the image between the two values from the upper and lower bounds (inclusive).voidclearVoxelLabel()Deprecated.DOCUMENT ME!voiddispose()Deprecated.Disposes of components and frame.voiddragPoint(java.awt.event.MouseEvent mouseEvent)Deprecated.Placeholder.private static java.util.Vector<java.lang.String>getCustomLUTList()Deprecated.ViewJComponentHLUTBasegetHistoLUTComponentA()Deprecated.Get the histogram component for imageA.ViewJComponentHLUTBasegetHistoLUTComponentB()Deprecated.Get the histogram component for imageB.floatgetLowerThreshold()Deprecated.Returns the lower threshold value.ModelLUTgetLUTa()Deprecated.Get the imageA histo component lut.ModelLUTgetLUTb()Deprecated.Get the imageB histo component lut.ViewJComponentLUTgetLUTComponentA()Deprecated.Get the imageA LUT.ViewJComponentLUTgetLUTComponentB()Deprecated.Get the imageB LUT.JDialogRecordLUTgetLUTRecorder()Deprecated.Get the LUT recorder reference.floatgetUpperThreshold()Deprecated.Returns the upper threshold value.voidinitGUI()Deprecated.Set up the panel components.booleanisImageASelected()Deprecated.Returns whether the imageA LUT panel is the one being worked on.booleanisImageBSelected()Deprecated.Returns whether the imageB LUT panel is the one being worked on.booleanisImageUpdate()Deprecated.Indicates if real-time update of the image should take place.private booleanisLUT1Based(ModelLUT LUT)Deprecated.end HistoLUTParent.voiditemStateChanged(java.awt.event.ItemEvent event)Deprecated.Sets the flags for the checkboxes.voidkeyPressed(java.awt.event.KeyEvent e)Deprecated.Unchanged.voidkeyReleased(java.awt.event.KeyEvent e)Deprecated.Unchanged.voidkeyTyped(java.awt.event.KeyEvent e)Deprecated.If the ENTER key is hit while in threshold boxes, update the LUT's threshold (for dual threshold).static java.io.BufferedReaderopenLUTFile(java.lang.String lutName)Deprecated.voidremoveHistoLUTb()Deprecated.Removes the tabbed pane for the histogram of image B.voidsetAllOff()Deprecated.Placeholder.voidsetLUT(ModelLUT newLUT)Deprecated.Replaces the LUT and builds a new LUT component.voidsetLUTa(ModelLUT lut)Deprecated.Change the histogram component LUT.voidsetLUTb(ModelLUT lut)Deprecated.Change the histogram component LUT.voidsetNColors(int value)Deprecated.Change the text field showing the number of colors.voidsetRangeText(float x, float y, int _index)Deprecated.Set the range value of the text field.voidstateChanged(javax.swing.event.ChangeEvent e)Deprecated.Sets values based on knob along slider.voidupdateComponentLUT()Deprecated.Placeholder.voidupdateFrames(boolean flag)Deprecated.Update all of the image frames that display the image this histo lut is for.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.voidupdateLUTPositionString(java.lang.String str)Deprecated.Placeholder.voidupdateThresholdFields(float lower, float upper)Deprecated.Method to update the threshold text fields when the lower or upper threshold changes.- 
Methods inherited from class javax.swing.JPanelgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 - 
Methods inherited from class javax.swing.JComponentaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 - 
Methods inherited from class java.awt.Containeradd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
 - 
Methods inherited from class java.awt.Componentaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDprivate static final long serialVersionUID Deprecated.Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
 
 - 
ctDialogAprivate JDialogCT ctDialogA Deprecated.DOCUMENT ME!
 - 
ctDialogBprivate JDialogCT ctDialogB Deprecated.DOCUMENT ME!
 - 
cursorIndexprivate int cursorIndex Deprecated.Active mouse cursor index of the imageA, B and GM image A, B.
 - 
cursorIndexBprivate int cursorIndexB Deprecated.Active mouse cursor index of the imageA, B and GM image A, B.
 - 
entireFlagprivate boolean entireFlag Deprecated.DOCUMENT ME!
 - 
histogramAprivate ModelHistogram histogramA Deprecated.DOCUMENT ME!
 - 
histogramBprivate ModelHistogram histogramB Deprecated.DOCUMENT ME!
 - 
histoPanelAprivate ViewJPanelHistoLUT histoPanelA Deprecated.DOCUMENT ME!
 - 
histoPanelBprivate ViewJPanelHistoLUT histoPanelB Deprecated.DOCUMENT ME!
 - 
indexColorATextFprivate javax.swing.JTextField indexColorATextF Deprecated.DOCUMENT ME!
 - 
indexColorBTextFprivate javax.swing.JTextField indexColorBTextF Deprecated.DOCUMENT ME!
 - 
interpCheckBoxAprivate javax.swing.JCheckBox interpCheckBoxA Deprecated.DOCUMENT ME!
 - 
interpCheckBoxBprivate javax.swing.JCheckBox interpCheckBoxB Deprecated.DOCUMENT ME!
 - 
labelsTableprivate java.util.Hashtable<java.lang.Integer,javax.swing.JLabel> labelsTable Deprecated.Histogram dialog slider labels of the imageA, B and GM imageA, B.
 - 
labelsTableBprivate java.util.Hashtable<java.lang.Integer,javax.swing.JLabel> labelsTableB Deprecated.Histogram dialog slider labels of the imageA, B and GM imageA, B.
 - 
logCheckBoxAprivate javax.swing.JCheckBox logCheckBoxA Deprecated.DOCUMENT ME!
 - 
logCheckBoxBprivate javax.swing.JCheckBox logCheckBoxB Deprecated.DOCUMENT ME!
 - 
mouseLabelprivate javax.swing.JLabel mouseLabel Deprecated.The opacity slider label.
 - 
mouseLabelBprivate javax.swing.JLabel mouseLabelB Deprecated.The opacity slider label.
 - 
mouseSliderprivate javax.swing.JSlider mouseSlider Deprecated.Opacity X scale sliders.
 - 
mouseSliderBprivate javax.swing.JSlider mouseSliderB Deprecated.Opacity X scale sliders.
 - 
mouseSliderLabelsprivate javax.swing.JLabel[] mouseSliderLabels Deprecated.The labels below the opacity slider.
 - 
mouseSliderLabelsBprivate javax.swing.JLabel[] mouseSliderLabelsB Deprecated.The labels below the opacity slider.
 - 
nColorsATextFprivate javax.swing.JTextField nColorsATextF Deprecated.DOCUMENT ME!
 - 
nColorsBTextFprivate javax.swing.JTextField nColorsBTextF Deprecated.DOCUMENT ME!
 - 
oneBasedLUTCheckBoxImageBprivate javax.swing.JCheckBox oneBasedLUTCheckBoxImageB Deprecated.DOCUMENT ME!
 - 
outputBoxprivate javax.swing.JComboBox outputBox Deprecated.DOCUMENT ME!
 - 
outputBoxBprivate javax.swing.JComboBox outputBoxB Deprecated.DOCUMENT ME!
 - 
panelAprivate javax.swing.JPanel panelA Deprecated.DOCUMENT ME!
 - 
panelBprivate javax.swing.JPanel panelB Deprecated.DOCUMENT ME!
 - 
panelParentprivate ViewJFrameHistoLUT panelParent Deprecated.DOCUMENT ME!
 - 
rangeTextprivate javax.swing.JTextField rangeText Deprecated.X range text field in the imageA, B histogram dialog.
 - 
rangeTextBprivate javax.swing.JTextField rangeTextB Deprecated.X range text field in the imageA, B histogram dialog.
 - 
rangeXprivate float rangeX Deprecated.X range value of the imageA, B and GM imageA, B.
 - 
rangeXBprivate float rangeXB Deprecated.X range value of the imageA, B and GM imageA, B.
 - 
scaleRangeAprivate int scaleRangeA Deprecated.Scale range value according to the image min and max.
 - 
scaleRangeBprivate int scaleRangeB Deprecated.Scale range value according to the image min and max.
 - 
tabbedPaneprivate javax.swing.JTabbedPane tabbedPane Deprecated.DOCUMENT ME!
 - 
threshLowerBFprivate javax.swing.JTextField threshLowerBF Deprecated.DOCUMENT ME!
 - 
threshUpperBFprivate javax.swing.JTextField threshUpperBF Deprecated.DOCUMENT ME!
 - 
threshFillBFprivate javax.swing.JTextField threshFillBF Deprecated.DOCUMENT ME!
 - 
threshLowerFprivate javax.swing.JTextField threshLowerF Deprecated.threshold related.
 - 
threshUpperFprivate javax.swing.JTextField threshUpperF Deprecated.threshold related.
 - 
threshFillFprivate javax.swing.JTextField threshFillF Deprecated.threshold related.
 - 
toolBarBottomprivate javax.swing.JToolBar toolBarBottom Deprecated.DOCUMENT ME!
 - 
toolBarCenterprivate javax.swing.JToolBar toolBarCenter Deprecated.center toolbar
 - 
toolBarObjprivate ViewToolBarBuilder toolBarObj Deprecated.DOCUMENT ME!
 - 
toolBarThresholdprivate javax.swing.JToolBar toolBarThreshold Deprecated.DOCUMENT ME!
 - 
toolBarTopprivate javax.swing.JToolBar toolBarTop Deprecated.DOCUMENT ME!
 - 
updateCheckBoxAprivate javax.swing.JCheckBox updateCheckBoxA Deprecated.DOCUMENT ME!
 - 
updateCheckBoxBprivate javax.swing.JCheckBox updateCheckBoxB Deprecated.DOCUMENT ME!
 - 
voxelVolumeLabelprivate javax.swing.JLabel voxelVolumeLabel Deprecated.Used to display the volume or area of the voxels/pixels between the upper and lower bounds.
 - 
xRangeTextAprivate javax.swing.JTextField xRangeTextA Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
 - 
xRangeTextBprivate javax.swing.JTextField xRangeTextB Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
 - 
yRangeTextAprivate javax.swing.JTextField yRangeTextA Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
 - 
yRangeTextBprivate javax.swing.JTextField yRangeTextB Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
 - 
customLUTsLocationpublic static final java.lang.String customLUTsLocation Deprecated.The location of custom LUT definitions, mostly used for volume rendering purposes. The original set were taken from the Osirix imaging application.- See Also:
- ModelLUT, Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ViewJPanelLUTpublic ViewJPanelLUT(ViewJFrameHistoLUT parent) Deprecated.Set up the LUT panel.- Parameters:
- parent- DOCUMENT ME!
 
 
- 
 - 
Method Detail- 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent event) Deprecated.Calls various methods depending on the action.- Specified by:
- actionPerformedin interface- java.awt.event.ActionListener
- Parameters:
- event- event that triggered function
 
 - 
clearVoxelLabelpublic void clearVoxelLabel() Deprecated.DOCUMENT ME!
 - 
disposepublic void dispose() Deprecated.Disposes of components and frame.
 - 
dragPointpublic void dragPoint(java.awt.event.MouseEvent mouseEvent) Deprecated.Placeholder.- Specified by:
- dragPointin interface- HistoLUTParent
- Parameters:
- mouseEvent- drag event
 
 - 
getHistoLUTComponentApublic final ViewJComponentHLUTBase getHistoLUTComponentA() Deprecated.Get the histogram component for imageA.- Returns:
- the imageA histogram component
 
 - 
getHistoLUTComponentBpublic final ViewJComponentHLUTBase getHistoLUTComponentB() Deprecated.Get the histogram component for imageB.- Returns:
- the imageB histogram component
 
 - 
getLowerThresholdpublic float getLowerThreshold() Deprecated.Returns the lower threshold value.- Returns:
- float lower thresh
 
 - 
getLUTapublic final ModelLUT getLUTa() Deprecated.Get the imageA histo component lut.- Returns:
- ModelLUT
 
 - 
getLUTbpublic final ModelLUT getLUTb() Deprecated.Get the imageB histo component lut.- Returns:
- ModelLUT
 
 - 
getLUTComponentApublic final ViewJComponentLUT getLUTComponentA() Deprecated.Get the imageA LUT.- Returns:
- the imageA LUT component
 
 - 
getLUTComponentBpublic final ViewJComponentLUT getLUTComponentB() Deprecated.Get the imageB LUT.- Returns:
- the imageB LUT component
 
 - 
getLUTRecorderpublic JDialogRecordLUT getLUTRecorder() Deprecated.Get the LUT recorder reference.- Returns:
- JDialogRecordLUT reference to LUT recorder.
 
 - 
getUpperThresholdpublic float getUpperThreshold() Deprecated.Returns the upper threshold value.- Returns:
- float upper thresh
 
 - 
initGUIpublic void initGUI() Deprecated.Set up the panel components.
 - 
buildLUTSelectionListpublic static final javax.swing.JToolBar buildLUTSelectionList(java.awt.event.ActionListener listener) Deprecated.Build the center part of the LUT toolbar.- Parameters:
- listener- The listener to attach to the created LUT selection combo box.
- Returns:
- the top part of the LUT toolbar
 
 - 
getCustomLUTListprivate static final java.util.Vector<java.lang.String> getCustomLUTList() Deprecated.
 - 
isImageASelectedpublic boolean isImageASelected() Deprecated.Returns whether the imageA LUT panel is the one being worked on.- Returns:
- whether the imageA LUT panel is the one being worked on
 
 - 
isImageBSelectedpublic boolean isImageBSelected() Deprecated.Returns whether the imageB LUT panel is the one being worked on.- Returns:
- whether the imageB LUT panel is the one being worked on
 
 - 
isImageUpdatepublic boolean isImageUpdate() Deprecated.Indicates if real-time update of the image should take place.- Specified by:
- isImageUpdatein interface- HistoLUTParent
- Returns:
- trueif real time update should take place
 
 - 
itemStateChangedpublic void itemStateChanged(java.awt.event.ItemEvent event) Deprecated.Sets the flags for the checkboxes.- Specified by:
- itemStateChangedin interface- java.awt.event.ItemListener
- Parameters:
- event- event that triggered this function
 
 - 
keyPressedpublic void keyPressed(java.awt.event.KeyEvent e) Deprecated.Unchanged.- Specified by:
- keyPressedin interface- java.awt.event.KeyListener
- Parameters:
- e- DOCUMENT ME!
 
 - 
keyReleasedpublic void keyReleased(java.awt.event.KeyEvent e) Deprecated.Unchanged.- Specified by:
- keyReleasedin interface- java.awt.event.KeyListener
- Parameters:
- e- DOCUMENT ME!
 
 - 
keyTypedpublic void keyTyped(java.awt.event.KeyEvent e) Deprecated.If the ENTER key is hit while in threshold boxes, update the LUT's threshold (for dual threshold).- Specified by:
- keyTypedin interface- java.awt.event.KeyListener
- Parameters:
- e- KeyEvent
 
 - 
removeHistoLUTbpublic void removeHistoLUTb() Deprecated.Removes the tabbed pane for the histogram of image B.
 - 
setAllOffpublic void setAllOff() Deprecated.Placeholder.- Specified by:
- setAllOffin interface- HistoLUTParent
 
 - 
setLUTpublic void setLUT(ModelLUT newLUT) Deprecated.Replaces the LUT and builds a new LUT component.- Specified by:
- setLUTin interface- HistoLUTParent
- Parameters:
- newLUT- New LUT
 
 - 
setLUTapublic final void setLUTa(ModelLUT lut) Deprecated.Change the histogram component LUT.- Parameters:
- lut- the new lut
 
 - 
setLUTbpublic final void setLUTb(ModelLUT lut) Deprecated.Change the histogram component LUT.- Parameters:
- lut- the new lut
 
 - 
setNColorspublic void setNColors(int value) Deprecated.Change the text field showing the number of colors.- Parameters:
- value- the number of colors
 
 - 
setRangeTextpublic void setRangeText(float x, float y, int _index)Deprecated.Set the range value of the text field.- Specified by:
- setRangeTextin interface- HistoLUTParent
- Parameters:
- x- the x threshold range value
- y- the y threshold range value
- _index- the cursor index
 
 - 
stateChangedpublic void stateChanged(javax.swing.event.ChangeEvent e) Deprecated.Sets values based on knob along slider.- Specified by:
- stateChangedin interface- javax.swing.event.ChangeListener
- Parameters:
- e- event that triggered this function
 
 - 
updateComponentLUTpublic void updateComponentLUT() Deprecated.Placeholder.- Specified by:
- updateComponentLUTin interface- HistoLUTParent
 
 - 
updateFramespublic void updateFrames(boolean flag) Deprecated.Update all of the image frames that display the image this histo lut is for.- Specified by:
- updateFramesin interface- HistoLUTParent
- Parameters:
- flag- this boolean indicates if the frame that displays the image should re-export the image and apply new LUT
- See Also:
- ModelImage.notifyImageDisplayListeners()
 
 - 
updateHistoLUTpublic 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 B
- progressFlag- passed to calculateHistogram algorithm. If false progress bar is not displayed
 
 - 
updateLUTPositionStringpublic void updateLUTPositionString(java.lang.String str) Deprecated.Placeholder.- Specified by:
- updateLUTPositionStringin interface- HistoLUTParent
- Parameters:
- str- string
 
 - 
updateThresholdFieldspublic void updateThresholdFields(float lower, float upper)Deprecated.Method to update the threshold text fields when the lower or upper threshold changes.- Specified by:
- updateThresholdFieldsin interface- HistoLUTParent
- Parameters:
- lower- the lower threshold value
- upper- the upper threshold value
 
 - 
buildPanelAprivate void buildPanelA(ModelImage image, ModelLUT LUT, boolean entireFlag) Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image A.- Parameters:
- image- Model of image
- LUT- Model of LUT
- entireFlag- Flag indicating if histogram should be made of entire image.
 
 - 
buildPanelBprivate void buildPanelB(ModelImage image, ModelLUT LUT, boolean entireFlag) Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image B.- Parameters:
- image- Model of image
- LUT- Model of LUT
- entireFlag- Flag indicating if histogram should be made of entire image.
 
 - 
calcHistogramprivate void calcHistogram(int imageAorB, boolean entireFlag, boolean progressFlag)Deprecated.Calculates histogram for the image(s).- Parameters:
- imageAorB- flag to indicate if histogram is to be calculated for imageA or imageB.
- entireFlag- if true calculate histogram for the entire image. if false uses areas defined by VOI regions.
- progressFlag- passed to calculateHistogram algorithm. If false progress bar is not displayed
 
 - 
calcThresholdprivate void calcThreshold() Deprecated.Calculates the thresholded image based on the parameters of the threshold transfer function. Image A is thresholded if the selected panel is for imageA and likewise for image B.
 - 
calculateThresholdprivate void calculateThreshold() Deprecated.Calculates the volume (for 3D images) or area (for 2D images) of the image between the two values from the upper and lower bounds text areas.
 - 
calculateThresholdprivate void calculateThreshold(float lower, float upper)Deprecated.Calculates the volume or area of the image between the two values from the upper and lower bounds (inclusive).- Parameters:
- lower- Lower bound of the threshold (inclusive).
- upper- Upper bound of the threshold (inclusive).
 
 - 
calculateThresholdAreaprivate void calculateThresholdArea(float lower, float upper)Deprecated.Calculates the area of the image between the two values from the upper and lower bounds (inclusive).- Parameters:
- lower- Lower bound of the threshold (inclusive).
- upper- Upper bound of the threshold (inclusive).
 
 - 
calculateThresholdVolumeprivate void calculateThresholdVolume(float lower, float upper)Deprecated.Calculates the volume of the image between the two values from the upper and lower bounds (inclusive).- Parameters:
- lower- Lower bound of the threshold (inclusive).
- upper- Upper bound of the threshold (inclusive).
 
 - 
isLUT1Basedprivate boolean isLUT1Based(ModelLUT LUT) Deprecated.end HistoLUTParent.- Parameters:
- LUT- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
 
 - 
openLUTFilepublic static final java.io.BufferedReader openLUTFile(java.lang.String lutName) throws java.io.IOExceptionDeprecated.Opens and returns a buffered reader for a given custom LUT name.- Parameters:
- lutName- The name of the LUT file (without the extension).
- Returns:
- A LUT file buffered reader.
- Throws:
- java.io.IOException
- See Also:
- ModelLUT
 
 
- 
 
-