Package gov.nih.mipav.view.dialogs
Class JDialogStandardDeviationThreshold
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- java.awt.Window
- 
- java.awt.Dialog
- 
- javax.swing.JDialog
- 
- gov.nih.mipav.view.dialogs.JDialogBase
- 
- gov.nih.mipav.view.dialogs.JDialogScriptableBase
- 
- gov.nih.mipav.view.dialogs.JDialogStandardDeviationThreshold
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- AlgorithmInterface,- ScriptableActionInterface,- DialogDefaultsInterface,- java.awt.event.ActionListener,- java.awt.event.FocusListener,- java.awt.event.ItemListener,- java.awt.event.WindowListener,- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.io.Serializable,- java.util.EventListener,- javax.accessibility.Accessible,- javax.swing.RootPaneContainer,- javax.swing.WindowConstants
 
 public class JDialogStandardDeviationThreshold extends JDialogScriptableBase implements AlgorithmInterface The Standard Deviation Threshold works by first having an active VOI in which the standard deviation and other statistics are calculated. The dialog allows the user to enter the number of standard deviations and the values outside the range for the thersholding process. The theresholding can be done on the whole image or alternatively, on other VOIS that are not active that might be on the image. The destination can either be a new image or paint in existing image except if the src image is a color image.- Author:
- pandyan
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class gov.nih.mipav.view.dialogs.JDialogBaseJDialogBase.CancelAction, JDialogBase.HelpAction, JDialogBase.OKAction
 - 
Nested classes/interfaces inherited from class javax.swing.JDialogjavax.swing.JDialog.AccessibleJDialog
 - 
Nested classes/interfaces inherited from class java.awt.Dialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
 - 
Nested classes/interfaces inherited from class java.awt.Windowjava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private AlgorithmStandardDeviationThresholdalghandle to algorithmprivate AlgorithmVOIPropsalgoVOIhandle to algorithmprivate floatavgIntensityaverage intensities in VOIprivate floatavgIntensityBaverage intensities in VOIprivate floatavgIntensityGaverage intensities in VOIprivate floatavgIntensityRaverage intensities in VOIprivate javax.swing.JPaneldestinationPanelpanelsprivate javax.swing.ButtonGroupdestinationRadioGroupradio groupsprivate intgroupNumnumber for id of VOIprivate booleaninverseThresholdboolean for inverse thresholdprivate javax.swing.JCheckBoxinverseThresholdCheckBoxcheckbox for inverse thresholdprivate booleanisColorImageboolean for color imageprivate javax.swing.JPanelmainPanelpanelsprivate floatmaxIntensitymax intensities calculatd using std devprivate floatmaxIntensityBmax intensities calculatd using std devprivate floatmaxIntensityGmax intensities calculatd using std devprivate floatmaxIntensityRmax intensities calculatd using std devprivate floatminIntensitymin intensities calculatd using std devprivate floatminIntensityBmin intensities calculatd using std devprivate floatminIntensityGmin intensities calculatd using std devprivate floatminIntensityRmin intensities calculatd using std devprivate booleannewImageDestinationflags for destination and thresholdprivate javax.swing.JRadioButtonnewImageRadioradio buttonsprivate intnumPixelsprivate floatnumStdDevnumber of standard deviations used in thresholdingprivate floatnumStdDevBnumber of standard deviations used in thresholdingprivate floatnumStdDevGnumber of standard deviations used in thresholdingprivate floatnumStdDevRnumber of standard deviations used in thresholdingprivate doubleoutMaximage type maxprivate doubleoutMinimage type minprivate javax.swing.JRadioButtonpaintRadioradio buttonsprivate ModelImageresultImagesrc image, result imageprivate booleanscriptFailboolean telling if script failedprivate javax.swing.JCheckBoxsetMaxThresholdCheckBoxcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMaxThresholdCheckBoxBcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMaxThresholdCheckBoxGcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMaxThresholdCheckBoxRcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMinThresholdCheckBoxcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMinThresholdCheckBoxBcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMinThresholdCheckBoxGcheckbox for inverse thresholdprivate javax.swing.JCheckBoxsetMinThresholdCheckBoxRcheckbox for inverse thresholdprivate ModelImagesrcImagesrc image, result imageprivate VOIsrcVOIsrc VOI used for thresholding ME!private floatstdDevstandard deviations in VOIprivate floatstdDevBstandard deviations in VOIprivate floatstdDevGstandard deviations in VOIprivate floatstdDevRstandard deviations in VOIprivate javax.swing.JTextFieldstdDevTextFieldtext fieldsprivate javax.swing.JTextFieldstdDevTextFieldBtext fieldsprivate javax.swing.JTextFieldstdDevTextFieldGtext fieldsprivate javax.swing.JTextFieldstdDevTextFieldRtext fields(package private) doublesumPixelInten(package private) doublesumPixelIntenB(package private) doublesumPixelIntenG(package private) doublesumPixelIntenRprivate javax.swing.JPanelthresholdPanelpanelsprivate javax.swing.JPanelthresholdParametersLeftPanelpanelsprivate javax.swing.JPanelthresholdParametersPanelpanelsprivate javax.swing.JPanelthresholdParametersRightPanelpanelsprivate javax.swing.ButtonGroupthresholdRadioGroupradio groupsprivate ViewUserInterfaceUIhandle to UIprivate floatvaluesOutsideintensity values to be used in thresholdingprivate floatvaluesOutsideBintensity values to be used in thresholdingprivate floatvaluesOutsideGintensity values to be used in thresholdingprivate floatvaluesOutsideRintensity values to be used in thresholdingprivate javax.swing.JTextFieldvaluesOutsideTextFieldtext fieldsprivate javax.swing.JTextFieldvaluesOutsideTextFieldBtext fieldsprivate javax.swing.JTextFieldvaluesOutsideTextFieldGtext fieldsprivate javax.swing.JTextFieldvaluesOutsideTextFieldRtext fieldsprivate javax.swing.JRadioButtonvoiRegionsRadioradio buttonsprivate ViewVOIVectorVOIsvois in imageprivate javax.swing.JPanelvoiStatsLeftPanelpanelsprivate javax.swing.JPanelvoiStatsPanelpanelsprivate javax.swing.JPanelvoiStatsRightPanelpanelsprivate javax.swing.JRadioButtonwholeImageRadioradio buttonsprivate booleanwholeImageThresholdflags for destination and threshold- 
Fields inherited from class gov.nih.mipav.view.dialogs.JDialogScriptableBasedisplayInNewFrame, isComplete, scriptParameters
 - 
