[MINC-users] Rawtominc problems

Soren Christensen sorench at gmail.com
Tue Jul 7 17:32:49 EDT 2009


Hi,
 I am not sure -osigned has any effect with -ofloat but that is probably not
the problem. Does the file size equal the product of the dimensions *
sizeof(float)?

Soren



On Wed, Jul 8, 2009 at 2:58 AM, Michael Alexander Yee <
michael.a.yee at vanderbilt.edu> wrote:

> I am trying to convert .img files (float) to .mnc using rawtominc, but I
> keep getting a "premature end of file" message and mincheader shows that
> several slices do not have a corresponding min/max.
>
> I have written:
>
> cat name.img | rawtominc -float -ofloat -scan_range -xstep 2 -ystep 2
> -zstep
> 2 -xstart 46  -ystart 64  -zstart 37  name.mnc 91 109 91 -clobber -osigned
>
> Any idea what the problem is?
>
> Michael
> _______________________________________________
> 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