[Insight-users] how to write mhd ?

x0_y0_0 x0_y0_0 at 126.com
Tue Jun 2 21:32:38 EDT 2009


It is OK, Thank you everymuch! Alex.
 
regards,
 
                                             mexiao




在2009-06-02?22:58:23,"Oleksandr?Dzyubak"?<adzyubak at gmail.com>?写道:
>
>You?have?16?bit?pixel?width?that?corresponds?to?the?integral?type?"short".
>Thus?as?ElementType?you?have?to?use?a?type?short?(or?unsigned?short).
>
>Good?luck,
>
>Alex
>
>
>x0_y0_0?wrote:
>>
>>?hi,everyone,
>>?I?have?a?RAW?data?of?MR?image,and?its?format?is?256*256*256,?with?
>>?16bits?stored?and?12bits?effective.?I?want?to?write?a?mhd/mha?file?for?
>>?it?.I?tried?to?write?it?,but?it?was?wrong.
>>?NDims?=?3
>>?ElementByteOrderMSB?=?False
>>?ElementSpacing?=?0.36?0.36?0.5
>>?DimSize?=?256?256?256
>>?ElementType?=?MET_UCHAR
>>?Offset?=?0?0?0
>>?ElementDataFile?=?patient.raw
>>?could?you?tell?me?to?I?write?
>>?regards,
>>?mexiao
>>
>>
>>?------------------------------------------------------------------------
>>?业务订单流失怎么办??<http://qiye.163.com/?ft=1>
>>?------------------------------------------------------------------------
>>
>>?_____________________________________
>>?Powered?by?www.kitware.com
>>
>>?Visit?other?Kitware?open-source?projects?at
>>?http://www.kitware.com/opensource/opensource.html
>>
>>?Please?keep?messages?on-topic?and?check?the?ITK?FAQ?at:?http://www.itk.org/Wiki/ITK_FAQ
>>
>>?Follow?this?link?to?subscribe/unsubscribe:
>>?http://www.itk.org/mailman/listinfo/insight-users
>>???
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090603/02bafefa/attachment.htm>


More information about the Insight-users mailing list