gui:edit:selection
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | gui:edit:selection [2019/04/12 13:13] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Selection ====== | ||
+ | |||
+ | **The commands in this submenu create, delete or modify selections.** | ||
+ | |||
+ | ==== Select All ==== | ||
+ | |||
+ | Creates a rectangular selection that is the same size as the image. | ||
+ | |||
+ | ==== Select None ==== | ||
+ | |||
+ | Deactivates the selection in the active image. | ||
+ | |||
+ | ==== Restore Selection ==== | ||
+ | |||
+ | Restores 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 | ||
+ | |||
+ | You can transfer a selection from one image to another by activating the image with the selection, activating the destination image, then pressing shift-e (the keyboard shortcut for **Restore Selection**). | ||
+ | |||
+ | Alternatively you can use the **Analyze> | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Fit Spline ==== | ||
+ | |||
+ | Fits a cubic spline curve to a polygon or polyline selection. | ||
+ | |||
+ | ==== Fit Ellipse ==== | ||
+ | |||
+ | Replaces an area selection with the best fit ellipse. The ellipse will have the same area, orientation and centroid as the original selection. The same fitting algorithm is used to measure the major and minor axis lengths and angle when "Fit Ellipse" | ||
+ | |||
+ | ==== Convex Hull ==== | ||
+ | |||
+ | Replaces a polygon of freehand selection with its convex hull, which can be thought of as a rubber band wrapped tightly around the points that define the selection. | ||
+ | |||
+ | ==== Make Inverse ==== | ||
+ | |||
+ | When an area selection is active, this commands creates an inverse selection (what was " | ||
+ | |||
+ | ==== Create Mask ==== | ||
+ | |||
+ | This command creates a new 8-bit image called Mask whose pixels have value [255] inside the selection and [0] outside. By default this image has an inverting LUT (so black is [255] and white is [0]. | ||
+ | |||
+ | If you choose **Process> | ||
+ | |||
+ | ==== Create Selection ==== | ||
+ | |||
+ | Based on the Threshold_To_Selection plugin contributed by Johannes Schindelin. This command creates a composite selection from a thresholded image or a binary mask. | ||
+ | |||
+ | ...//**\\ Issue with ROI closing in versions previous to 1.38b** // | ||
+ | |||
+ | <code java> | ||
+ | run(" | ||
+ | run(" | ||
+ | getSelectionCoordinates(x, | ||
+ | run(" | ||
+ | makeSelection(" | ||
+ | run(" | ||
+ | </ | ||
+ | |||
+ | This problem was solved in 1.38b. ... | ||
+ | |||
+ | ==== Rotate ==== | ||
+ | |||
+ | Rotates the selection by the specified number of degrees (negative number indicate counter clockwise rotation). Does not work with composite selections. | ||
+ | |||
+ | ==== Enlarge ==== | ||
+ | |||
+ | Grows the area selection by the specified number of pixels. Enter a negative value to shrink the selection. Enter zero to convert a composite selection into a polygon selection. | ||
+ | |||
+ | ==== Make Band ==== | ||
+ | |||
+ | Takes an area selection and creates a band with a thickness of the specified number of pixels. If you imagine the band as a doughnut shape, then the original selection corresponds to the hole (i.e. the band is made by growing out the original selection). | ||
+ | |||
+ | ==== Specify... ==== | ||
+ | |||
+ | This command opend a dialog that allows to define a rectangular area selection. | ||
+ | |||
+ | **Width** and **Height** are the dimensions of the selection. **X Coordinate** and **Y Coordinate** define the position in the image where the top left corner of the selection will be positioned. | ||
+ | |||
+ | If **Oval** is checked, this converts the selection into an oval/circle with the same height and width dimensions. | ||
+ | |||
+ | If **Centered** is checked, the selection is positioned in a way, so **X Coordinate** and **Y Coordinate** define the center of the selection otherwise it places places it at the upper left corner at the specified coordinates. | ||
+ | |||
+ | ==== Add to Manager ==== | ||
+ | |||
+ | Adds the selection to the ROI Manager (found in **Analyze> | ||
+ | |||
+ | The command can also be executed with the Ctrl+T keyboard shortcut. | ||
gui/edit/selection.txt · Last modified: 2019/04/12 13:13 by 127.0.0.1