[Insight-users] [Insight-developers] two-input filters don't work

Kevin H. Hobbs hobbsk at ohiou.edu
Thu Sep 17 14:14:03 EDT 2009


On Thu, 2009-09-17 at 18:10 +0200, Michael Xanadu wrote:

> 2.
> What represents step 12.2 with "subtracts a constant from it"? I don't
> know, what do you mean?

The shape detection filter and the geodesic active contour filter expect
that the initial level set image will have negative values inside of the
object and positive values outside of the object, with values of about
zero at the edge of the object.

The fast marching filter produces low values at the seed point(s) and
high values at points far away from the seed(s). 

So you can either use the SubtractConstantFromImageFilter, the
SetIsoSurfaceValue method of the segmentation filter, or set the value
of the seed point to a negative number, any one of which will make the
output of the fast marching filter ready to use in the shape detection
filter and the geodesic active contour filter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090917/f71a47d2/attachment.pgp>


More information about the Insight-users mailing list