<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#3333ff">
<br>
<pre class="moz-signature" cols="72">Yes... SignedDanielssonDistanceMapImageFilter works fine. Thanks a lot guys.
</pre>
<br>
On 2/1/2011 5:04 PM, Juan Cardelino wrote:
<blockquote
cite="mid:AANLkTi=W3ehFvQZRNVmWUd6UyS9KXaBm75abkULSTANx@mail.gmail.com"
type="cite">
<pre wrap="">Hi guys,
There is also the possibilty of directly using the
SignedDanielssonDistanceMapImageFilter which computes the level set
from a mask image. This masks defines whats inside the initial
contour.
Best,
Juan
On Tue, Feb 1, 2011 at 7:22 PM, Kishore Mosaliganti
<a class="moz-txt-link-rfc2396E" href="mailto:kishoreraom@gmail.com"><kishoreraom@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Vimal,
The levelset function is supposed to be initialized in such a way that
there is a negative and positive part in the range of the function.
The fast marching filter allows one to specify negative seeds and
therefore it generates a 0 levelset which is a circle.
The output of the Danielsson Distance map is a fully positive function.
To make it work, subtract some value from its output before setting it
as input to the levelset filter.
Kishore
</pre>
</blockquote>
</blockquote>
</body>
</html>