Fields inherited from class gov.nih.mipav.view.dialogs.JDialogBaseapplyButton, bar, cancelButton, cancelFlag, closeButton, HELP, helpButton, mainDialogPanel, NEW, OKButton, parentFrame, progressBar, REPLACE, runInSeparateThread, runningScriptFlag, runQuiet, serif12, serif12B, voiManager
 - 
Fields inherited from class javax.swing.JDialogaccessibleContext, rootPane, rootPaneCheckingEnabled
 - 
Fields inherited from class java.awt.ComponentBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description JDialogStandardDeviationThreshold()empty constructorJDialogStandardDeviationThreshold(java.awt.Frame theParentFrame, ModelImage im)constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent event)action performedvoidalgorithmPerformed(AlgorithmBase algorithm)algorithm performedprotected voidcallAlgorithm()call algorithmprivate ViewVOIVectorgetActiveVOIs(ModelImage srcImage)This legacy code returns all active vois for a given source image.private java.lang.StringgetRangeString(int imageType)voidinit()initprotected voidsetGUIFromParams()set gui from paramsprivate voidsetOutMinAndMax(int imageType)sets out min and max...used in scriptingprotected voidstoreParamsFromGUI()store paramsbooleanvalidateParams()validate params- 
Methods inherited from class gov.nih.mipav.view.dialogs.JDialogScriptableBasedoPostAlgorithmActions, getDialogActionString, insertScriptLine, isComplete, scriptRun, setComplete
 - 
Methods inherited from class gov.nih.mipav.view.dialogs.JDialogBasebuildApplyButton, buildButtons, buildCancelButton, buildCancelButton, buildCloseButton, buildHelpButton, buildImageComboBox, buildOKButton, buildOKButton, buildOKCancelButtons, buildTitledBorder, buildTitledBorder, createLabel, createProgressBar, createProgressBar, createTextField, focusGained, focusLost, getDialogName, isCancelled, isQuietRunning, isRunInSeparateThread, isScriptRunning, itemStateChanged, loadDefaults, loadDefaults, makeImageName, makeString, openNewFrame, saveDefaults, saveDefaults, setLeftHandSystem, setQuietRunning, setScriptRunning, setSeparateThread, setVisible, setVisible, setVisibleMenuBar, setVisibleStandard, setVOIManager, setWCSystem, testParameter, testParameterMin, updateFFTFileInfo, updateFileInfo, updateFileInfoOtherModality, updateFileInfoStatic, updateFileInfoStatic, updateFileTypeInfo, updateFileTypeInfo, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 - 
Methods inherited from class javax.swing.JDialogaddImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 - 
Methods inherited from class java.awt.DialogaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
 - 
Methods inherited from class java.awt.WindowaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
 - 
Methods inherited from class java.awt.Containeradd, 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.Componentaction, 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, remove, 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, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
- 
 
- 
- 
- 
Field Detail- 
srcImageprivate ModelImage srcImage src image, result image
 - 
