<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,</div><div><br></div><div>I am using Geodesic active contour segmentation method, in which the feature image is generated from a sigmoid function output as shown in the itk user guide example. But this time, I first saved the sigmoid function output, then read it again to give to the "SetFeatureImage" part of "geodesicActiveContour" filter, and it gives out the following error message:</div><div>*************************************</div><div>Exception caught !<br><br>itk::ExceptionObject (0x10fd470)<br>Location: "void itk::ImageFileWriter&lt;TInputImage&gt;::Write() [with TInputImage = itk::Image&lt;unsigned char, 3u&gt;]" <br>File: /usr/local/include/InsightToolkit/IO/itkImageFileWriter.txx<br>Line: 271<br>Description: itk::ERROR: ImageFileWriter(0x10caa80): Largest possible region does not fully contain requested
 paste IO regionPaste IO region: ImageIORegion (0x7fff931ffcc0)<br>&nbsp; Dimension: 3<br>&nbsp; Index: 0 0 0 <br>&nbsp; Size: 0 0 0 <br>Largest possible region: ImageRegion (0x7fff931ffd80)<br>&nbsp; Dimension: 3<br>&nbsp; Index: [0, 0, 0]<br>&nbsp; Size: [0, 0, 0]<br><br>Max. no. iterations: 500<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>&nbsp; what():&nbsp; /usr/local/include/InsightToolkit/IO/itkImageFileWriter.txx:271:<br>itk::ERROR: ImageFileWriter(0x10dd430): Largest possible region does not fully contain requested paste IO regionPaste IO region: ImageIORegion (0x7fff931ffcc0)<br>&nbsp; Dimension: 3<br>&nbsp; Index: 0 0 0 <br>&nbsp; Size: 0 0 0 <br>Largest possible region: ImageRegion (0x7fff931ffd80)<br>&nbsp; Dimension: 3<br>&nbsp; Index: [0, 0, 0]<br>&nbsp; Size: [0, 0,
 0]<br><br>Aborted</div><div>*************************************</div><div><br></div><div>What could be the problem? Besides, up to now, I didn't get at least a kind of segmentation result using "geodesicactivecontour" example in the user guide. Either the output is all dark, or there's only a very strange little white region. I played with many different parameters, but it didn't work. And I am sure my 3D data has no problem since I can do some kind of threshold segmentation on it.&nbsp;</div><div><br></div><div>Hope to receive your helpful suggestions soon!</div><div></div></div></body></html>