[MINC-users] classify_clean

Andrew Janke a.janke at gmail.com
Fri Nov 4 01:43:40 EDT 2011


Hi Paul,

On 4 November 2011 14:03, Paul Rasser <Paul.Rasser at newcastle.edu.au> wrote:
> I'm looking to use classify_clean to classify volumes in native space and was hoping for suggestions/concerns with respect to using it in the following way:

I generally always do tissue classification in model space but I can't
see any reason as to why this approach won't work.

> #find nl transformation
> nlfit_smr subj.mnc nl.xfm -model colin27_t1_tal_lin
>
> #invert transformation
> xfminvert nl.xfm  nl_inv.xfm
>
> #invert .tag files to subject's native space
> transform_tags ~/ntags_1000_prob_90_nobg.tag nl_inv.xfm ntags_1000_prob_90_nobg.tag
> transform_tags ~/ntags_1000_bg.tag nl_inv.xfm ntags_1000_bg.tag
>
> #apply classfy_clean to subject in native space
> classify_clean -clean_tags subj.mnc subj_seg.mnc

I take it you also supply -tagfile -bgtagfile arguments so that your
custom tags are used?  Either that or you can always skip transforming
the tags and instead supply a  -tag_transform <nl_transform.xfm>
argument.



a


More information about the MINC-users mailing list