<br>Hi Daniel,<br><br>The probable source of the problem is that <br>the information about the image does not <br>match the actual content of the raw file.<br><br>Please post the list the following information:<br><br>1) Size in bytes of the raw file<br>
2) Pixel type of the image in the raw file<br>3) Dimension of the raw image<br>4) Size of the image (in pixels) along<br> every dimension<br> <br>With this information we can verify if you are<br>loading the image correctly.<br>
<br>(Just for the record: ITK works find in 64 bits).<br><br><br> Thanks<br><br><br> Luis<br><br><br><br>---------------------------------------------------------------------------<br><div class="gmail_quote">
On Tue, Apr 13, 2010 at 4:48 PM, Daniel Markel <span dir="ltr"><<a href="mailto:tibor47@hotmail.com">tibor47@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi,<br>
<br>
I'm having an error using ITK's vnl library in 64-bit. It's being called from within itkImageFileReader to read a raw data image, when I run my code it breaks in vnl_matrix.txx at line 368 with the error mesage <br>
<br>
Unhandled exception at 0x000000014038f51d in Texture.exe: 0xC0000005: Access violation reading location 0xffffffffffffffff.<br>
<br>
the portion of code looks like this<br>
<br><font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#008000" size="2"><font color="#008000" size="2">
//: Frees up the dynamic storage used by matrix.<br>
// O(m*n).<br></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
template</font></font><font color="#000000" size="2"><</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">class</font></font><font size="2"><font color="#000000"> T></font><br></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
void</font></font><font size="2"><font color="#000000"> vnl_matrix<T>::destroy()</font><br>
{<br>
vnl_matrix_free_blah;<br>
}<br></font></font></font><font size="2">
<br>
it stops on the second last line. I'm running the program on debug mode too if that helps. Has anyone experienced this before?<br>
<br>
-Dan<br></font>                                            </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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>