Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
You can save the contents of the Display Window to a picture file. TkMedit uses the RGB format, a simple format readable by most image programs. To save a single picture, choose Tools->Save RGB.... You may want to turn off the cursor or other view items in the View menu before saving your picture. You can save the contents of the Display Window to a picture file. TkMedit uses the RGB format, a simple format readable by most image programs. To save a single picture, choose '''Tools->Save RGB...'''. You may want to turn off the cursor or other view items in the '''View''' menu before saving your picture.
Line 4: Line 4:
You can also save a series of images with the Tools->Save RGB Series... command. This command steps through slices in the current orientation and saves an image of each. You choose a directory and prefix for the file names as well as the range of slices to step through. For example, if you choose /tmp for the directory, "image" for the prefix, and 5 and 8 for the start and end, it will create /tmp/image005.rgb, /tmp/image006.rgb, /tmp/image007.rgb, and /tmp/image008.rgb. You can also save a series of images with the '''Tools->Save RGB Series...''' command. This command steps through slices in the current orientation and saves an image of each. You choose a directory and prefix for the file names as well as the range of slices to step through. For example, if you choose /tmp for the directory, "image" for the prefix, and 5 and 8 for the start and end, it will create /tmp/image005.rgb, /tmp/image006.rgb, /tmp/image007.rgb, and /tmp/image008.rgb.
Line 6: Line 6:
Tips == Tips ==
Line 8: Line 8:
Most volume input operations can take many different kinds of volumes. If the volume is a bfloat or bshort volume, select one of the .bfloat or .bshort files. If the volume is a COR volume, select the COR-.info file or just enter the directory without any file names.  * Most volume input operations can take many different kinds of volumes. If the volume is a bfloat or bshort volume, select one of the .bfloat or .bshort files. If the volume is a COR volume, select the COR-.info file or just enter the directory without any file names.
Line 10: Line 10:
TkMedit uses the Tk toolkit for its interface (the 'Tk' in 'TkMedit'). A nice feature of this toolkit is that all the menus are detachable and can become a separate window that stays up all the time. This is particularly useful when using the View menu. Just click on the top line of the menu when it comes down from the menu bar, and a window will take its place.  * TkMedit uses the Tk toolkit for its interface (the 'Tk' in 'TkMedit'). A nice feature of this toolkit is that all the menus are detachable and can become a separate window that stays up all the time. This is particularly useful when using the View menu. Just click on the top line of the menu when it comes down from the menu bar, and a window will take its place.
Line 12: Line 12:
Learn the keyboard shortcuts for volume navigation. The 'x', 'y', and 'z' keys will change orientations and the arrow keys will change slices. You can zoom in with Ctrl + (Ctrl-Shift =) and out with Ctrl -.You can also jump to the Navigation Tool by hitting the 'n' key and click around the volume, then return to the tool you were using previously.  * Learn the keyboard shortcuts for volume navigation. The 'x', 'y', and 'z' keys will change orientations and the arrow keys will change slices. You can zoom in with Ctrl + (Ctrl-Shift =) and out with Ctrl -.You can also jump to the Navigation Tool by hitting the 'n' key and click around the volume, then return to the tool you were using previously.
Line 14: Line 14:
If you are using TkMedit with the expected directory structure at the NMR-MGH center, TkMedit will automatically look in certain places for files. See the File Name Substitution section.  * If you are using TkMedit with the expected directory structure at the NMR-MGH center, TkMedit will automatically look in certain places for files. See the File Name Substitution section.
Line 16: Line 16:
Find yourself using certain toolbars? You can set environment variables to automatically hide or show without using the View menu. Set TKMEDIT_TOOLBAR_MAIN, TKMEDIT_TOOLBAR_NAV, or TKMEDIT_TOOLBAR_RECON to 0 or 1 to hide or show the main, navigation, or reconstruction toolbars, respectively.  * Find yourself using certain toolbars? You can set environment variables to automatically hide or show without using the View menu. Set TKMEDIT_TOOLBAR_MAIN, TKMEDIT_TOOLBAR_NAV, or TKMEDIT_TOOLBAR_RECON to 0 or 1 to hide or show the main, navigation, or reconstruction toolbars, respectively.
Line 18: Line 18:
All file dialog boxes have a menu at the top which you can use to jump to specific directories to find data quickly. Additionally, you can specify your own shortcut directory by setting the environment variable FREESURFER_DATA.  * All file dialog boxes have a menu at the top which you can use to jump to specific directories to find data quickly. Additionally, you can specify your own shortcut directory by setting the environment variable FREESURFER_DATA.

You can save the contents of the Display Window to a picture file. TkMedit uses the RGB format, a simple format readable by most image programs. To save a single picture, choose Tools->Save RGB.... You may want to turn off the cursor or other view items in the View menu before saving your picture.

You can also save a series of images with the Tools->Save RGB Series... command. This command steps through slices in the current orientation and saves an image of each. You choose a directory and prefix for the file names as well as the range of slices to step through. For example, if you choose /tmp for the directory, "image" for the prefix, and 5 and 8 for the start and end, it will create /tmp/image005.rgb, /tmp/image006.rgb, /tmp/image007.rgb, and /tmp/image008.rgb.

Tips

  • Most volume input operations can take many different kinds of volumes. If the volume is a bfloat or bshort volume, select one of the .bfloat or .bshort files. If the volume is a COR volume, select the COR-.info file or just enter the directory without any file names.
  • TkMedit uses the Tk toolkit for its interface (the 'Tk' in 'TkMedit'). A nice feature of this toolkit is that all the menus are detachable and can become a separate window that stays up all the time. This is particularly useful when using the View menu. Just click on the top line of the menu when it comes down from the menu bar, and a window will take its place.

  • Learn the keyboard shortcuts for volume navigation. The 'x', 'y', and 'z' keys will change orientations and the arrow keys will change slices. You can zoom in with Ctrl + (Ctrl-Shift =) and out with Ctrl -.You can also jump to the Navigation Tool by hitting the 'n' key and click around the volume, then return to the tool you were using previously.
  • If you are using TkMedit with the expected directory structure at the NMR-MGH center, TkMedit will automatically look in certain places for files. See the File Name Substitution section.

  • Find yourself using certain toolbars? You can set environment variables to automatically hide or show without using the View menu. Set TKMEDIT_TOOLBAR_MAIN, TKMEDIT_TOOLBAR_NAV, or TKMEDIT_TOOLBAR_RECON to 0 or 1 to hide or show the main, navigation, or reconstruction toolbars, respectively.
  • All file dialog boxes have a menu at the top which you can use to jump to specific directories to find data quickly. Additionally, you can specify your own shortcut directory by setting the environment variable FREESURFER_DATA.

TkMeditGuide/TkMeditGeneralUsage/TkMeditSavingImages (last edited 2008-04-29 11:46:24 by localhost)