Hi everybody,<br><br>I would like to know where i can find information about <br><br>           <b>how to integrate java with itk , vtk?</b><br><br>regards<br>srinivasan<br><br><br><div class="gmail_quote">On Thu, Apr 23, 2009 at 9:30 PM,  <span dir="ltr">&lt;<a href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send Insight-users mailing list submissions to<br>
        <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:insight-users-owner@itk.org">insight-users-owner@itk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Insight-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. 2D rigid registration problems (Auron Ford Huton)<br>
   2. Re: Problem building ITK 3.12 with GDCM 2.x (Mathieu Malaterre)<br>
   3. Re: Incremental Region Growing (Carlos S?nchez Mendoza)<br>
   4. Re: Incremental Region Growing (Bill Lorensen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 23 Apr 2009 16:17:57 +0200<br>
From: Auron Ford Huton &lt;<a href="mailto:auron@hotmail.es">auron@hotmail.es</a>&gt;<br>
Subject: [Insight-users] 2D rigid registration problems<br>
To: &lt;<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>&gt;<br>
Message-ID: &lt;BLU123-W25B1C5B3CC5F2B65BAC88FDF750@phx.gbl&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
Hi everybody!!<br>
<br>
I?m an ITK newbie who is triyng to do a 2D rigid registration, so my apologizes if I say some stupids things below :P.<br>
<br>
I have compiled and executed all the examples from ImageRegistration1.cxx to ImageRegistration9.cxx of ITK with the brain images that can be found in the Data directory of ITK and all works perfect. But, when I try to use that examples with my images (2D .png images taken from a citology), the results are far away from the expected ones.<br>

<br>
I also did a program that uses an AffinTransform with a MattesMutualInformationImageToImageMetric and I executed it with all the possible variations in the parameters that define de metric or the optimizer, with no results too.<br>

<br>
Any ideas of which could be my mistakes???<br>
<br>
I don?t know if it is enough information for you to help me. If not, let me know and I will reply with all the information you need.<br>
<br>
Thanks in advance to everyone.<br>
<br>
_________________________________________________________________<br>
?Quieres crear  tus propios emoticonos gratis? Descubre c?mo hacerlo en el Club Oficial de Messenger<br>
<a href="http://vivelive.com/ilovemessenger/" target="_blank">http://vivelive.com/ilovemessenger/</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20090423/7687e954/attachment-0001.htm" target="_blank">http://www.itk.org/pipermail/insight-users/attachments/20090423/7687e954/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 23 Apr 2009 17:23:11 +0200<br>
From: Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;<br>
Subject: Re: [Insight-users] Problem building ITK 3.12 with GDCM 2.x<br>
To: Johan MOREAU &lt;<a href="mailto:johan.moreau@ircad.fr">johan.moreau@ircad.fr</a>&gt;<br>
Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:bf0c3b3f0904230823y154cc60ag7c5036ad32052736@mail.gmail.com">bf0c3b3f0904230823y154cc60ag7c5036ad32052736@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Mon, Apr 20, 2009 at 9:41 AM, Johan MOREAU &lt;<a href="mailto:johan.moreau@ircad.fr">johan.moreau@ircad.fr</a>&gt; wrote:<br>
&gt; Hello Mathieu,<br>
&gt;<br>
&gt; sorry but with the trunk (1.330 +), the same problem appears.<br>
&gt;<br>
&gt; My CMake opt :<br>
&gt; -DBUILD_EXAMPLES:BOOL=OFF<br>
&gt; -DBUILD_SHARED_LIBS:BOOL=ON<br>
&gt; -DBUILD_TESTING:BOOL=OFF<br>
&gt; -DBUILD_DOXYGEN:BOOL=OFF<br>
&gt; -DITK_USE_SYSTEM_JPEG:BOOL=ON<br>
&gt; -DITK_USE_SYSTEM_PNG:BOOL=ON<br>
&gt; -DITK_USE_SYSTEM_TIFF:BOOL=ON<br>
&gt; -DITK_USE_SYSTEM_VXL:BOOL=ON<br>
&gt; -DITK_USE_SYSTEM_ZLIB:BOOL=ON<br>
&gt; --with-insight=$COMEXT/lib/<br>
&gt; -DITK_USE_SYSTEM_GDCM:BOOL=ON<br>
&gt; -DITK_USE_REVIEW:BOOL=$IS_ITK_REVIEW<br>
&gt; -DITK_USE_SYSTEM_LIBXML2:BOOL=ON<br>
&gt; -DGDCM_DIR:PATH=$COMEXT_BUILD/gdcm/&quot;$os&quot;_$BUILD_MODE<br>
&gt; -DLIBXML2_INCLUDE_DIR:PATH=$COMEXT_INC/libxml2<br>
&gt; -DLIBXML2_LIBRARIES:PATH=$COMEXT_LIB/libxml2$SO<br>
&gt; -DLIBXML2_XMLLINT_EXECUTABLE:PATH=$COMEXT_BIN/xmllint<br>
&gt; -DPNG_LIBRARY:PATH=$COMEXT_LIB/libpng$SO -DPNG_INCLUDE_DIR:PATH=$COMEXT_INC<br>
&gt; -DTIFF_INCLUDE_DIR=$COMEXT_INC<br>
&gt; -DTIFF_LIBRARY:PATH=$COMEXT_LIB/libtiff$SO<br>
&gt; -DVXL_DIR:PATH=$COMEXT/share/vxl/cmake<br>
&gt; -DZLIB_INCLUDE_DIR:PATH=$COMEXT_INC -DZLIB_LIBRARY:PATH=$COMEXT_LIB/libz$SO<br>
&gt;<br>
&gt; ($os, $SO, $COMEXT_LIB, $COMEXT_INC, $COMEXT_BUILD, $COMEXT_BIN,<br>
&gt; $BUILD_MODE are defined)<br>
&gt;<br>
&gt; If ITK_USE_SYSTEM_TIFF is setting to OFF, no change...<br>
&gt;<br>
&gt; These options work without trouble on win32, darwin, linux32, but crash<br>
&gt; on linux64 (x86_64)<br>
&gt;<br>
&gt; And just to see, I disable ITK_USE_SYSTEM_GDCM. Same problem occurs :<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg16_jpeg_read_header&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg16_jpeg_CreateCompress&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg12_jpeg_start_decompress&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg12_jpeg_simple_lossless&#39;<br>
&gt; ../../bin/libITKIO.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg8_jpeg_finish_compress&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg16_jpeg_read_scanlines&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg12_jpeg_read_header&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg16_jpeg_finish_compress&#39;<br>
&gt; ../../bin/libitkgdcm.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg12_jpeg_write_scanlines&#39;<br>
&gt; ../../bin/libITKIO.so.3.13.0: undefined reference to<br>
&gt; `itk_jpeg8_jpeg_set_quality&#39;<br>
<br>
Add a safety check.<br>
<br>
$ cvs di Code/IO/itkJPEGImageIO* Utilities/itkjpeg<br>
Index: Code/IO/itkJPEGImageIO.cxx<br>
===================================================================<br>
RCS file: /cvsroot/Insight/Insight/Code/IO/itkJPEGImageIO.cxx,v<br>
retrieving revision 1.26<br>
diff -u -r1.26 itkJPEGImageIO.cxx<br>
--- Code/IO/itkJPEGImageIO.cxx  24 Oct 2008 16:21:55 -0000      1.26<br>
+++ Code/IO/itkJPEGImageIO.cxx  23 Apr 2009 15:20:44 -0000<br>
@@ -33,6 +33,10 @@<br>
   #include &lt;setjmp.h&gt;<br>
 }<br>
<br>
+#ifndef itk_secret_symbol_mangled_jpeg8<br>
+#error Sorry something went wrong with your configuration, you are<br>
using a system jpeglib.h instead of the special mangled one<br>
+#endif<br>
+<br>
<br>
 // create an error handler for jpeg that<br>
 // can longjmp out of the jpeg library<br>
Index: Utilities/itkjpeg/mangle_jpeg8bits.h<br>
===================================================================<br>
RCS file: /cvsroot/Insight/Insight/Utilities/itkjpeg/mangle_jpeg8bits.h,v<br>
retrieving revision 1.1<br>
diff -u -r1.1 mangle_jpeg8bits.h<br>
--- Utilities/itkjpeg/mangle_jpeg8bits.h        29 Oct 2004 14:36:45<br>
-0000      1.1<br>
+++ Utilities/itkjpeg/mangle_jpeg8bits.h        23 Apr 2009 15:20:44 -0000<br>
@@ -12,6 +12,7 @@<br>
<br>
 nm libitkitk_jpeg8.a | grep &quot; [R|T] &quot; | colrm 1 11 | sort<br>
 */<br>
+#define itk_secret_symbol_mangled_jpeg8<br>
<br>
<br>
 #define jcopy_block_row itk_jpeg8_jcopy_block_row<br>
<br>
<br>
$ cvs ci -m&quot;BUG: Some user were passing include flag using the<br>
CMAKE_CXX_FLAGS, which would conflict with the behavior of<br>
include_directories(before bla)&quot; Code/IO/itkJPEGImageIO*<br>
Utilities/itkjpeg<br>
Running style check<br>
Running style check<br>
Processing itkJPEGImageIO.cxx<br>
<br>
<br>
<br>
/cvsroot/Insight/Insight/Code/IO/itkJPEGImageIO.cxx,v  &lt;--<br>
Code/IO/itkJPEGImageIO.cxx<br>
new revision: 1.27; previous revision: 1.26<br>
/cvsroot/Insight/Insight/Utilities/itkjpeg/mangle_jpeg8bits.h,v  &lt;--<br>
Utilities/itkjpeg/mangle_jpeg8bits.h<br>
new revision: 1.2; previous revision: 1.1<br>
<br>
<br>
<br>
--<br>
Mathieu<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 23 Apr 2009 17:37:05 +0200<br>
From: Carlos S?nchez Mendoza    &lt;<a href="mailto:carlos.sanchez.mendoza@gmail.com">carlos.sanchez.mendoza@gmail.com</a>&gt;<br>
Subject: Re: [Insight-users] Incremental Region Growing<br>
To: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:d367da130904230837r5ba3944cp6cb9e139e56925e2@mail.gmail.com">d367da130904230837r5ba3944cp6cb9e139e56925e2@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
That worked perfect. Thank you so much!!!<br>
<br>
El 22 de abril de 2009 16:07, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;escribi?:<br>
<br>
&gt; When you say that it didn&#39;t work, what do you mean?<br>
&gt;<br>
&gt; If it failed to change the output, try applying a Modified() to the<br>
&gt; filter before each Update(). A recent bug was reported that the filter<br>
&gt; was not behaving properly when the seeds were cleared:<br>
&gt; BUG: 7480: ClearSeeds() was not calling Modified() in region growing<br>
&gt; filters.<br>
&gt;<br>
&gt; Bill<br>
&gt;<br>
&gt;<br>
&gt; 2009/4/22 Carlos S?nchez Mendoza &lt;<a href="mailto:carlos.sanchez.mendoza@gmail.com">carlos.sanchez.mendoza@gmail.com</a>&gt;:<br>
&gt;  &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I would like to perform several confidence connected region growing<br>
&gt; stages<br>
&gt; &gt; for increasing multiplier. For the sake of efficiency I would like to be<br>
&gt; &gt; able to provide previous growth output as input for current growth. I<br>
&gt; tried<br>
&gt; &gt; providing the whole region pixel per pixel as individual seeds but it<br>
&gt; didn&#39;t<br>
&gt; &gt; work.<br>
&gt; &gt;<br>
&gt; &gt; Any ideas?<br>
&gt; &gt;<br>
&gt; &gt; Thanks in advance.<br>
&gt; &gt; Carlos S. Mendoza.<br>
&gt; &gt; _____________________________________<br>
&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at<br>
&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; &gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20090423/683d959c/attachment-0001.htm" target="_blank">http://www.itk.org/pipermail/insight-users/attachments/20090423/683d959c/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 23 Apr 2009 11:47:44 -0400<br>
From: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
Subject: Re: [Insight-users] Incremental Region Growing<br>
To: Carlos S?nchez Mendoza      &lt;<a href="mailto:carlos.sanchez.mendoza@gmail.com">carlos.sanchez.mendoza@gmail.com</a>&gt;<br>
Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:4db4735c0904230847y4992e8ban1dd53b282116ffd4@mail.gmail.com">4db4735c0904230847y4992e8ban1dd53b282116ffd4@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
This is repaired and the fix will be in the next release. But, for<br>
now, we are happy to hear that the Modified() calls fixed your<br>
problem.<br>
<br>
<br>
2009/4/23 Carlos S?nchez Mendoza &lt;<a href="mailto:carlos.sanchez.mendoza@gmail.com">carlos.sanchez.mendoza@gmail.com</a>&gt;:<br>
&gt; That worked perfect. Thank you so much!!!<br>
&gt;<br>
&gt; El 22 de abril de 2009 16:07, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
&gt; escribi?:<br>
&gt;&gt;<br>
&gt;&gt; When you say that it didn&#39;t work, what do you mean?<br>
&gt;&gt;<br>
&gt;&gt; If it failed to change the output, try applying a Modified() to the<br>
&gt;&gt; filter before each Update(). A recent bug was reported that the filter<br>
&gt;&gt; was not behaving properly when the seeds were cleared:<br>
&gt;&gt; BUG: 7480: ClearSeeds() was not calling Modified() in region growing<br>
&gt;&gt; filters.<br>
&gt;&gt;<br>
&gt;&gt; Bill<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2009/4/22 Carlos S?nchez Mendoza &lt;<a href="mailto:carlos.sanchez.mendoza@gmail.com">carlos.sanchez.mendoza@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Hi all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I would like to perform several confidence connected region growing<br>
&gt;&gt; &gt; stages<br>
&gt;&gt; &gt; for increasing multiplier. For the sake of efficiency I would like to be<br>
&gt;&gt; &gt; able to provide previous growth output as input for current growth. I<br>
&gt;&gt; &gt; tried<br>
&gt;&gt; &gt; providing the whole region pixel per pixel as individual seeds but it<br>
&gt;&gt; &gt; didn&#39;t<br>
&gt;&gt; &gt; work.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any ideas?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks in advance.<br>
&gt;&gt; &gt; Carlos S. Mendoza.<br>
&gt;&gt; &gt; _____________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Insight-users mailing list<br>
<a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
End of Insight-users Digest, Vol 60, Issue 80<br>
*********************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Srinivasan<br>