[Insight-users] Problem with ContourExtractor2DImageFilter

András Osztroluczki ahnryka at gmail.com
Sat Jan 16 05:34:19 EST 2010


Hi everyone!

I want to write a RT-Struct exporter, and i want to use
ContourExtractor2DImageFilter to extract the contour.
It works fine with some images, but doesn't work with all images(0 contour
detected in all slice), and i no idea why not :(
I wrote a little code for test the filter, i will send the code and the
images, if you want to test.

The program input is a label map(3D). First i extract the slices with
itkExtractImageFilter, and after that, i use ContourExtractor2DImageFilter
with itkExtractImageFilter's output, and i print the founded contour number
for each slices.

I tested it with mask1 from
http://www.insight-journal.org/browse/publication/316
I made another mask with Slicer3, the original image was the modified_image
from prev.link, and it's works fine.
But when i created another mask with Slicer3 from other image(MR), it didn't
work.

Any idea why?

B.R.
  Andras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100116/7c9f7f29/attachment.htm>


More information about the Insight-users mailing list