<div dir="ltr">hey, <div>I ve managed to build AIRS finally. if possible, do u have a code snippet or an example which could get me started on using its functionality with python binding. i fairly simple and direct example would be of great help.Thanks !</div>

<div><br></div><div>jatin </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 3:51 PM, Jatin Nath <span dir="ltr"><<a href="mailto:jatin.nath.bme09@iitbhu.ac.in" target="_blank">jatin.nath.bme09@iitbhu.ac.in</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hey david,<div><br></div><div>thanks for the mail. however I couldnt complete building which stops at around 28%. I get the following error </div>

<div><br></div><div>/usr/bin/ld: ../bin/libvtkImageSegmentationPythonD.a(vtkImageFloodFillPython.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC</div>

<div>../bin/libvtkImageSegmentationPythonD.a: could not read symbols: Bad value</div><div>collect2: error: ld returned 1 exit status</div><div>make[2]: *** [bin/vtkImageSegmentationPython.so] Error 1</div><div>make[1]: *** [ImageSegmentation/CMakeFiles/vtkImageSegmentationPython.dir/all] Error 2</div>



<div>make[1]: *** Waiting for unfinished jobs....</div><div>make[1]: *** [ImageRegistration/CMakeFiles/vtkImageRegistration.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div> </div><div>Any idea how to get around this ? I m using VTK 5.10.1 and CMake 2.8.9</div>


<div>thanks</div><div>Jatin </div>
</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 2:45 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Wed, Apr 16, 2014 at 3:54 AM, Jatin Nath<br>
<<a href="mailto:jatin.nath.bme09@iitbhu.ac.in" target="_blank">jatin.nath.bme09@iitbhu.ac.in</a>> wrote:<br>
> hey vtk users,<br>
><br>
> I have a problem that requires me to register two 3d vtk CT images and I was<br>
> hoping there would be a way to do this in VTK. I have been using vtk with<br>
> python binding and have been experiencing troubles with python wrapping for<br>
> ITK. hence was hoping there would be a way around this using VTK.. Can<br>
> anybody suggest a way ?<br>
<br>
</div></div>I have a set of image registration classes in my github repository, and they<br>
have all the necessary cmake machinery to make them build with python:<br>
<a href="https://github.com/dgobbi/AIRS" target="_blank">https://github.com/dgobbi/AIRS</a><br>
<br>
However:<br>
1) they are for VTK 5.10 only, for now at least<br>
2) I have no public documentation for them yet<br>
<br>
The code in "Programs" and "Examples" is the best place to start, if you are<br>
interested in taking a look.  If you do find them useful, please let me know.<br>
<span><font color="#888888"><br>
  David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Jatin Nath,<br>School of BioMedical Engineering,<br>Indian Institute of Technology (Banaras Hindu University), Varanasi<br>


</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jatin Nath,<br>School of BioMedical Engineering,<br>Indian Institute of Technology (Banaras Hindu University), Varanasi<br>
</div>