Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The 3D Crop tool lets you add, remove, and adjust cube-shaped region boundaries in an image; these cubes may be used for cropping the image, used as regions of interest (ROIs) when applying or previewing recipes, or zoomed to in the Image Viewer. There are options to lock the positions of designated cubes , and to translate cubes only along specific axial directions, and to synchronize cube positions to the planes shown in 3D Plane View.
Interface
The 3D Crop tool is one of eight tools found in the 3D Tools tab in the (Pre-version 12) Analysis Panel. Go to 3D View or 3D Plane View to show the 3D Tools tab. Click on the 3D Tools tab, and click on the 3D Crop icon to launch the tool. When the 3D Crop tool is first launched in 3D View, the GUI below appears, and a cube named "User Defined 1" is placed in the center of the image. In 3D Plane View, the Sync Planes To Center of Cube button Image Removed and Sync Center of Cube To Plane button Image Removed are enabled, but the 3D Crop GUI is the same as it is in 3D View otherwise.
Image RemovedImage Added |
3D Crop GUI |
Tool
Optionsoptions and
Functionsfunctions
The Tool Options and Functions region of the 3D Crop interface is labeled and outlined in red in the "3D Crop GUI" image.3D Crop options and functions, which are found above and below the Cube Table, are described in the following table:
Name | Icon | Description |
---|---|---|
Add Cube | Adds a new cube to the image | |
Un/Lock Cube Movement | Allows/restricts Restricts changes in the size and position of the selected cube | |
Zoom to Cube | Zooms to the selected cube, centering it in the Image Viewer (in 3D View) or 3D pane (in 3D Plane View) | |
Show Cube Labels | Image Added | Toggles the display of cube names in the Image Viewer |
Allow/Restrict Movement in X | Allows/restricts translation Restricts translation of any cube in the x-direction | |
Allow/Restrict Movement in Y | Allows/restricts translation Restricts translation of any cube in the y-direction | |
Allow/Restrict Movement in Z | Allows/restricts translation Restricts translation of any cube in the z-direction | |
Select Movement Mode | Allows selection of Movement Modes that restrict translation of any cube accordingly
| |
Crop Cube | Crops out the selected cube, generating a new image that is added to the Image Explorer and displayed in the Image Viewer once it has been created | |
Sync Planes To Center of Cube | Image Removed | Displays the XY, YZ, and XZ planes that intersect the center of the selected cube in 3D Plane View |
Sync Center of Cube To Planes | Image Removed | Translates the selected cube so that its center aligns with the Plane Navigation Crosshairs in 3D Plane ViewShow |
Cube
LabelsImage Removed
Cube Table
The Cube Table is labeled and outlined in light blue in the "3D Crop GUI" image. Each cube has its own row in the Cube Table. The name of each cube , its status, and the coordinates of its centroid (in pixels) are displayed. There are also options to revert the position of, remove, allow/restrict changes in size/position to, and hide/show each cube.
Options for individual cubes
Option | Icon | Description |
---|---|---|
Revert Cube | Image RemovedImage Added | Reverts the cube to its initial, automatically - generated size and position |
Remove Cube | Image RemovedImage Added | Removes the cube |
Un/Lock Cube Movement | Image RemovedImage Added | Toggles a restriction on any change in the size or position of the cube |
Un/Hide Cube | Image RemovedImage Added | Toggles on/off the display of the cube in the Image Viewer |
Using 3D Crop
To launch the 3D Crop tool, click on the 3D Tools tab in the Analysis Panel in Aivia, and then select the 3D Crop tool from the 3D Tools toolbar. This will open the 3D Crop interface. When the 3D Crop tool is launched for the first time, an automatically - generated and centrally - located cube named "User Defined 1" is shown.
Add a cube
Click the Add Cube icon in the Tool Options and Functions section to to add a new cube. New cubes are named "Box Region X" by default, where instead of 'X' there is the lowest positive number that yields a non-duplicate cube name.
Add a cube via the Recipe Console
A cube may also be added by going to the Recipe Console tab in the Analysis Panel, clicking the Expand icon next to Input and Output in any recipe, clicking the Expand icon next to Regions of Interest, and then clicking the Add Box ROI icon . Double-click the name of any cube in the Regions of Interest section to enable editing of the cube's name. Any cube/box ROIs shown in the Regions of Interest section will also appear in the Cube Table in the 3D Crop tool interface.
Panel | ||||
---|---|---|---|---|
On this page:
|
Select a cube
Select a cube by clicking on it in the Image Viewer or by clicking on its row in the Cube Table.
Change the size/position of a cube
To change the position of a cube without changing its size, select the cube, and then click and drag the red sphere that is in the center of the cube. Click and drag any of the other red spheres to change the extent of the cube along one direction; dragging any of the non-central red spheres changes the size AND centroid location of the cube. To change the size of a cube in all three dimensions without changing its centroid location, hold control hold Ctrl
and right-click and hold within the cube boundary, pull the mouse toward or away from the center of the cube, and release the mouse button when the cube is the desired size.
Un/Lock cube movement
Un/lock Lock changes in size and position for a cube by either clicking on the Un/Lock Cube Movement icon in its row of the Cube Table or by selecting the cube and clicking the Un/Lock Cube Movement icon in the Tool Options and Functions section. Movement is locked for a cube if the Un/Lock Cube Movement icon in its row of the Cube Table is outlined in blue. None of the red spheres may be clicked and dragged for a locked cube , nor can the size of the cube be changed by control Ctrl
+ right-clicking and dragging.
Section | ||
---|---|---|
|
Change the Movement Mode
There are options to allow translation of cubes only along designated axial directions. Single Axis, Multi Axis, or Longest Axis mode may be selected from the Select Movement Mode drop-down menu next to Movement Mode Image Removed in the Tool Options and Functions section. The directions along which translation is allowed are outlined in blue in the Tool Options and Functions section; for example, indicates that translation in the x- and y-directions is allowed, but translation in the z-direction is locked. Note that Movement Modes only un/lock changes in position and NOT size, so the centroid of a cube may still be moved along a locked direction if the size/extent of the cube along the locked direction is changed.
Single Axis
To enter the Single Axis Movement Mode, select Single Axis from the dropthe Select Movement Mode drop-down menu next to Movement Mode Image Removed in the Tool Options and Functions section. All cubes may only be translated in one axial direction in this mode. Click on the Allow/Restrict Movement icon for the desired axis of translation (, , or ) to set it as the unlocked axis.
Multi Axis
Multi Axis is the default Movement Mode, but it may also be chosen by selecting Multi Axis from the dropthe Select Movement Mode drop-down menu next to Movement Mode Image Removed in the Tool Options and Functions section. Toggle the Allow/Restrict Movement icons (, , or ) to un/lock movement along any combination of axial directions, though movement along at least one direction must be allowed.
Longest Axis
To enter the Longest Axis Movement Mode, select Longest Axis from the dropthe Select Movement Mode drop-down menu next to Movement Mode Image Removed in the Tool Options and Functions section of the 3D Crop interface. Cubes may be translated in any axial direction in Longest Axis mode but only along one axial direction at a time: as the central red sphere of a cube is dragged, the cube is translated in the axial direction closest to the direction that the mouse is dragged.
Revert a cube
Click on the Revert Cube icon Image Removed Image Added in a cube's row in of the Cube Table to return the cube to its initial, automatically - generated size and position.
Revert a cube via the Recipe Console
The Revert Cube option is also available in the Regions of Interest table in the Recipe Console tab of the Analysis Panel. To show the Regions of Interest table, click on the Recipe Console tab in the Analysis Panel, then the Expand icon next to Input and Output in any recipe, and then the Expand icon next to Regions of Interest.
Synchronize the center of a cube to planes
In 3D Plane View, selected cubes may be aligned with the Plane Navigation Crosshairs. Select a cube, and then click the Sync Center of Cube To Planes button Image Removed in the Tool Options and Functions section to align the center of the cube with the Plane Navigation Crosshairs; this will change the position but not the size of the selected cube.
Remove a cube
Click the Remove Cube icon Image Removed Image Added in a cube's row in of the Cube Table to remove the cube.
Remove a cube via the Recipe Console
The Remove Cube option is also available in the Regions of Interest table in the Recipe Console tab of the Analysis Panel. To show the Regions of Interest table, click on the Recipe Console tab in the Analysis Panel, then the Expand icon next to Input and Output in any recipe, and then the Expand icon next to Regions of Interest.
Un/Hide a cube
Click the Un/Hide Cube icon Image Removed Image Added in a cube's row in of the Cube Table to hide or show that cube.
Un/Hide cubes via the Recipe Console
Cubes may also be shown and hidden (as a group, not individually) from the Regions of Interest table in the Recipe Console tab of the Analysis Panel. To un/hide cubes by way of the Recipe Console, click on the Recipe Console tab in the Analysis Panel, then on the Expand icon next to Input and Output in any recipe, and then on the Show ROIs icon ( or ) next to Regions of Interest.
Show/Hide cube labels
Click on Show Cube Labels Image Removed in the Tool Options and Functions section to icon Image Added to toggle on/off the display of cube names in the Image Viewer.
Zoom to a cube
Select a cube, and then click the Zoom to Cube icon in the Tool Options and Functions section to to zoom to the selected cube in the Image Viewer (if in 3D View) or in the 3D pane (if in 3D Plane View).
Synchronize planes to the center of a cube
In 3D Plane View, select a cube, and then click the Sync Planes To Center of Cube button Image Removed in the Tool Options and Functions section to display the XY, YZ, and XZ planes that intersect the center of the selected cube.
Crop out a cube
Select a cube, and then click the Crop Cube button Image Removed in the Tool Options and Functions section to at the bottom of the interface to generate a new image that contains only the image data lying within the selected cube. This cropped image is displayed in the Image Viewer and has a thumbnail that appears in the Image Explorer once it has been generated, but the cropped image is NOT automatically saved.
Image credits
Philipp Keller, Howard Hughes Medical Institute, Janelia Farms Research Campus, Ashburn VA; Cell Tracking Challenge, http://www.celltrackingchallenge.net/datasets.html
Related articles
Filter by label (Content by label) showLabels false max 5 showSpace false cql label in ( "3d-tools" , "using-aivia" )
Page Properties | ||
---|---|---|
| ||
|