[Insight-users] SignedDanielssonDistanceMapImageFilter and ContourExtractor2DImageFilter

David Doria daviddoria at gmail.com
Wed Jul 13 08:19:06 EDT 2011


On Wed, Jul 13, 2011 at 8:11 AM, Juan Cardelino
<juan.cardelino at gmail.com> wrote:
> David,
>        Please look at the attached example. This program takes a
> distance map and an image, computes the zero level set of the distance
> map and overlays it over the image. It is used to show segmentation
> results. Look at the part that I extract the contour and it will
> answer your question.
> I will contribute this one later on, because I also ran into trouble
> when trying to use the ContourExtractorFilter.
> I hope this helps.
> Regards,
>             Juan

Hm, the only difference I see is that you called:

	extractor->VertexConnectHighPixelsOff();
	extractor->ReverseContourOrientationOff();

which didn't seem to change anything in my example? Am I missing something else?

David


More information about the Insight-users mailing list