[MINC-users] rawtominc difficulties

Vladimir FONOV vladimir.fonov at gmail.com
Tue Jul 31 12:00:30 EDT 2007


Hello,

On 7/31/07, Audette, Michel <Michel.Audette at medizin.uni-leipzig.de> wrote:
> when I try to perform a rawtominc, with any slice number larger than 1, I get rawtominc: Premature end of file.
> See below:
>
> maudette at icaw164201:~/data/ENTdata> rawtominc -clobber HumanS16885_Stack.mnc 489 366 1 -input HumanS16885_Stack.raw
> maudette at icaw164201:~/data/ENTdata> rawtominc -clobber HumanS16885_Stack.mnc 489 366 2 -input HumanS16885_Stack.raw
> rawtominc: Premature end of file.
> Can anyone suggest how to proceed? Is there a way of checking that my raw file was properly converted from tiff, to begin with?
>
You can check the size of the file , for example. If there are no
headers, it should be
X*Y*Z bytes long .

Also, when i was using rawtominc i was explicitly specifying some things:
rawtominc -byte -range 0 255 -orange 0 255 -real_range 0 255 -unsigned
-zyx  ....



-- 
Best regards,
 Vladimir S. Fonov ~ vladimir.fonov <at> gmail.com


More information about the MINC-users mailing list