[MINC-users] Masking voxels
Andrew Janke
a.janke at gmail.com
Sun Jul 12 01:01:39 EDT 2009
Hi Michael,
> Is it possible to mask any voxel readings that are below a minimum desired
> reading? I have used:
>
> mincmath name.mnc -segment -const2 40 90000 nameseg.mnc
>
> But it turns all readings into either 0 or 1. Is there a command to use so
> that voxel readings within the range will keep their values instead of
> changing to 1?
Kelvin is bang on the mark with his minccalc call. Just to assure
though, you were on the right track with mincmath, you just needed to
add an extra step whereby you multiplied your 1/0 volume by the
original using:
mincmath -mult nameseg.mnc name.mnc out.mnc
--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia +61 (402) 700 883
More information about the MINC-users
mailing list