Use the File>New>System Clipboard command to paste from the system clipboard.With ImageJ 1.38a and later, Edit>Paste pastes from the system clipboardif the internal clipboard is empty. If it is not empty, and no images are open, Edit>Paste opens a new image window to display the internal clipboard.Paste Control...After a Paste, use the Paste Control popup menu to control how the image currently being pasted is transferred to the destination image.Except for "Blend" and "Transparent", the Paste Control transfer modes are the same as those listed in the description of Process>Image Calculator. The "Blend" mode is the same the Image Calculator "Average" mode. In "Transparent" mode, white pixels are transparent and all other pixels are copied unchanged. "Transparent" mode only works with 8-bit and RGB images.ClearErases the contents of the selection to the current background color (normally white).The backspace (or delete) key is a handy shortcut for this command.Alt-click in the Image>Colors>Color Picker window to change the background color.With stacks, a dialog is displayed offering the option to clear the selection in all stack images.Clear by pressing the backspace key to avoid this dialog.Clear OutsideErases the area outside the current image selection to the background color. Alt-click in the Image>Colors>Color Picker window to change the background color.FillFills the current selection with the current foreground color. The foreground color is set by using the dropper tool to "pick up" a new color from an image. Alt-click with any other tool, except the magnifying glass, to temporarily switch to the dropper tool. Colors can be "picked up" from the Image>Colors>Color Pickerwindow using any tool. The dropper tool icon in the tool bar is drawn in the foregroundcolor and the frame around it is drawn in the background color.With stacks, a dialog is displayed offering the option to fill the selection in all stack images.Fill the selection by pressing "f" to avoid this dialog.DrawOutlines the current selection using the current foreground color and line width. When the dropper tool is selected, clicking on the image changes the foreground color,while alt-clicking changes the background color.Colors can be "picked up" from the Image>Color>Color Pickerwindow using any tool. The easiest way to open the Color Picker is todouble click on the dropper tool. The dropper tool icon isdrawn in the foreground color and the frame around it is drawn in the background color.The foreground and background colors can also be set using the Edit>Options>Colors command. Use the Edit>Options>Line Width command, or double-click on the line tool, to change the line width. With stacks (v1.42b and later), a dialog is displayed offering the option to draw the selection in all stack images.Draw the selection by pressing "d" to avoid this dialog.Note: If the line width is aneven number, the selection boundary is at the center of the line. If the line width is odd (1, 3, ...),the center of the line drawn is displaced from the selection edge by 1/2 pixel to the bottom right. Thus the line center (the line in case of line width = 1) is inside the selection at the top and left borders, but outside at the bottom and right borders. Rectangular selections (but not polygonal selections or traced selections that happen to be rectangular) are an exception to this rule: For rectangular selections, one-pixel wide outlines are always drawn inside the rectangle. Thicker lines are drawn as for the other selection types.InvertCreates a reversed image, similar to a photographic negative, of the entire image or selection.Selection SubmenuThe commands in this submenu create, delete or modify selections.Select AllCreates a rectangular selection that is the same size as the image.Select NoneDeactivates the selection in the active image.Restore SelectionRestores the previous selection to its original position. A selection is saved when you:
- Delete the selection by clicking outside of it
- Draw a new selection
- De-activate the image containing the selection
- Close the image containing the selection
- Open a new selection using File>New
- Use a command that deletes or modifies the selection
Enable Sub-pixel resolution and line selections created on zoomed images willuse floating-point coordinates, resulting in smoother curves.
The SubPixelSelections scriptdemonstrates how to create other types of sub-pixel resolution selections. It does not require that theSub-pixel resolution option be enabled.Point Tool...Use this dialog to configure thepoint selection tool.You can also display this dialogby double-clicking on the point tool icon.If Mark Width is greater than zero, and Auto-Measure is enabled, a mark of the specified size is drawn when you click with the point tool. If Auto-Measure is not enabled, themark is drawn when you use the Measure command.If Auto-Measure is enabled, ImageJ records the location of point tool mouse clicks.If Auto-Next Slice is checked, ImageJ advances to the next stack slice after each measurement is recorded.Appearance...This dialog contains options that control how images are displayed,an option to display better looking toolbar icons, and an option to set the menu font size.Interpolate Zoomed Images - Use interpolation insteadof pixel replication when displaying zoomed images.Open Images at 100% - Newly open images are displayed using 100% magnification(1 image pixel = 1 screen pixel).Black Canvas - Causes the image canvas (white by default) to be rendered in black.This is useful when looking at X-ray images in order to avoid high contrastingintensities at the image edges. No Image Border - Display images without the default one pixel wide black border. Use Inverting Lookup Table - Causes newly opened 8-bit images to have inverted pixel values, where white=0 and black=255.This is done by both inverting the pixel values and inverting the LUT.Use the Image>Lookup Tables>Invert LUT command to invert an image without changing the pixel values.Double Buffer Selections - This option reduces flicker when working with complex selections but it also increases memory usage and slows screen updates.It is not needed on Mac OS X, which has built in double buffering.Check Antialiased tool icons to smooth and darken the tool icons in the ImageJ window. This option is always enabled on Mac OS X and Windows Vista. On Windows XP,enable Clear Type sub-pixel antialiasingto improve the qualityof text in menus, as shown in the illustration.
Auto contrast stacks - Newly displayed stack slices are contrast enhanced when this optionis enabled, or if the shift key is down.Menu Font Size - Specifies the size of the ImageJ window menu font. Use a size of "0" (zero) to useJava's default menu font size. The option is ignored on Mac OS X. Changing the font size requires a restarting ImageJ.Conversions...Use this dialog to set options that control how images are converted from one type to anotheror to have the Edit>Invert command do full range (0-65535) 16-bit inversions.Check Scale When Converting to have ImageJ scale from min-max to 0-255 when converting from 16-bits or 32-bits to 8-bits or to scale from min-max to 0-65535 whenconverting from 32-bits to 16-bits. Note that Scale When Converting is always checked afterImageJ is restarted.If Weighted RGB to Grayscale Conversion is checked, the formulagray=0.299*red+0.587*green+0.114*blueis used to convert RGB images to grayscale. If it is not checked, the formulagray=(red+green+blue)/3is used. The default weighting factors (0.299,0.587,0.114),which are based on human perception, are the ones used to convert from RGB to YUV, the color encoding system used for analog television.The weighting factors can be modified usingthe setRGBWeightsmacro function.Enable the Full range 16-bit inversions option to have 16-bitimages or selections inverted using the full pixelvalue range (0-65535) or, if set, using the Unsigned 16-bit rangein the Set option of the Image>Adjust>Brightness/Contrastdialog. When this option is not enabled, each pixel in theimage or selection is inverted using v2=max-(v1-min),where 'min' and 'max' are the image's minimumand maximum pixel values.Compiler...Displays a dialog box with options for the Plugins>Compile and Run command.Target specifies the Java version of the class files created by PluginsPlugins>Compile and Run.Plugins compiled with a Target of 1.6 will not run on earlier version Java. A Target of 1.4 should be usedto create plugins capable of running on all versions ImageJ.Target cannot be set higher than the version of Java ImageJ is currently running on.Enable Generate Debugging Info (javac -g) to include information needed byJava debuggers in the class files. Memory & Threads...Use this dialog to specify the maximum amount of memory available to ImageJ and to specifythe number of threads used by filters when processing stacks.Java applications such as ImageJ will only use the memory allocated to them butthis dialog allows the user to allocate more than the default, typically 640MB. Note that specifying more than 75% of real RAM could result in virtual RAM being used, which may cause ImageJ to become slow and unstable. Also note that this dialog cannot beused to set the memory allocation if ImageJ is run from the command lineor by double-clicking on ij.jar.A 64-bit OS and a 64-bit version of Java are required to use more than ~1700MB of memory.Windows users must be running a 64-bit version of Windows and mustinstall a 64-bit version of Java.Mac users must be running OS X 10.5 or later and may need to use the Java Preferences utility(in /Applications/Utilities/Java) to select a 64-bit version of Java.They may also need to switch to theImageJ64 application.Linux users need to be running 64-bit versions of Linux and Java. The title of the Memory & Threads dialogbox changes to "Memory (64-bit)" when ImageJ is running on a properly configured 64-bit system.There is more information on theImageJ Documentation Wiki.The Parallel Threads for Stacks field, which defaults to the number of available processors, was added in v1.38u. This value determines the number of parallel threads used by commands in the Process>Filters menu when processing stacks. Click on the status bar and ImageJ will display the amount of memory currently in use and the maximumamount available. In the illustration, 129MB out of the available 1000MB, or 12%, is in use.Clicking on the status bar also runs the Java garbage collector,which will attempt to reclaim unused memory.Proxy Settings...Use this dialog to modify the proxy settings of the Java Virtual Machine.This may be required for ImageJ to connect to the Internet on machinesrunning behind HTTP proxies. For example, proxy settings may be requiredto update ImageJ using theHelp>Update Image command orto open the images in the FIle>Open Samples submenu.Proxy server is the address of the HTTP proxy.Port is the port the proxy listens on, normally 8080.Or check Use system proxy settings to use the system proxy settings.Enabling this option causes the "java.net.useSystemProxies" property to be set "true".Misc...Displays a dialog box containing miscellaneous options.The Divide by zero value specifies the value used when Process>Image Calculator detects a divide by zero while dividing one 32-bit real image by another. The default is infinity. In addition to numeric values, "infinity" (positive or negative infinity), "max" (largest positive value) and "NaN" (Not-a-Number) can be entered as the Divide by Zero Value value.Check Use pointer cursor and ImageJ will use an arrow cursor instead of the default crosshair that is sometimes difficult to see on grayscale images in areas of medium brightness. This option can also be used to work around a bug onWindows where the text cursor is sometimes used in place of the crosshair.Check Hide "Process Stack?" dialog to suppress the dialog that asks "Process all xx slices?"(only the current slice will be processed).Check Require control key for shortcuts to require that the control key (command key on Macs) be pressed when usingkeyboard shortcuts for menu command.Enabling the Move isolated plugins to Misc. menu option can reduce the sizeof the Plugins menu, preventing it from running off the bottom of the screen. When this option is enabled, plugins that attempt install themselves in a submenu with onlyone command are instead installed in the Plugins>Miscellaneous submenu.An example of such a plugin is TurboReg, which normally creates a Plugins>TurboReg submenuthat contains only one command.Enable Run single instance listener and ImageJ will prevent multiple instances from being launched.On Windows, this avoids the problem where another copy of ImageJ starts each time an imageis dragged and dropped on the ImageJ icon. It also prevents multiple instances whenrunning ImageJ from the command line.Enable Enhanced line tool and you will be able to create a straight line selection byclicking at the starting point and again at the ending point.Enabling Debug mode causes ImageJ to display debugging messages in the "Log" window.Close the "Log" window to disable display of debugging messages. top | home | contents | previous | next