[Insight-users] 3d deformable registration

Stephen Yip stephen.fyip1 at gmail.com
Mon Apr 19 15:59:24 EDT 2010


Hi Luis,

The DicomSeriesReadImageWrite2.cxx example works. It helps me to write a
series of dicom slices into a single 3D file.

But the origin of my image is shifted from the upper left hand corner (the
input) to the center (ITK output).

I wonder if there is an easy way to fix this problem. Can I simply change
some lines in DicomSeriesReadImageWrite2.cxx?

Thank you,
Stephen

On Fri, Apr 9, 2010 at 5:13 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:

> Hi Stephen,
>
>
> 1) The most likely source of the problem is that you are
>      running out of memory.
>
>     a) How much RAM do you have ?
>     b) Do you have a 64bits operating system ?
>     c) Did you compile the application as a 64bits application ?
>
>    You may want to run the application again, as you monitor the
>    memory consumption (e.g. by using the TaskManager if you are
>    in Windows, or using the SystemMonitor if you are in Linux).
>
>
> 2) If your images are a series of 2D DICOM files you have two
>     options:
>
>       a) You can convert them to a single file 3D image by using
>           the code in the Example:
>
>               Insight/Examples/Code/IO/
>                      DicomSeriesReadImageWrite2.cxx
>
>           and then pass this 3D single file images as input to the
>           deformable application.
>
>       Or
>
>
>       b) You could combine the source code of the example in (a)
>           with the source code of the application that you are running
>           now.
>
>
>       I will suggest that you start by doing (a), and only move into (b)
>       once you are comfortable writing ITK code.
>
>
>
>
>    Regards,
>
>
>         Luis
>
>
>
>
>
> -----------------------------------------------------------------------------------
>
> On Thu, Apr 8, 2010 at 5:11 PM, Stephen Yip <stephen.fyip1 at gmail.com>wrote:
>
>> Hi,
>>
>> 1.
>> I tried to registered two hdr files by using DeformableRegistration8.cxx.
>> But I got the following feedback:
>> This application has requested the Runtime to terminate it in an unusual
>> way.
>> Please contact the application's support team for more information.
>>
>> How can I fix it?
>>
>> 2.
>> DeformableRegsitration 8 only accepts two input files. What if my images
>> are in 3D dicom file? They would have multi-slices. I am unsure how I can
>> treat all these slices as one input file.
>>
>> Thank you,
>> stephen
>>
>> _____________________________________
>> 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/20100419/12c93aa5/attachment-0001.htm>


More information about the Insight-users mailing list