Difference between revisions of "Documentation/Nightly/Modules/Crop Volume"
m |
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation/versioncheck}}</noinclude> | ||
<!-- ---------------------------- --> | <!-- ---------------------------- --> | ||
{{documentation/{{documentation/version}}/module-header}} | {{documentation/{{documentation/version}}/module-header}} | ||
Line 8: | Line 9: | ||
{{documentation/{{documentation/version}}/module-introduction-row}} | {{documentation/{{documentation/version}}/module-introduction-row}} | ||
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website]. The development of this module was supported in part by NIH CA111288 and CA151261.<br> | This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website]. The development of this module was supported in part by NIH CA111288 and CA151261.<br> | ||
− | Author: Andrey Fedorov, Ron Kikinis, SPL<br> | + | Author: Andrey Fedorov, Paul Mercea, Ron Kikinis, SPL<br> |
Contact: Andrey Fedorov, <email>fedorov@bwh.harvard.edu</email><br> | Contact: Andrey Fedorov, <email>fedorov@bwh.harvard.edu</email><br> | ||
{{documentation/{{documentation/version}}/module-introduction-row}} | {{documentation/{{documentation/version}}/module-introduction-row}} | ||
Line 24: | Line 25: | ||
You can use this module to crop a DTI or DWI volume. | You can use this module to crop a DTI or DWI volume. | ||
− | The cropping functionality of this module is enabled by [[Documentation/ | + | The cropping functionality of this module is enabled by [[Documentation/{{documentation/version}}/Modules/ResampleScalarVectorDWIVolume | Resample Scalar/Vector/DWI Volume]] module, which is called internally. |
<!-- ---------------------------- --> | <!-- ---------------------------- --> | ||
Line 58: | Line 59: | ||
* '''Input/initialization parameters panel:''' | * '''Input/initialization parameters panel:''' | ||
** '''Input volume''' defines the input image from which you need to crop a subvolume. Output volume will be created automatically. | ** '''Input volume''' defines the input image from which you need to crop a subvolume. Output volume will be created automatically. | ||
− | ** '''ROI''' is a Region of Interest (see [[Modules | + | ** '''Input ROI''' is a Region of Interest (see [[Documentation/{{documentation/version}}/Modules/Annotations| Annotation module]]), which can be defined outside CropVolume, or by creating new MRMLROINode from the selector menu. The ROI can be adjusted using the widget handles in 3D view panel and/or in the 2D slice view panels. |
+ | ** '''Technique''' allows to choose between interpolated cropping and voxel-based cropping. In the latter case, the output volume will contain a subvolume of the input, and will not have any interpolation-related effects (the content of the cropped volume pixels will be identical to the ROI-defined subvolume of the input). | ||
** '''ROI visibility''' allows to turn the visibility of the 3D widget on or off in the 3D view panel. | ** '''ROI visibility''' allows to turn the visibility of the 3D widget on or off in the 3D view panel. | ||
** '''Interpolation options''' | ** '''Interpolation options''' | ||
*** '''Isotropic output voxel''' if this checkbox is selected, the output image will have isotropic spacing, with the voxel size of the output image in each dimension equal to the ''smallest'' voxel dimension of the input image multiplied by the scaling constant. | *** '''Isotropic output voxel''' if this checkbox is selected, the output image will have isotropic spacing, with the voxel size of the output image in each dimension equal to the ''smallest'' voxel dimension of the input image multiplied by the scaling constant. | ||
*** '''Input spacing scaling constant''' is the coefficient used to determine the spacing of the output volume. The output spacing is defined by multiplying the input spacing in each dimension by the user-specified coefficient. For example, if the input spacing is 1x1x1.4, and the scaling coefficient is 0.5, the output volume will have spacing 0.5x0.5x0.7, effectively doubling the resolution of the output image. | *** '''Input spacing scaling constant''' is the coefficient used to determine the spacing of the output volume. The output spacing is defined by multiplying the input spacing in each dimension by the user-specified coefficient. For example, if the input spacing is 1x1x1.4, and the scaling coefficient is 0.5, the output volume will have spacing 0.5x0.5x0.7, effectively doubling the resolution of the output image. | ||
− | *** '''Interpolator''' allows to select between Nearest Neighbor, Linear, Windowed Sinc or B-spline interpolators (see [[Documentation/ | + | *** '''Interpolator''' allows to select between Nearest Neighbor, Linear, Windowed Sinc or B-spline interpolators (see [[Documentation/{{documentation/version}}/Modules/ResampleScalarVectorDWIVolume | Resample Scalar/Vector/DWI Volume]] for details). For subvolumes being extracted from a label volume, you should use Nearest Neighbor interpolator. Otherwise B-spline is the preferred choice. Linear interpolator requires less computation, which may be important for very large ROIs. |
** '''Crop!''' button initiates the subvolume extraction based on the inputs and parameters. | ** '''Crop!''' button initiates the subvolume extraction based on the inputs and parameters. | ||
Line 69: | Line 71: | ||
{| | {| | ||
− | |[[Image:Slicer4_ExtractSubvolumeROI_controls.jpg|thumb|400px|CropVolume control panel]] | + | |[[Image:Slicer4_ExtractSubvolumeROI_controls-4.2.jpg|thumb|400px|CropVolume control panel]] |
|} | |} | ||
Line 79: | Line 81: | ||
<!-- ---------------------------- --> | <!-- ---------------------------- --> | ||
{{documentation/{{documentation/version}}/module-section|Similar Modules}} | {{documentation/{{documentation/version}}/module-section|Similar Modules}} | ||
− | * [[Documentation/ | + | * [[Documentation/{{documentation/version}}/Modules/ResampleScalarVectorDWIVolume | Resample Scalar/Vector/DWI Volume]] |
<!-- ---------------------------- --> | <!-- ---------------------------- --> |
Latest revision as of 07:57, 14 June 2013
Home < Documentation < Nightly < Modules < Crop Volume
For the latest Slicer documentation, visit the read-the-docs. |
Introduction and Acknowledgements
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the NA-MIC website. The development of this module was supported in part by NIH CA111288 and CA151261. | |||||||
|
Module Description
This module allows to extract rectangular subvolume from a scalar image, with the subvolume defined by Slicer ROI widget.
You can use this module to crop a DTI or DWI volume.
The cropping functionality of this module is enabled by Resample Scalar/Vector/DWI Volume module, which is called internally.
Use Cases
Most frequently used for these scenarios:
|
|
Tutorials
Not available at this time, but see the list of Slicer 3.6 tutorials that use CropVolume here: Modules:CropVolume-Documentation-3.6.
Panels and their use
|
|
Cropping of oblique sub-volumes can be done by placing either or both of input volume and ROI under transform(s). These transforms will be taken into account while preparing the output.
Similar Modules
References
N/A
Information for Developers
Section under construction. |