H-template func+orig¨ The destination grid you want your ROI grid
to be
resampled to (weÕre going from high to low resolution here).Our output dataset
ROI_low_res+orig will be
written at the resolution of func+orig
H-input ROI_high_res+orig¨ Defines the input high-resolution dataset
(that needs
to be converted from high resolution to low resolution)
H-clip 0.5¨ Output voxels will only get a nonzero value if they are at
least 50% filled
by nonzero input voxels (you decide the percentage here). E.g., when going
from high to low res, keep a label a voxel as part of the ROI if it is filled with
at least 50% (or more) of the voxel value.For example:
This voxel is 80% filled
with the ROI value -- keep it
This voxel is 30% filled
with the ROI value -- lose it