resultImageprivate ModelImage resultImage src image, result image
 - 
VOIsprivate ViewVOIVector VOIs vois in image
 - 
groupNumprivate int groupNum number for id of VOI
 - 
srcVOIprivate VOI srcVOI src VOI used for thresholding ME!
 - 
algoVOIprivate AlgorithmVOIProps algoVOI handle to algorithm
 - 
UIprivate ViewUserInterface UI handle to UI
 - 
mainPanelprivate javax.swing.JPanel mainPanel panels
 - 
voiStatsPanelprivate javax.swing.JPanel voiStatsPanel panels
 - 
voiStatsLeftPanelprivate javax.swing.JPanel voiStatsLeftPanel panels
 - 
voiStatsRightPanelprivate javax.swing.JPanel voiStatsRightPanel panels
 - 
thresholdParametersPanelprivate javax.swing.JPanel thresholdParametersPanel panels
 - 
thresholdParametersLeftPanelprivate javax.swing.JPanel thresholdParametersLeftPanel panels
 - 
thresholdParametersRightPanelprivate javax.swing.JPanel thresholdParametersRightPanel panels
 - 
destinationPanelprivate javax.swing.JPanel destinationPanel panels
 - 
thresholdPanelprivate javax.swing.JPanel thresholdPanel panels
 - 
stdDevTextFieldprivate javax.swing.JTextField stdDevTextField text fields
 - 
stdDevTextFieldRprivate javax.swing.JTextField stdDevTextFieldR text fields
 - 
stdDevTextFieldGprivate javax.swing.JTextField stdDevTextFieldG text fields
 - 
stdDevTextFieldBprivate javax.swing.JTextField stdDevTextFieldB text fields
 - 
valuesOutsideTextFieldprivate javax.swing.JTextField valuesOutsideTextField text fields
 - 
valuesOutsideTextFieldRprivate javax.swing.JTextField valuesOutsideTextFieldR text fields
 - 
valuesOutsideTextFieldGprivate javax.swing.JTextField valuesOutsideTextFieldG text fields
 - 
valuesOutsideTextFieldBprivate javax.swing.JTextField valuesOutsideTextFieldB text fields
 - 
inverseThresholdCheckBoxprivate javax.swing.JCheckBox inverseThresholdCheckBox checkbox for inverse threshold
 - 
setMinThresholdCheckBoxprivate javax.swing.JCheckBox setMinThresholdCheckBox checkbox for inverse threshold
 - 
setMinThresholdCheckBoxRprivate javax.swing.JCheckBox setMinThresholdCheckBoxR checkbox for inverse threshold
 - 
setMinThresholdCheckBoxGprivate javax.swing.JCheckBox setMinThresholdCheckBoxG checkbox for inverse threshold
 - 
setMinThresholdCheckBoxBprivate javax.swing.JCheckBox setMinThresholdCheckBoxB checkbox for inverse threshold
 - 
setMaxThresholdCheckBoxprivate javax.swing.JCheckBox setMaxThresholdCheckBox checkbox for inverse threshold
 - 
setMaxThresholdCheckBoxRprivate javax.swing.JCheckBox setMaxThresholdCheckBoxR checkbox for inverse threshold
 - 
setMaxThresholdCheckBoxGprivate javax.swing.JCheckBox setMaxThresholdCheckBoxG checkbox for inverse threshold
 - 
setMaxThresholdCheckBoxBprivate javax.swing.JCheckBox setMaxThresholdCheckBoxB checkbox for inverse threshold
 - 
maxIntensityprivate float maxIntensity max intensities calculatd using std dev
 - 
maxIntensityRprivate float maxIntensityR max intensities calculatd using std dev
 - 
maxIntensityGprivate float maxIntensityG max intensities calculatd using std dev
 - 
maxIntensityBprivate float maxIntensityB max intensities calculatd using std dev
 - 
minIntensityprivate float minIntensity min intensities calculatd using std dev
 - 
minIntensityRprivate float minIntensityR min intensities calculatd using std dev
 - 
minIntensityGprivate float minIntensityG min intensities calculatd using std dev
 - 
minIntensityBprivate float minIntensityB min intensities calculatd using std dev
 - 
avgIntensityprivate float avgIntensity average intensities in VOI
 - 
avgIntensityRprivate float avgIntensityR average intensities in VOI
 - 
avgIntensityGprivate float avgIntensityG average intensities in VOI
 - 
avgIntensityBprivate float avgIntensityB average intensities in VOI
 - 
stdDevprivate float stdDev standard deviations in VOI
 - 
stdDevRprivate float stdDevR standard deviations in VOI
 - 
stdDevGprivate float stdDevG standard deviations in VOI
 - 
