[Insight-users] Itk Segmentation Fault

Ariel Hernán Curiale curiale at gmail.com
Fri Mar 25 06:34:08 EDT 2011


Hi, Im recently used this class  and I had no errors.  This is my code:

		  typedef itk::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



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
> 
> 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/20110325/0c068adb/attachment.htm>


More information about the Insight-users mailing list