I am wondering if a white space is allowed as part of the directory assignment .<br><br>
<div class="gmail_quote">On Wed, Jun 8, 2011 at 2:05 AM, Jyothilekshmi <span dir="ltr"><<a href="mailto:lekshmijyothi@cdactvm.in">lekshmijyothi@cdactvm.in</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal">Hai everyone,</p>
<p class="MsoNormal"> When I read jpeg image in vtk it gave this error “unable to open file”.please help me .I given the code </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">vtkJPEGReader *imagein=vtkJPEGReader::New();</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> imagein->SetFilePrefix (<span style="COLOR: #a31515">"D:/Sristi/SRISTI/Images/CER-CT/CTBRAINIMAGES/New folder"</span>); <span style="COLOR: green">// name of the files to read</span></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> imagein->SetDataExtent(0,511, 0,511,0,25);//size of file</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"> imagein->Update();</span></p></div><br><pre>______________________________________
Scanned and protected by Email scanner
</pre><br></div><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>