[MINC-users] mincstats -mask

Andrew Janke Andrew Janke <a.janke@gmail.com>
Wed Jul 20 17:35:04 2005


Sounds fair to me.

Peter and I discussed this at length when we first wrote the thing but
never managed to come to agreement.

What has just been suggested is what I was hammering for... :)


a

On 20/07/05, Robert VINCENT <bert@bic.mni.mcgill.ca> wrote:
> Hi Alex,
> 
> This appears to be unchanged.  I hadn't been aware of the problem.
> 
> I think adding some kind of default behavior such as -mask_binvalue 1
> would not break anything.  But I'm curious to hear other's opinions.
> 
>         -bert
> 
> 
> On Wed, 20 Jul 2005, Alex ZIJDENBOS wrote:
> 
> > A kind soul just alerted me to something possibly confusing with
> > mincstats, being that it will (silently) ignore a -mask argument if
> > not given at least one of -mask_{floor,ceil,range,binvalue}.
> >
> > In other words, the call
> >
> >    mincstats -mask <mask.mnc> -floor <your_favorite_treshold> <in.mnc>
> >
> > does nothing with <mask.mnc>. Although this is stated in the man page,
> > I suspect it is counterintuitive to many people; it seems to me
> > mincstats should either do something sensible with the mask (i.e.,
> > default to '-mask_binvalue 1'), or barf when given a mask argument
> > which is not used.
> >
> > I have a vague recollection of this being discussed before, but has it
> > been fixed in recent releases of minc?
> >
> > -- A
> > _______________________________________________
> > MINC-users@bic.mni.mcgill.ca
> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> >
> 
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> 


-- 
Andrew Janke      (a.janke@gmail.com || www.cmr.uq.edu.au/~rotor)
Canada->Montreal                                   Cell: +1 (514) 924 2012