Package gov.nih.mipav.view.dialogs
Class JDialogImageInfo
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.JDialogImageInfo
- All Implemented Interfaces:
AlgorithmInterface,DialogDefaultsInterface,ActionListener,FocusListener,ItemListener,WindowListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible,RootPaneContainer,WindowConstants
The image attribute input dialog, which consists of six tabbled panes allowing the user to edit image name,
resolutions, orientations, dataset origin, history, and transformation matrix.
- Version:
- 0.1 Nov 23, 1999
- Author:
- Matthew J. McAuliffe, Ph.D.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class gov.nih.mipav.view.dialogs.JDialogBase
JDialogBase.CancelAction, JDialogBase.HelpAction, JDialogBase.OKActionNested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialogNested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeNested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.TypeNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]TLRC Specific info.private JTextField[]DOCUMENT ME!private JTextFieldDOCUMENT ME!private JButtonAdd as New/Replace button (depending on selected matrix type).private JButtonDOCUMENT ME!private JRadioButtonRadio button to denote image is big endian.private JPanelDOCUMENT ME!private AlgorithmChangeTypeDOCUMENT ME!!private JComboBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private intDOCUMENT ME!private booleanIndicates the endianess of the image.private TransMatrixDOCUMENT ME!private final FontDOCUMENT ME!private final ModelImageDOCUMENT ME!private JCheckBoxDOCUMENT ME!private booleanIf true change matrix to the left-hand coordinate system.private JButtonDOCUMENT ME!private JTextFieldDOCUMENT ME!private JRadioButtonRadio button to denote image is little endian.private JButtonDOCUMENT ME!private double[][]DOCUMENT ME!private JComboBoxBox to hold the matrices parsed from the MatrixHolder.private StringDOCUMENT ME!private intDOCUMENT ME!private intDOCUMENT ME!private intDOCUMENT ME!private intDOCUMENT ME!private intDOCUMENT ME!private JComboBoxDOCUMENT ME!private String[]DOCUMENT ME!private JTextFieldDOCUMENT ME!private StringDOCUMENT ME!private intDOCUMENT ME!private JComboBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private final int[]DOCUMENT ME!private JComboBoxDOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]ACPC Specific info.private JTextField[]DOCUMENT ME!private float[]DOCUMENT ME!private JTextField[]private JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private final ModelImageDOCUMENT ME!private intDOCUMENT ME!private booleanprivate JCheckBoxDOCUMENT ME!private float[]DOCUMENT ME!private JButtonDOCUMENT ME!private static final longUse serialVersionUID for interoperability.private floatDOCUMENT ME!private JTabbedPaneDOCUMENT ME!private JTextField[][]DOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private String[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JTextField[]DOCUMENT ME!private JComboBoxDOCUMENT ME!private final ViewUserInterfaceDOCUMENT ME!private booleanIf true change matrix to the world coordinate system.Fields inherited from class gov.nih.mipav.view.dialogs.JDialogBase
bar, cancelButton, cancelFlag, closeButton, HELP, helpButton, mainDialogPanel, NEW, OKButton, parentFrame, progressBar, REPLACE, runInSeparateThread, runningScriptFlag, runQuiet, serif12, serif12B, voiManagerFields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabledFields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPEFields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Constructor Summary
ConstructorsConstructorDescriptionJDialogImageInfo(Frame theParentFrame, ModelImage im, int zSlice, int tSlice) Builds the image attribute input dialog, with three tabbled panes allowing the user to edit image name, orientation, resolutions, and transformation matrix. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) When Apply button is pressed, applies changes to all three areas: image name, resolutions, and transformation matrix.voidalgorithmPerformed(AlgorithmBase algorithm) DOCUMENT ME!private JPanelBuilds the ComboBox panel editing units of measure.private JPanelBuilds the "edit image name" panel.private JPanelBuilds the panel usd in the tabbed pane "transform" as appropriate for the number of dimensions of the image.private JPanelBuilds the "orientation edit" panel.private JPanelBuilds the panels which is edited in the tabbed pane "resolutions".private JPanelBuilds the panels which is edited in the tabbed pane "Dataset Origin".private JScrollPaneBuilds the Talairach Transform scrollpane with all talairach related data.private voidInitializes the dialog box and adds the components.protected static float[]initResFactor(float[] imgResols, int[] imgUnits) Get the resolution correction needed for non-isotropic images.voidDOCUMENT ME!Allows the user to select matrix file.voidLooks at TalairachTransformInfo saved in ModelImage and populates the talairach scrollpane with the appropriate data.voidreadTransformMatrixFile(String fileName) Reads a matrix from a file.private TransMatrixreorientCoordSystem(TransMatrix rkMatrix) Re-orient the matrix to world and left-hand coordinate systems if required.private voidsetComboBox(JComboBox cBox) Sets combo box choices that match resolution units listed in FileInfoBase and in the same order.voidsetLeftHandSystem(boolean leftHandSys) Sets the left-hand coordinate flag.voidsetMatrix(TransMatrix newMatrix) update matrix and text matrixvoidSet the resolution tag in front view.voidsetSlice(int z, int t) Update the title bar and resolution information.private booleanSets the variables appropriately from the GUI.voidsetWCSystem(boolean wcSys) Sets the world coordinate flag.private voidUpdates the image endianess.private voidUpdates the image modality.private voidUpdates the image orientation.private voidupdateMatrixBox(boolean refreshFields) Refreshes the matrix combo box with the list of available matrices within the image.private voidupdateMatrixFields(TransMatrix newMatrix) Updates the matrix fields (transform ID, jtextfields).private voidUpdates the image with the new Matrix information (for matrix replacement).private voidUpdates the origin.private voidGives the image new resolutions.private voidupdates the talairach transform info.private voidApplies the values in the JTabbedPane "Transform" to the transform matrix in the image.private voidmethod to update the xml file infos with a new linked image path.Methods inherited from class gov.nih.mipav.view.dialogs.JDialogBase
buildApplyButton, buildButtons, buildCancelButton, buildCancelButton, buildCloseButton, buildHelpButton, buildImageComboBox, buildOKButton, buildOKButton, buildOKCancelButtons, buildTitledBorder, buildTitledBorder, createLabel, createProgressBar, createProgressBar, createTextField, focusGained, focusLost, getDialogName, isCancelled, isQuietRunning, isRunInSeparateThread, isScriptRunning, loadDefaults, loadDefaults, makeImageName, makeString, openNewFrame, saveDefaults, saveDefaults, setQuietRunning, setScriptRunning, setSeparateThread, setVisible, setVisible, setVisibleMenuBar, setVisibleStandard, setVOIManager, testParameter, testParameterMin, updateFFTFileInfo, updateFileInfo, updateFileInfoOtherModality, updateFileInfoStatic, updateFileInfoStatic, updateFileTypeInfo, updateFileTypeInfo, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedMethods inherited from class javax.swing.JDialog
addImpl, 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, updateMethods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBackMethods inherited from class java.awt.Window
addPropertyChangeListener, 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, toFrontMethods 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, validateTreeMethods 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, 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 Details
-
serialVersionUID
private static final long serialVersionUIDUse serialVersionUID for interoperability.- See Also:
-
acpcACFields
DOCUMENT ME! -
acpcDimFields
DOCUMENT ME! -
acpcMaxFields
DOCUMENT ME! -
acpcMinFields
TLRC Specific info. -
acpcPCFields
DOCUMENT ME! -
acpcResField
DOCUMENT ME! -
addReplaceMatrix
Add as New/Replace button (depending on selected matrix type). -
applyButton
DOCUMENT ME! -
bigEnd
Radio button to denote image is big endian. -
buttonPanel
DOCUMENT ME! -
changeTypeAlgo
DOCUMENT ME!! -
comboBoxUnitOfMeasure1
DOCUMENT ME! -
comboBoxUnitOfMeasure3
DOCUMENT ME! -
comboBoxUnitOfMeasure4
DOCUMENT ME! -
comboBoxUnitOfMeasure5
DOCUMENT ME! -
DIM
private int DIMDOCUMENT ME! -
endianess
private boolean endianessIndicates the endianess of the image. -
fileTransMatrix
DOCUMENT ME! -
font12B
DOCUMENT ME! -
image
DOCUMENT ME! -
isTLRCBox
DOCUMENT ME! -
leftHandSystem
private boolean leftHandSystemIf true change matrix to the left-hand coordinate system. -
linkedImageButton
DOCUMENT ME! -
linkedImageField
DOCUMENT ME! -
littleEnd
Radio button to denote image is little endian. -
loadButton
DOCUMENT ME! -
matrix
private double[][] matrixDOCUMENT ME! -
matrixBox
Box to hold the matrices parsed from the MatrixHolder. -
matrixFile
DOCUMENT ME! -
measure1
private int measure1DOCUMENT ME! -
measure3
private int measure3DOCUMENT ME! -
measure4
private int measure4DOCUMENT ME! -
measure5
private int measure5DOCUMENT ME! -
modality
private int modalityDOCUMENT ME! -
modalityBox
DOCUMENT ME! -
modalityStr
DOCUMENT ME! -
nameText
DOCUMENT ME! -
newImageName
DOCUMENT ME! -
orient
private int orientDOCUMENT ME! -
orientationBox1
DOCUMENT ME! -
orientationBox2
DOCUMENT ME! -
orientationBox3
DOCUMENT ME! -
orientAxis
private final int[] orientAxisDOCUMENT ME! -
orientBox
DOCUMENT ME! -
orientFields
DOCUMENT ME! -
origACFields
ACPC Specific info. -
origDimFields
DOCUMENT ME! -
origOriginFields
-
origin
private float[] originDOCUMENT ME! -
origPCFields
DOCUMENT ME! -
origResFields
DOCUMENT ME! -
resampleImage
DOCUMENT ME! -
resIndex
private int resIndexDOCUMENT ME! -
resolutionBox
DOCUMENT ME! -
resolutions
private float[] resolutionsDOCUMENT ME! -
saveButton
DOCUMENT ME! -
sliceThickness
private float sliceThicknessDOCUMENT ME! -
tabbedPane
DOCUMENT ME! -
textMatrix
DOCUMENT ME! -
textRes1
DOCUMENT ME! -
textRes2
DOCUMENT ME! -
textRes3
DOCUMENT ME! -
textRes4
DOCUMENT ME! -
textRes5
DOCUMENT ME! -
textSt1
DOCUMENT ME! -
textSt2
DOCUMENT ME! -
textSt3
DOCUMENT ME! -
textSt4
DOCUMENT ME! -
textSliceThickness
DOCUMENT ME! -
titles
DOCUMENT ME! -
tlrcACFields
DOCUMENT ME! -
tlrcDimFields
DOCUMENT ME! -
tlrcPCFields
DOCUMENT ME! -
tlrcResFields
DOCUMENT ME! -
transformIDBox
DOCUMENT ME! -
userInterface
DOCUMENT ME! -
wcSystem
private boolean wcSystemIf true change matrix to the world coordinate system. -
resizeOnClose
private boolean resizeOnClose
-
-
Constructor Details
-
JDialogImageInfo
Builds the image attribute input dialog, with three tabbled panes allowing the user to edit image name, orientation, resolutions, and transformation matrix.- Parameters:
theParentFrame- Parent frame of dialog.im- Image whose attributes the user is editing.zSlice- DOCUMENT ME!tSlice- DOCUMENT ME!
-
-
Method Details
-
actionPerformed
When Apply button is pressed, applies changes to all three areas: image name, resolutions, and transformation matrix. When OK button is pressed, applies changes and closes dialog box. When Cancel button is pressed, closes dialog without making any additional changes.- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJDialogBase- Parameters:
event- Event that triggers this function.
-
algorithmPerformed
DOCUMENT ME!- Specified by:
algorithmPerformedin interfaceAlgorithmInterface- Parameters:
algorithm- DOCUMENT ME!
-
itemStateChanged
DOCUMENT ME!- Specified by:
itemStateChangedin interfaceItemListener- Overrides:
itemStateChangedin classJDialogBase- Parameters:
e- DOCUMENT ME!
-
matrixFileMenu
Allows the user to select matrix file.- Returns:
- fileName
-
populateTalairachTab
public void populateTalairachTab()Looks at TalairachTransformInfo saved in ModelImage and populates the talairach scrollpane with the appropriate data. -
readTransformMatrixFile
Reads a matrix from a file.- Parameters:
fileName- name of the matrix file.
-
setLeftHandSystem
public void setLeftHandSystem(boolean leftHandSys) Sets the left-hand coordinate flag. If true, change matrix to the left-hand coordinate system.- Overrides:
setLeftHandSystemin classJDialogBase- Parameters:
leftHandSys- true for left-handed
-
setMatrix
update matrix and text matrix- Parameters:
newMatrix- matrix to copy
-
setResolutionTag
public void setResolutionTag()Set the resolution tag in front view. -
setSlice
public void setSlice(int z, int t) Update the title bar and resolution information.- Parameters:
z- int z-dimt- int t-dim
-
setWCSystem
public void setWCSystem(boolean wcSys) Sets the world coordinate flag. If true, change matrix to the world coordinate system.- Overrides:
setWCSystemin classJDialogBase- Parameters:
wcSys- DOCUMENT ME!
-
buildComboBox
Builds the ComboBox panel editing units of measure.- Returns:
- The combo box panel.
-
buildGeneralPanel
Builds the "edit image name" panel.- Returns:
- The panel on which the user can edit the name of the image.
-
buildMatrixPanel
Builds the panel usd in the tabbed pane "transform" as appropriate for the number of dimensions of the image.- Returns:
- The newly created matrix panel.
-
buildOrientPanel
Builds the "orientation edit" panel.- Returns:
- The panel on which the user can edit the name of the image.
-
buildResolutionPanel
Builds the panels which is edited in the tabbed pane "resolutions".- Returns:
- The resolutions panel.
-
buildStartLocationsPanel
Builds the panels which is edited in the tabbed pane "Dataset Origin".- Returns:
- The Dataset Origin panel.
-
buildTalairachPanel
Builds the Talairach Transform scrollpane with all talairach related data.- Returns:
- JScrollPane talairach scrollpane
-
init
Initializes the dialog box and adds the components.- Parameters:
addTitle- DOCUMENT ME!
-
reorientCoordSystem
Re-orient the matrix to world and left-hand coordinate systems if required.- Parameters:
rkMatrix- the matrix to be converted- Returns:
- result
- See Also:
-
setComboBox
Sets combo box choices that match resolution units listed in FileInfoBase and in the same order.- Parameters:
cBox- Combo box to setup to display the units.
-
setVariables
private boolean setVariables()Sets the variables appropriately from the GUI.- Returns:
- Flag indicating successful set.
-
updateEndianess
private void updateEndianess()Updates the image endianess. -
updateImageModality
private void updateImageModality()Updates the image modality. -
updateImageOrientation
private void updateImageOrientation()Updates the image orientation. -
updateMatrixBox
private void updateMatrixBox(boolean refreshFields) Refreshes the matrix combo box with the list of available matrices within the image.- Parameters:
refreshFields- whether or not to refresh the matrix fields (not done in init() bc of order of operations)
-
updateMatrixFields
Updates the matrix fields (transform ID, jtextfields).- Parameters:
newMatrix- new matrix to use in the update
-
updateMatrixInfo
private void updateMatrixInfo()Updates the image with the new Matrix information (for matrix replacement). -
updateOriginInfo
private void updateOriginInfo()Updates the origin. Each image has a fileinfo where the origin are stored. Note that the start location for the Z (3rd) dimension change with the change is the slice. The origin is in the upper left corner and we are using the right hand rule. + x -> left to right; + y -> top to bottom and + z -> into screen. -
updateResolInfo
private void updateResolInfo()Gives the image new resolutions. -
initResFactor
protected static float[] initResFactor(float[] imgResols, int[] imgUnits) Get the resolution correction needed for non-isotropic images.- Parameters:
imgResols- the image resolutionimgUnits- the image units of measure- Returns:
- the resolution correction factor in the x (the first element) and y (the second element) dimensions
-
updateTalairachInfo
private void updateTalairachInfo()updates the talairach transform info. -
updateTransformInfo
Applies the values in the JTabbedPane "Transform" to the transform matrix in the image. Note that there are no visual changes made to the image itself.- Parameters:
tMat- DOCUMENT ME!
-
updateXMLLinkedFile
private void updateXMLLinkedFile()method to update the xml file infos with a new linked image path.
-