stdDevBprivate float stdDevB standard deviations in VOI
 - 
numStdDevprivate float numStdDev number of standard deviations used in thresholding
 - 
numStdDevRprivate float numStdDevR number of standard deviations used in thresholding
 - 
numStdDevGprivate float numStdDevG number of standard deviations used in thresholding
 - 
numStdDevBprivate float numStdDevB number of standard deviations used in thresholding
 - 
valuesOutsideprivate float valuesOutside intensity values to be used in thresholding
 - 
valuesOutsideRprivate float valuesOutsideR intensity values to be used in thresholding
 - 
valuesOutsideGprivate float valuesOutsideG intensity values to be used in thresholding
 - 
valuesOutsideBprivate float valuesOutsideB intensity values to be used in thresholding
 - 
algprivate AlgorithmStandardDeviationThreshold alg handle to algorithm
 - 
newImageRadioprivate javax.swing.JRadioButton newImageRadio radio buttons
 - 
paintRadioprivate javax.swing.JRadioButton paintRadio radio buttons
 - 
wholeImageRadioprivate javax.swing.JRadioButton wholeImageRadio radio buttons
 - 
voiRegionsRadioprivate javax.swing.JRadioButton voiRegionsRadio radio buttons
 - 
destinationRadioGroupprivate javax.swing.ButtonGroup destinationRadioGroup radio groups
 - 
thresholdRadioGroupprivate javax.swing.ButtonGroup thresholdRadioGroup radio groups
 - 
newImageDestinationprivate boolean newImageDestination flags for destination and threshold
 - 
wholeImageThresholdprivate boolean wholeImageThreshold flags for destination and threshold
 - 
isColorImageprivate boolean isColorImage boolean for color image
 - 
inverseThresholdprivate boolean inverseThreshold boolean for inverse threshold
 - 
outMaxprivate double outMax image type max
 - 
outMinprivate double outMin image type min
 - 
scriptFailprivate boolean scriptFail boolean telling if script failed
 - 
numPixelsprivate int numPixels 
 - 
sumPixelIntendouble sumPixelInten 
 - 
sumPixelIntenRdouble sumPixelIntenR 
 - 
sumPixelIntenGdouble sumPixelIntenG 
 - 
sumPixelIntenBdouble sumPixelIntenB 
 
- 
 - 
Constructor Detail- 
JDialogStandardDeviationThresholdpublic JDialogStandardDeviationThreshold() empty constructor
 - 
JDialogStandardDeviationThresholdpublic JDialogStandardDeviationThreshold(java.awt.Frame theParentFrame, ModelImage im)constructor- Parameters:
- theParentFrame-
- im-
 
 
- 
 - 
Method Detail- 
initpublic void init() init
 - 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent event) action performed- Specified by:
- actionPerformedin interface- java.awt.event.ActionListener
- Overrides:
- actionPerformedin class- JDialogBase
- Parameters:
- event-
 
 - 
validateParamspublic boolean validateParams() validate params
 - 
callAlgorithmprotected void callAlgorithm() call algorithm- Specified by:
- callAlgorithmin class- JDialogScriptableBase
 
 - 
algorithmPerformedpublic void algorithmPerformed(AlgorithmBase algorithm) algorithm performed- Specified by:
- algorithmPerformedin interface- AlgorithmInterface
- Parameters:
- algorithm- the algorithm which has just completed
 
 - 
getRangeStringprivate java.lang.String getRangeString(int imageType) - Parameters:
- imageType-
- Returns:
 
 - 
setOutMinAndMaxprivate void setOutMinAndMax(int imageType) sets out min and max...used in scripting- Parameters:
- imageType-
 
 - 
storeParamsFromGUIprotected void storeParamsFromGUI() throws ParserExceptionstore params- Specified by:
- storeParamsFromGUIin class- JDialogScriptableBase
- Throws:
- ParserException
 
 - 
setGUIFromParamsprotected void setGUIFromParams() set gui from params- Specified by:
- setGUIFromParamsin class- JDialogScriptableBase
 
 - 
getActiveVOIsprivate ViewVOIVector getActiveVOIs(ModelImage srcImage) This legacy code returns all active vois for a given source image. PlugIns should explicitly identify VOIs they would like to process using AlgorithmVOIProps, because the user may have already added other VOIs to srcImage, or VOIs may be created by the algorithm in an unexpected way. This plugin relied onAlgorithmVOIProp's getActiveVOIs() code, so that code has been moved into this plugin. Use of this method is discouraged, as shown by the old documentation for this method: not for use. should be moved to a better location. does NOT clone the VOIs that it find to be active, and inserts into a new ViewVOIVector. if no VOIs are active, the ViewVOIVector returned isnull.- Returns:
- All the active VOIs for a given srcImage.
 
 
- 
 
-