<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>There is also some documentation for BRAINSDemonWarp from the Slicer3 integrated version on: </div>
<div><br>
</div>
<div><a href="http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSDemonWarp">http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSDemonWarp</a></div>
<div><br>
</div>
<div>Hans</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Vincent Magnotta <<a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>><br>
<span style="font-weight:bold">Date: </span>Fri, 25 Mar 2011 13:46:05 +0000<br>
<span style="font-weight:bold">To: </span>Ariel Hernán Curiale <<a href="mailto:curiale@gmail.com">curiale@gmail.com</a>>, akbarjan bayiz <<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>" <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Insight-users] Itk Segmentation Fault<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>
<div>
<div>We have an application hosted on NITRC that implements registration of two datasets using ITK diffeomorphic demons. You would need to convert the images to Nifti or another suitable format first, but it should work for your application.</div>
<div><br>
</div>
<div><a href="http://www.nitrc.org/projects/brainsdemonwarp">http://www.nitrc.org/projects/brainsdemonwarp</a>/</div>
<div><br>
</div>
<div>Vince</div>
<div><br>
</div>
<div>
<div>
<div>-- </div>
<div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size:11pt">Associate Professor<br>
Department of Radiology<br>
0453-D JCP<br>
200 Hawkins Drive<br>
Iowa City, IA 52242<br>
E-mail: <a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a><br>
Phone: 319-356-8255 Fax: 319-353-6275<br>
Website: <a href="http://www.healthcare.uiowa.edu/Radiology">http://www.healthcare.uiowa.edu/Radiology</a></span></font></div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Ariel Hernán Curiale <<a href="mailto:curiale@gmail.com">curiale@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Fri, 25 Mar 2011 13:21:23 +0100<br>
<span style="font-weight:bold">To: </span>akbarjan bayiz <<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>><br>
<span style="font-weight:bold">Cc: </span><<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Insight-users] Itk Segmentation Fault<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word">What ITK version are running ?
<div><br>
</div>
<div>Another things is that "DeformationPixelType" need to be a float or double.</div>
<div><br>
</div>
<div>Please post the source code.</div>
<div><br>
</div>
<div><br>
<div>
<div style="font-family:Helvetica; font-size:medium">Saludos</div>
<div style="font-family:Helvetica; font-size:medium">Ariel Hernán Curiale</div>
<div style="font-family:Helvetica; font-size:medium"><a href="http://www.curiale.com.ar">www.curiale.com.ar</a></div>
<div style="font-family:Helvetica; font-size:medium"><br>
</div>
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>El 25/03/2011, a las 12:54, akbarjan bayiz escribió:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<table cellspacing="0" cellpadding="0" border="0" style="position:static; z-index:auto">
<tbody>
<tr>
<td valign="top" style="font:inherit">Hello!<br>
<br>
Thank you for your reply. <br>
I've done it as you said, changed the data types, but unfortunately it gives out a full screen of error now. I am trying to read two dicom series from two different directories, and perform Demons registration, then save the output as a new dicom file. Maybe
this is different from what you are doing, and that is why your data type does not work for my code I think.
<br>
<br>
Do you have any other good suggestions? <br>
<br>
Best Regards, <br>
<br>
--- On <b>Fri, 3/25/11, Ariel Hernán Curiale <i><<a href="mailto:curiale@gmail.com">curiale@gmail.com</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16,16,255); margin-left:5px; padding-left:5px">
<br>
From: Ariel Hernán Curiale <<a href="mailto:curiale@gmail.com">curiale@gmail.com</a>><br>
Subject: Re: [Insight-users] Itk Segmentation Fault<br>
To: "akbarjan bayiz" <<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>><br>
Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Date: Friday, March 25, 2011, 5:34 AM<br>
<br>
<div id="yiv1335649859">Hi, Im recently used this class and I had no errors. This is my code:
<div><br>
</div>
<div><span class="yiv1335649859Apple-tab-span" style="white-space:pre"></span> <font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">typedef</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">itk</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">::</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">Image</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101"><</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">PixelType</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">,</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">3</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">>
</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">ImageType</font></span></font><font class="yiv1335649859Apple-style-span" face="Menlo" size="3"><span class="yiv1335649859Apple-style-span" style="font-size:11px"><font class="yiv1335649859Apple-style-span" color="#010101">;</font></span></font></div>
<div>
<div style="margin:0px; font:11px Menlo; color:rgb(0,179,249)"><span style="color:rgb(227,57,161)"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"></span><font class="yiv1335649859Apple-style-span" color="#010101">typedef</font></span><font class="yiv1335649859Apple-style-span" color="#010101">
itk::Image< itk::Vector<DeformationPixelType, 3>, 3> DeformationFieldType</font><span style="color:rgb(255,255,255)">;</span></div>
</div>
<div>
<div style="margin:0px; font:11px Menlo; color:rgb(0,179,249)"><font class="yiv1335649859Apple-style-span" color="#ffffff">
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">typedef itk::DiffeomorphicDemonsRegistrationFilter
<ImageType, ImageType, DeformationFieldType> FilterType;</font></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; font:normal normal normal 11px/normal Menlo; min-height:13px">
<span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101"><br class="yiv1335649859webkit-block-placeholder">
</font></div>
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">typename FilterType::Pointer
filter = FilterType::New();</font></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; font:normal normal normal 11px/normal Menlo; min-height:13px">
<span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101"><br class="yiv1335649859webkit-block-placeholder">
</font></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; font:normal normal normal 11px/normal Menlo; min-height:13px">
<span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101"><br class="yiv1335649859webkit-block-placeholder">
</font></div>
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">filter->SetFixedImage(img_diastole->GetOutput());</font></div>
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">filter->SetMovingImage(img_sistole->GetOutput());</font></div>
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">filter->Update();</font></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; font:normal normal normal 11px/normal Menlo; min-height:13px">
<span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101"><br class="yiv1335649859webkit-block-placeholder">
</font></div>
<div style="margin:0px; font:11px Menlo"><span class="yiv1335649859Apple-tab-span" style="white-space:pre"><font class="yiv1335649859Apple-style-span" color="#010101"></font></span><font class="yiv1335649859Apple-style-span" color="#010101">typename DeformationFieldType::Pointer
deformacion = filter->GetDeformationField();</font></div>
<div><span style="color:rgb(255,255,255)"><br>
</span></div>
</font></div>
</div>
<div><br>
<div>
<div>Saludos</div>
<div>Ariel Hernán Curiale</div>
<div><a rel="nofollow" target="_blank" href="http://www.curiale.com.ar/">www.curiale.com.ar</a></div>
<div><br>
</div>
<br class="yiv1335649859Apple-interchange-newline">
</div>
<br>
<div>
<div>El 25/03/2011, a las 10:00, akbarjan bayiz escribió:</div>
<br class="yiv1335649859Apple-interchange-newline">
<blockquote type="cite">
<div>Hello all!<br>
<br>
I am using Demons algorithm to perform registration of two DICOM series. My code compiles without any error. And when I run it, at the final step, when it updates the filter, there is a "0" on the screen, and gives error message saying "Segmentation Fault".
<br>
<br>
What should I do for it? <br>
<br>
Thank you in advance! <br>
<br>
<br>
<br>
_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</td>
</tr>
</tbody>
</table>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
_____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a> Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any
retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
<hr>
</div>
</div>
_____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a> Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</span><br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any
retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
<hr>
</body>
</html>