<br><div class="gmail_quote">On Mon, Jun 18, 2012 at 6:46 PM, Luke Hetrick <span dir="ltr"><<a href="mailto:lhetrick@nnu.edu" target="_blank">lhetrick@nnu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br><br> My ITK/Examples/Filtering/SurfaceExtraction.cxx gives me a segmentation fault when ever I run it. After reading the section that describes this program on page 291 of the software guide pdf (page 260 of he text), I know I should have a 3D image. I am generate this 3D image by using the ImageSeriesReadWrite.cxx (with a few modifications so it can accept my 2D *.png images). But when I try to read the 3D .png image I created into SurfaceExtraction.cxx, it just dies. I do not throw exceptions or anything else, just a segmentation fault. At least the exceptions tell me something useful when I hit an error but this give me nothing to work with.<br>
</blockquote><div><br></div>I would try to make a compilable example that doesn't require any external data but still causes the crash. I.e. generate an image programatically so someone on the mailing list can copy+paste+compile+run your code. This will allow them to a) see if it also crashes for them and b) eliminate the uncertainty about what is going on with the input images to see if the problem is being caused by your data (which would still need an explanation) or if there is something wrong with the code itself.<br clear="all">
<br>David<br><div> </div></div>