Yes I got'm like <div>Image1.jpg</div><div>Image2.jpg</div><div>etc</div><div><br></div><div>But i'm still getting the same error, solved the other one of unsigned char but can'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'm running a function to save a matlab volume data 3d matrix to save 'em as jpeg slices so I can read 'm with vtk in c++ environment but can'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->SetDataByteOrderToLittleEndian();</div><div>//<span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader->SetFilePattern("");</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader->SetFilePrefix("C:/VTK5.10/DATA/MatlabTest/JPG/Imagen");</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader->SetDataSpacing(3.2, 3.2, 20);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>jpegReader->SetDataOrigin(0, 0, 0);</div><div><br></div><div>I also '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'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"><<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Each slice is a single file, all of 'em in a sequence but got them like<br>
> image1, image2.... image79... so u mean I need to save 'm like image.1<br>
> image.2... and so??<br>
><br>
<br>
</div>Shouldn'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="'comic sans ms', sans-serif" color="#000066">Rodrigo aka WarHearT</font></b><br>
</div>