<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, you can always write a text file in vtk format(a legacy file). The
details of the file format are in the back of the vtk user guide and
also on line. here is an example of a matlab script that writes a vtk
legacy file.<br>
<br>
<a class="moz-txt-link-freetext" href="http://quaoar.sr.unh.edu/fft/phase_shift_surf.m">http://quaoar.sr.unh.edu/fft/phase_shift_surf.m</a><br>
<br>
and the images it produced are interspersed here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://quaoar.sr.unh.edu/fft/">http://quaoar.sr.unh.edu/fft/</a><br>
<br>
hth<br>
Burlen<br>
<br>
<br>
Matt McCormick wrote:
<blockquote cite="mid:loom.20080114T062054-946@post.gmane.org"
 type="cite">
  <pre wrap="">
&lt;polys_poly &lt;at&gt; hotmail.com&gt; writes:
  </pre>
  <blockquote type="cite">
    <pre wrap="">
Hello VTK,
 
I need to import some data from matlab to 
VTK. To be more specific i want to run an algorithm in matlab code and 
import the results (which will be some images) in VTK.
Is there any way to execute matlab code 
through C++ and then pass the output to VTK. Any help (an online tutorial 
    </pre>
  </blockquote>
  <pre wrap=""><!---->maybe) would be really 
  </pre>
  <blockquote type="cite">
    <pre wrap="">appreciated.
 
Thanks in advance,
Polys
 


_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/">http://www.vtk.org/Wiki/</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->VTK_FAQ
  </pre>
  <blockquote type="cite">
    <pre wrap="">Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->


check out this page on the wiki.  You can't call matlab from vtk, but you can 
call vtk from matlab.

<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK/VTKMatlab">http://www.vtk.org/Wiki/VTK/VTKMatlab</a>

If you just want to look at images, matlab has built in functions such as 
image(), imagesc(), mesh(), surf(), etc...

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
  </pre>
</blockquote>
<br>
</body>
</html>