[Insight-users] Convert the Image Format
Luis Ibanez
luis.ibanez at kitware.com
Sun Nov 7 08:50:39 EST 2004
Hi Weihua,
You can use the example program:
Insight/Examples/IO/
ImageSeriesReadWrite.cxx
in order to convert your series of slices into a 3D volume.
Regards,
Luis
---------------------------
weihuax at sfu.ca wrote:
>Hi;
>
>Thanks a lot for quick reply. Now I have another question: Now I want to use
>'MultiResMIRegistration' application, its input are TWO 3-D volume, how can
>I create my own 3-D volume format as its input?
>
>Thank again
>
>Weihua
>
>On Sat, 06 Nov 2004 20:05:58 -0500 luis.ibanez at kitware.com wrote:
>
>
>>Hi Weihua,
>>
>>You don't need to convert your JPEG files to MetaImage in order
>>to use the registration methods available in ITK.
>>
>>You can read JPEG images directly using the ImageFileReader<>.
>>
>>Any of the 2D examples in the ITK Software Guide can be
>>run using JPEG images as input. You can also use BMP, TIFF,
>>PNG, GPIL, VTK and Analyze.
>>
>>Please read the IO chapter of the Software Guide
>>
>> http://www.itk.org/ItkSoftwareGuide.pdf
>>
>>and take a look at the Tutorial Sessions:
>>
>> http://www.itk.org/HTML/Tutorials.htm
>>
>>In particular the first session: "Getting Started I"
>>
>> http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/index.htm
>>
>>
>
>
>
>>For a full list of the Image formats supported in ITK,
>>please take a look at the FAQ:
>>
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>>in particular to the entry:
>>
>>
>>
>> Regards,
>>
>> Luis
>>
>>
>>------------------------------
>>weihuax at sfu.ca wrote:
>>
>>
>>
>>>Hi:
>>>
>>>I am a new user for itk. Now I used the Matlab to create a 3D '.JPG'
>>>
>>>
>>file,
>>
>>
>>>D = rand(2,3,4);
>>>imwrite(D,'test.jpg');
>>>
>>>Who can tell me how to create such .jpg file into MetaIMage File
>>>
>>>
>>(including
>>
>>
>>>test.hdr and test.raw) so that some itk registration solution can use it.
>>>
>>>
>
>
>
>>>Thanks a lot
>>>
>>>Weihua(Wallace) Xiong
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
>http://www.itk.org/Wiki/ITK_FAQ#What_3D_file_formats_can_ITK_import_and_expo
>rt.3F
>
>
>
>
More information about the Insight-users
mailing list