[Insight-users] Re: how to convert analyze file or raw file
t o mha+raw file
Azer, Karim
karim_azer at merck.com
Thu, 1 Apr 2004 15:37:17 -0500
The region growing segmentation application does not seem to take analyze
format. Do I have to convert before using it?
Karim
-----Original Message-----
From: insight-users-admin at itk.org [mailto:insight-users-admin at itk.org] On
Behalf Of Luis Ibanez
Sent: Monday, March 22, 2004 5:19 PM
To: Deliang Ye
Cc: Insight-users at itk.org
Subject: [Insight-users] Re: how to convert analyze file or raw file to
mha+raw file
Hi Deliang,
You don't need to convert your Analyze datasets to
MetaImage in order to use them with ITK applications.
ITK has readers for Analyze format. Simply pass your
.hdr file as input filename.
--
If you really feel strongly about converting your
Analyze files to MetaImage you can do it very easily
by using the small program in Examples:
Insight/Examples/IO/ImageReadWrite.cxx
Please check/modify the dimension and pixel type in
this program in order to match your image data.
Then recompile it, and execute it in the command
line with arguments such as :
ImageReadWriter.exe inputImage.hdr outputImage.mhd
Regards,
Luis
-------------------------
Deliang Ye wrote:
> Hi Luis,
>
> I am trying to convert analyze (hdr/img) or raw file to mha+raw file, so
> that I can try region growing segmentation code in ITK to segment the
data.
> Could you give me some directions how to make this conversion within ITK?
>
> Appreciate you very much for your help!
>
> --Deliang
>
>
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
------------------------------------------------------------------------------