| genre | Region |
| status | stable |
| author | Jan-Martin Kuhnigk |
| 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, jmk |
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.
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.
The module has two inputs, the second one being optional.
| Apply: Trigger | Offset Mode: Enum |
| Auto-Apply: Bool | outWorldBox: String |
| Box Modifier: String | Scalar Modifier: Float |
| Clamp with Secondary Image Region (if Available): Bool | Select Parameter: Enum |
| Clear: Trigger | Up To Date: Bool |
| Fill regions outside of input image with gray value: Float | Vector Modifier: Vector3 |
| Fit by: Enum | |
| Make Overall Voxel Extensions dividable by:: Integer |
Parameter Interpretation: Here you can select whether the enlargement parameters are to be interpreted as mm, voxels, or a percentage of the overall extension.
Values:
| Title | Name |
|---|---|
| Millimeters | Millimeters |
| Voxels | Voxels |
| Percentage | Percentage |
Here you can specify an integer number to make sure that the resulting voxel extensions have a common divisor, thus allowing simple resizing using the Scale3D operator.
The Fit by parameter tells the operator whether to shrink or to enlarge the box to achieve this.
Values:
| Title | Name | Deprecated Name |
|---|---|---|
| Shrinking | Shrinking | shrinking |
| Enlarging | Enlarging | enlarging |
Auto-Updates on all parameter/input changes
Indicates if the current output is up-to-date and valid.
Enlargement Parameters: You can select Scalar, Vector, or Box. 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 will be added component by component to the input box. |