¥3dfractionize does this resolution conversion:
¥
å3dfractionize -template func+orig
å -input
ROI_high_res+orig
å -clip 0.5
-preserve -prefix ROI_low_res
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: