AccumulateImage¶
-
MLModule
¶ genre Resample
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLResample1
definition MLResample1.def see also MPR
,MPRPath
,Reformat
Purpose¶
The AccumulateImage
allows for accumulating/resampling multiple images into a global reference volume. The reference volume can be an existing dataset, or it can be created from multiple volumes/slices using, e.g., CreateBoundingVolume
.
Intersecting volumes are combined using either maximum intensity or weighted averaging.
Details¶
The module supports all default data types, but MAXIMUM is not supported on data types with multiple components. In the case of multiple components, the MAXIMUM mode falls back to overwrite, so that the last value that is written to a voxel will win.
The weighted averaging mode uses a double precision accumulation buffer for all scalar types. For data types with multiple components, the data type itself is used in the accumulation buffer.
Input Fields¶
Output Fields¶
Parameter Fields¶
Field Index¶
Accumulation Mode : Enum |
Add : Trigger |
Border Handling : Enum |
Clear : Trigger |
Interpolation : Enum |
Visible Fields¶
Accumulation Mode¶
-
name:
accumulationMode
, type:
Enum
, default:
Maximum
¶ Defines how volumes are accumulated.
Values:
Title | Name | Description |
---|---|---|
Maximum | Maximum | Accumulate with maximum intensity operator. The background is filled with the reference image’s minimum value. |
Weighted Average | WeightedAverage | Calculate the weighted average of the intensity values. The weight is interpolated from 0-1 at the border of each volume, it is 0 outside the volume and 1 inside the volume. On the border of a volume, the weight is interpolated from 0-1. If weighted averaging is turned on, the second output of the image gives the sum of the weights, which can be used for masking or other purposes. |
Minimum | Minimum | Accumulate with minimum intensity operator. The background is filled with the reference image’s maximum value. |
Replace | Replace | Accumulate with replace intensity operator. The background is filled with the reference image’s minimum value. |
Interpolation¶
-
name:
interpolation
, type:
Enum
, default:
Trilinear
¶ See
MPR.interpolation
.
Values:
Title | Name |
---|---|
Nearest Neighbor | NearestNeighbor |
Trilinear | Trilinear |
Border Handling¶
-
name:
borderHandling
, type:
Enum
, default:
UseFillValue
¶ See
MPR.borderHandling
.
Values:
Title | Name |
---|---|
Clamp To Edge | ClampToEdge |
Use Fill Value | UseFillValue |