[MINC-users] Masking voxels
Michael Alexander Yee
michael.a.yee at vanderbilt.edu
Mon Jul 13 10:07:32 EDT 2009
It worked great! Thanks.
On Sun, Jul 12, 2009 at 12:01 AM, Andrew Janke <a.janke at gmail.com> wrote:
> 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
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
More information about the MINC-users
mailing list