<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>Hi,
All!!!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
A short time ago I made a console application for FastMarchingSegmentation
just like the one in ITK SoftwareGuide with 2 basic
differences</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
1. It works with 3D images</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
2. multi-seed</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>At that time the
results kept in Analyze (.hdr) format, It were able to seen the results with
Volview 2.0 Free patch 5.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>Nowadays I'm doing a
GUI application for visualization using VTK</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>ITK
writes vtk_structured_points (.vtk) format so I seemed normal to use it and
read those data with VTK_structured_point Reader, before I test this
in my GUI I tried to read those data with Volview but didn't
work. when volview tried to open the file appears vtkOutputWindow with 3
messages</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
1. Error in c:\... Error reading
spacing</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
2. & 3. Error in c:\... can't add
histograms from a NULL das...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
Is there some special configuration for itk::vtkImagewriter that I
missed??</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
or, vtkVolview can't read vtk structured point format?? or, there is a problem
with itk::vtkImageIO??</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007><SPAN
class=171523322-12102007>I'm using ITK 3.2.0</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>code for writer is
as follows:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=171523322-12102007> </DIV>
<DIV><FONT face=Arial color=#008000 size=4><SPAN
class=171523322-12102007>writerOutput gets type image<unsigned
char,3> and has just 0 and 355 values</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=4>writerOutput->SetInput(<SPAN
class=171523322-12102007>Thresholder->GetOutput()</SPAN>);</FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=4>writerOutput->SetFileName(<SPAN
class=171523322-12102007>"</SPAN>FinalSegmentation_3D.vtk");</FONT></DIV>
<DIV><FONT face=Arial><FONT size=4><FONT color=#008000>try</FONT><FONT
color=#008000>{</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#008000
size=4>writerOutput->Update();</FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=4>}<SPAN class=171523322-12102007>
</SPAN>catch (itk::ExceptionObject & exp)<SPAN class=171523322-12102007>
</SPAN>{std::cout << exp << std::endl;}</FONT></DIV>
<DIV></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>I'm using ITK
3.2.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>when the writer was
Analyze format there were no error<BR></DIV></SPAN></FONT>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007> </DIV></SPAN></FONT>
<DIV><FONT face=Arial size=4><SPAN
class=171523322-12102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=4><SPAN class=171523322-12102007>Thanks in
advance...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Oscar Gutiérrez Luna</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>CIMAT A. C.</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Cubiculo: J4</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><FONT size=2>Tel.: 73 271-55</FONT> ext.
49672</FONT></DIV>
<DIV> </DIV></BODY></HTML>