<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7655.8">
<TITLE>R: [Insight-users] SNAKES in ITK</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Can I implement a snake with itkDeformableMesh3DFilter, because I tried to use the example: Examples/Segmentation/DeformableModel1.cxx to implement a snake with 2D images but I have an error at this line:<BR>
<BR>
deformableModelFilter->SetGradient( gradientMapFilter->GetOutput() );<BR>
<BR>
[100%] Building CXX object CMakeFiles/Lumen.dir/Lumen.cxx.o<BR>
/home/edoardo/ITK/Tesi/02_Lumen_identification/src/Lumen.cxx: In function ‘int main(int, char**)’:<BR>
/home/edoardo/ITK/Tesi/02_Lumen_identification/src/Lumen.cxx:668: error: no matching function for call to ‘itk::DeformableMesh3DFilter<itk::Mesh<double, 2u, itk::DefaultStaticMeshTraits<double, 2u, 2u, float, float, double> >, itk::Mesh<double, 2u, itk::DefaultStaticMeshTraits<double, 2u, 2u, float, float, double> > >::SetGradient(itk::Image<itk::CovariantVector<double, 2u>, 2u>*)’<BR>
/usr/local/include/InsightToolkit/Algorithms/itkDeformableMesh3DFilter.h:139: note: candidates are: void itk::DeformableMesh3DFilter<TInputMesh, TOutputMesh>::SetGradient(typename itk::Image<itk::CovariantVector<typename TInputMesh::PixelType, 3u>, 3u>::Pointer) [with TInputMesh = itk::Mesh<double, 2u, itk::DefaultStaticMeshTraits<double, 2u, 2u, float, float, double> >, TOutputMesh = itk::Mesh<double, 2u, itk::DefaultStaticMeshTraits<double, 2u, 2u, float, float, double> >]<BR>
make[2]: *** [CMakeFiles/Lumen.dir/Lumen.cxx.o] Errore 1<BR>
make[1]: *** [CMakeFiles/Lumen.dir/all] Errore 2<BR>
make: *** [all] Errore 2<BR>
<BR>
<BR>
Is it possible to use this library (itkDeformableMesh3DFilter) with 2D images.<BR>
<BR>
Thank you very much for the interest<BR>
sorry form my ignorance<BR>
Edoardo<BR>
<BR>
-----Messaggio originale-----<BR>
Da: John Galeotti [<A HREF="mailto:jgaleotti@cmu.edu">mailto:jgaleotti@cmu.edu</A>]<BR>
Inviato: sab 24/04/2010 17.02<BR>
A: edoardo.belletti@alice.it<BR>
Cc: ITK_forum <BR>
Oggetto: Re: [Insight-users] SNAKES in ITK<BR>
<BR>
People often use level sets to implicitly represent snakes (active <BR>
contours). Level-set segmentation methods are covered in the ITK <BR>
Software Guide.<BR>
<BR>
If, on the other hand, you want to explicitly create and modify a <BR>
snake, you may also be interested in ITK's built-in path <BR>
functionality, which is probably best documented at <A HREF="http://www.insight-journal.org/browse/publication/32">http://www.insight-journal.org/browse/publication/32</A><BR>
.<BR>
<BR>
-John Galeotti<BR>
<BR>
<BR>
On Apr 24, 2010, at 7:01 AM, <edoardo.belletti@alice.it> <edoardo.belletti@alice.it<BR>
> wrote:<BR>
<BR>
> Hi<BR>
> I am looking to use ITK to implement a snake to make a deformable <BR>
> model segmentation algorithm.<BR>
> I whant to know how are the snakes that are implemeted in ITK, and <BR>
> where can I find some documentation about that.<BR>
><BR>
> Please excuse my ignorance.<BR>
> Thank you in advance,<BR>
> Edoardo<BR>
><BR>
> _____________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <A HREF="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</A><BR>
><BR>
> Kitware offers ITK Training Courses, for more information visit:<BR>
> <A HREF="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</A><BR>
><BR>
> Please keep messages on-topic and check the ITK FAQ at:<BR>
> <A HREF="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</A><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <A HREF="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>