[Insight-users] Itk Segmentation Fault
Johnson, Hans J
hans-johnson at uiowa.edu
Fri Mar 25 10:07:37 EDT 2011
There is also some documentation for BRAINSDemonWarp from the Slicer3 integrated version on:
http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSDemonWarp
Hans
From: Vincent Magnotta <vincent-magnotta at uiowa.edu<mailto:vincent-magnotta at uiowa.edu>>
Date: Fri, 25 Mar 2011 13:46:05 +0000
To: Ariel Hernán Curiale <curiale at gmail.com<mailto:curiale at gmail.com>>, akbarjan bayiz <abayiz at yahoo.com<mailto:abayiz at yahoo.com>>
Cc: "insight-users at itk.org<mailto:insight-users at itk.org>" <insight-users at itk.org<mailto:insight-users at itk.org>>
Subject: Re: [Insight-users] Itk Segmentation Fault
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.
http://www.nitrc.org/projects/brainsdemonwarp/
Vince
--
Associate Professor
Department of Radiology
0453-D JCP
200 Hawkins Drive
Iowa City, IA 52242
E-mail: vincent-magnotta at uiowa.edu<mailto:vincent-magnotta at uiowa.edu>
Phone: 319-356-8255 Fax: 319-353-6275
Website: http://www.healthcare.uiowa.edu/Radiology
From: Ariel Hernán Curiale <curiale at gmail.com<mailto:curiale at gmail.com>>
Date: Fri, 25 Mar 2011 13:21:23 +0100
To: akbarjan bayiz <abayiz at yahoo.com<mailto:abayiz at yahoo.com>>
Cc: <insight-users at itk.org<mailto:insight-users at itk.org>>
Subject: Re: [Insight-users] Itk Segmentation Fault
What ITK version are running ?
Another things is that "DeformationPixelType" need to be a float or double.
Please post the source code.
Saludos
Ariel Hernán Curiale
www.curiale.com.ar<http://www.curiale.com.ar>
El 25/03/2011, a las 12:54, akbarjan bayiz escribió:
Hello!
Thank you for your reply.
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.
Do you have any other good suggestions?
Best Regards,
--- On Fri, 3/25/11, Ariel Hernán Curiale <curiale at gmail.com<mailto:curiale at gmail.com>> wrote:
From: Ariel Hernán Curiale <curiale at gmail.com<mailto:curiale at gmail.com>>
Subject: Re: [Insight-users] Itk Segmentation Fault
To: "akbarjan bayiz" <abayiz at yahoo.com<mailto:abayiz at yahoo.com>>
Cc: insight-users at itk.org<mailto:insight-users at itk.org>
Date: Friday, March 25, 2011, 5:34 AM
Hi, Im recently used this class and I had no errors. This is my code:
typedefitk::Image<PixelType,3> ImageType;
typedef itk::Image< itk::Vector<DeformationPixelType, 3>, 3> DeformationFieldType;
typedef itk::DiffeomorphicDemonsRegistrationFilter <ImageType, ImageType, DeformationFieldType> FilterType;
typename FilterType::Pointer filter = FilterType::New();
filter->SetFixedImage(img_diastole->GetOutput());
filter->SetMovingImage(img_sistole->GetOutput());
filter->Update();
typename DeformationFieldType::Pointer deformacion = filter->GetDeformationField();
Saludos
Ariel Hernán Curiale
www.curiale.com.ar<http://www.curiale.com.ar/>
El 25/03/2011, a las 10:00, akbarjan bayiz escribió:
Hello all!
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".
What should I do for it?
Thank you in advance!
_____________________________________
Powered by www.kitware.com<http://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
_____________________________________ 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
________________________________
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.
________________________________
_____________________________________ 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
________________________________
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.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110325/b0f1dc86/attachment.htm>
More information about the Insight-users
mailing list