[Insight-users] GeodesicActiveContourLevelSetImageFilter for 3D data

Elaheh Mousavi el.msvi at gmail.com
Tue Mar 5 06:24:12 EST 2013


Dear ITK user
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

{
Exception caught !

itk::ExceptionObject (0xb4603850)
Location: "void itk::ImageToImageFilter<TInputImage,
TOutputImage>::VerifyInputInformation() [with TInputImage =
itk::Image<float, 3u>, TOutputImage = itk::Image<float, 3u>]"
File: /usr/local/include/ITK-4.1/itkImageToImageFilter.hxx
Line: 237
Description: itk::ERROR:
GeodesicActiveContourLevelSetImageFilter(0xa48cb08): Inputs do not occupy
the same physical space!
InputImage Spacing: [1.0000000e+00, 1.0000000e+00, 1.0000000e+00],
InputImageIndexedDataObject1 Spacing: [9.3750000e-01, 1.5000000e+00,
9.3750000e-01]
    Tolerance: 1.0000000e-06




Max. no. iterations: 800
Max. RMS error: 0.02

No. elpased iterations: 0
RMS change: 0
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  /usr/local/include/ITK-4.1/itkImageFileWriter.hxx:285:
itk::ERROR: ImageFileWriter(0xb4603ec8): Largest possible region does not
fully contain requested paste IO regionPaste IO region: ImageIORegion
(0xbffd1974)
  Dimension: 3
  Index: 0 0 0
  Size: 0 0 0
Largest possible region: ImageRegion (0xbffd19b4)
  Dimension: 3
  Index: [0, 0, 0]
  Size: [0, 0, 0]

Aborted
}
for 3D Image I  changed ITK Example in this way:
1:changing the Dimention to 3
2:taking the seedpoint[3] for fastmarchingfilter

is there any thing else which I have to change?
Please help for this ,I really need it
-- 
*E.Mousavi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130305/b23b7a53/attachment.htm>


More information about the Insight-users mailing list