<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Thanks Luis. The code is working fine in 3D up until a point when it runs into memory issue in my laptop. I am going to try it in a lab computer and see how it goes.<br><br>Thanks again,<br>Ganesh<br><br>> Hi Ganesh,<br>> <br>> The Demons deformable registration filter should work<br>> in any dimension (2D, 3D, 4D...etc).<br>> <br>> When converting to 3D the 2D example: DeformableRegistration17.cxx<br>> <br>> You must change lines: 130-133"<br>> <br>> typedef itk::Image< PixelType, 2 > ImageType;<br>> typedef itk::Image< InternalPixelType, 2 > InternalImageType;<br>> typedef itk::Vector< float, 2 > VectorPixelType;<br>> typedef itk::Image< VectorPixelType, 2 > DeformationFieldType;<br>> <br>> and line 206:<br>> <br>> const unsigned int Dimension = 2;<br>> <br>> Please give it a try again and let us know if you<br>> still find any problem.<br>> <br>> Thanks,<br>> Luis<br>> -----------------------------------------<br>> On Tue, Jan 19, 2010 at 10:07 AM, Ganesh Narayanasamy<br>> <nganesh76@hotmail.com> wrote:<br>> ><br>> > This is a newbie with just a week long experience in using ITK. I would like<br>> > to know about demons based registration (mainly the fast-symmetric type). I<br>> > could run the "DeformableRegistration17.cxx" example code that uses<br>> > symmetric demons for 2D images. Can I make it work for 3D by just changing<br>> > line# 206 from<br>> > const unsigned int Dimension = 2;<br>> > into<br>> > const unsigned int Dimension = 3;<br>> ><br>> > I tried it but it did not work with the test ultrasound 3D images.<br>> ><br>> > Is there any code available for the Symmetric or fast-symmetric demons for<br>> > registering 3D image volumes ?<br>> ><br>> > Thank you,<br>> > Ganesh<br>> ><br><br>                                            <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/196390707/direct/01/' target='_new'>Sign up now.</a></body>
</html>