ModifyRegion¶
-
MacroModule
¶ genre Region
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition Geometry.def see also SubImage
,BoundingBox
keywords ROI
,VOI
,bounding
,box
,voxel
,world
,coordinates
,clip
,cut
,subimg
,subimage
,registration
,enlarge
,downsize
,relative
,percentage
Purpose¶
The ModifyRegion
module offers operations to extend, shrink, or even move an image’s region.
To specify the modifications, either millimeters, voxels, or a percentage of the input box extensions can be used.
Usage¶
First, you have to connect an input image the modifications are to be applied to. Then you can specify the enlargement parameters, provide a clamping box and/or specify a common divisor for the x, y, and z dimension. Press Update or enable Auto-Update to apply your changes.
Input Fields¶
The module has two inputs, the second one being optional.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Make Overall Voxel Extensions dividable by: : Integer |
Auto-Apply : Bool |
outWorldBox : String |
Box Modifier : String |
Parameter Interpretation : Enum |
Clamp with Secondary Image Region (if Available) : Bool |
Scalar Modifier : Float |
Clear : Trigger |
Up To Date : Bool |
Enlargement Parameters : Enum |
Vector Modifier : Vector3 |
Fill regions outside of input image with gray value : Float |
|
Fit by : Enum |
Visible Fields¶
Parameter Interpretation¶
-
name:
offsetMode
, type:
Enum
, default:
Millimeters
¶ Defines how the enlargement parameters are to be interpreted.
Values:
Title | Name |
---|---|
Millimeters | Millimeters |
Voxels | Voxels |
Percentage | Percentage |
Make Overall Voxel Extensions dividable by:¶
Fit by¶
-
name:
voxelExtensionMode
, type:
Enum
, default:
Shrinking
¶ Defines how the box is modified to fit.
Values:
Title | Name | Deprecated Name |
---|---|---|
Shrinking | Shrinking | shrinking |
Enlarging | Enlarging | enlarging |
Auto-Apply¶
-
name:
autoApply
, type:
Bool
, default:
TRUE
, deprecated name:
autoUpdate
¶ If checked, an automatic update is performed on all parameter/input changes.
Up To Date¶
-
name:
upToDate
, type:
Bool
, persistent:
no
¶ Shows whether the current output is up-to-date and valid.
Enlargement Parameters¶
-
name:
selectParameter
, type:
Enum
, default:
Scalar
¶ Defines how the region is modified and with which parameter.
By giving negative numbers, the box can be shrunk instead of enlarged. Additionally, a mere movement of the box can be achieved by giving a box value such as “5 5 5 0 0 0 5 5 5 0 0 0”.
Values:
Title | Name | Description |
---|---|---|
Scalar | Scalar | The input box is enlarged by the given amount in x-, y- and z-dimension. |
Vector | Vector | The specified vector is subtracted from the first of the vectors defining the box, and added to the second (still only in x-, y- and z-dimension). |
Box | Box | The specified box is added component-wise to the input box. |