[Insight-users] How to write header information to Raw images?
Bill Lorensen
bill.lorensen at gmail.com
Tue Aug 23 10:22:02 EDT 2011
itk's Meta file writer can store the header info in a separate file from the
raw data. See this wiki example:
http://itk.org/Wiki/ITK/Examples/IO/ImageFileWriter
When you run it, specify a file name with a .mhd extension and it will
produce two files. a .raw file and a .mhd file. The .mhd file contains the
header info.
Bill
On Mon, Aug 22, 2011 at 5:40 PM, Peymon <peymon.gazi at yahoo.com> wrote:
> Hi ITK users,
> I'm able to write Raw images using the itk::RawImageIO class. But, I don't
> know how to put the header information in the beginning of the Raw image
> file.
> How do you define the Raw-image's header information?
> Thanks,
> Peymon
>
> --
> View this message in context:
> http://itk-insight-users.2283740.n2.nabble.com/How-to-write-header-information-to-Raw-images-tp6713579p6713579.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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/20110823/d5955e2d/attachment.htm>
More information about the Insight-users
mailing list