Yes I got&#39;m like <div>Image1.jpg</div><div>Image2.jpg</div><div>etc</div><div><br></div><div>But i&#39;m still getting the same error, solved the other one of unsigned char but can&#39;t make the volume read :/</div><div>
<br></div><div><div>ERROR: In C:\Users\RODRIGO LOVERA\Documents\PUCP\Tesis\VTK 5.10\VTK\IO\vtkJPEGReader.cxx, line 93</div><div>vtkJPEGReader (010951B0): Unable to open file C:/VTK5.10/DATA/MatlabTest/JPG/Imagen.0</div></div>
<div><br></div><div>I&#39;m running a function to save a matlab volume data 3d matrix to save &#39;em as jpeg slices so I can read &#39;m with vtk in c++ environment but can&#39;t pass that error any other advice???</div>
<div><br></div><div><div>vtkJPEGReader *jpegReader = vtkJPEGReader::New();</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader-&gt;SetDataByteOrderToLittleEndian();</div><div>//<span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader-&gt;SetFilePattern(&quot;&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader-&gt;SetFilePrefix(&quot;C:/VTK5.10/DATA/MatlabTest/JPG/Imagen&quot;);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader-&gt;SetDataSpacing(3.2, 3.2, 20);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader-&gt;SetDataOrigin(0, 0, 0);</div><div><br></div><div>I also &#39;d like to know where to see which properties or class members aply to Jpeg Reader, already checked the jpegreader.h and .cpp but don&#39;t get it.</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span></div></div><div><br></div><div><br><br><div class="gmail_quote">2012/9/25 John Drescher <span dir="ltr">&lt;<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; Each slice is a single file, all of &#39;em in a sequence but got them like<br>
&gt; image1, image2.... image79... so u mean I need to save &#39;m like image.1<br>
&gt; image.2... and so??<br>
&gt;<br>
<br>
</div>Shouldn&#39;t they be<br>
<br>
image1.jpg<br>
image2.jpg<br>
image3.jpg<br>
...<br>
imageN.jpg<br>
<br>
If this is windows do you have hide extensions enabled for known types<br>
in your Folder Settings located in the Control Pannel.<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><b><font face="&#39;comic sans ms&#39;, sans-serif" color="#000066">Rodrigo aka WarHearT</font></b><br>
</div>