[MINC-users] minctoraw
Andrew Janke
minc-users@bic.mni.mcgill.ca
Fri, 6 Sep 2002 08:41:17 +1000
On Thu, 5 Sep 2002, John Sled wrote:
> Another option you might consider is to use mincreshape to normalize
> the slices as follows
>
> volume_stats -min -max brain.mnc
>
> File: brain.mnc
> # voxels: 902629
> % of total: 100
> Volume (mm3): 7.22103e+06
> Min: 0
> Max: 1.32407e+06
Good point.. :) I'd forgotten about this method.
For those who are wondering where volume_stats comes from, it's part of John
Sleds N3 package. The volume_stats program has now been incorporated into MINC
itself but is called mincstats..
mincstats brain.mnc will give you the same output.
Then the folling is all the same..
> mincreshape -image_range 0 1.32407e06 brain.mnc brain_norm.mnc
>
> File: brain_norm.mnc
> # voxels: 902629
> % of total: 100
> Volume (mm3): 7.22103e+06
> Min: 0
> Max: 1.32407e+06
andrew