[MINC-users] mincstats -mask

Robert VINCENT minc-users@bic.mni.mcgill.ca
Wed Jul 20 17:31:05 2005


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
>