Dear ITK user <br>I'm beginner in ITK ,and I want to use GeodesicActiveContourLevelsetImageFilter from ITK Example ,this filter has nice result for 2D image but when I Test it for 3D Data ,each time i got this error<br>
<br>{<br>Exception caught !<br><br>itk::ExceptionObject (0xb4603850)<br>Location: "void itk::ImageToImageFilter<TInputImage, TOutputImage>::VerifyInputInformation() [with TInputImage = itk::Image<float, 3u>, TOutputImage = itk::Image<float, 3u>]" <br>
File: /usr/local/include/ITK-4.1/itkImageToImageFilter.hxx<br>Line: 237<br>Description: itk::ERROR: GeodesicActiveContourLevelSetImageFilter(0xa48cb08): Inputs do not occupy the same physical space! <br>InputImage Spacing: [1.0000000e+00, 1.0000000e+00, 1.0000000e+00], InputImageIndexedDataObject1 Spacing: [9.3750000e-01, 1.5000000e+00, 9.3750000e-01]<br>
Tolerance: 1.0000000e-06<br><br><br><br><br>Max. no. iterations: 800<br>Max. RMS error: 0.02<br><br>No. elpased iterations: 0<br>RMS change: 0<br>terminate called after throwing an instance of 'itk::ExceptionObject'<br>
what(): /usr/local/include/ITK-4.1/itkImageFileWriter.hxx:285:<br>itk::ERROR: ImageFileWriter(0xb4603ec8): Largest possible region does not fully contain requested paste IO regionPaste IO region: ImageIORegion (0xbffd1974)<br>
Dimension: 3<br> Index: 0 0 0 <br> Size: 0 0 0 <br>Largest possible region: ImageRegion (0xbffd19b4)<br> Dimension: 3<br> Index: [0, 0, 0]<br> Size: [0, 0, 0]<br><br>Aborted<br>}<br>for 3D Image I changed ITK Example in this way:<br>
1:changing the Dimention to 3<br>2:taking the seedpoint[3] for fastmarchingfilter<br><br>is there any thing else which I have to change? <br clear="all">Please help for this ,I really need it<br>-- <br><i style="font-family:times new roman,serif"><font style="font-family:arial,helvetica,sans-serif">E.Mousavi</font></i><br>
<br>