<HTML><BODY>Thank you for your response.<br>Now i can write my loaded Dicom-Series on my harddisc as .raw and .mhd.<br><br>It works to create a database, but when i try to write something, like in the example<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Databases/SQL/MySQL/WriteToDatabase">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Databases/SQL/MySQL/WriteToDatabase</a><br>I get this error:<br><br>ERROR: In /home/joe/Programme/VTK-6.1.0/IO/MySQL/vtkMySQLQuery.cxx, line 588<br>vtkMySQLQuery (0xb116f0): Query returned an error: Table 'TestDatabase.TestTable' doesn't exist.<br><br>Roman<br><br><br><br>Sun, 11 May 2014 12:44:59 +0200 от Jon Haitz Legarreta <jhlegarreta@vicomtech.org>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        <div id="">
        



    









        
        


        
        
        
        
        

        
        

        
        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
                        <div id="style_13998051140000001001_BODY"><div dir="ltr"><div><div><div>Hi <span><span name="Роман Глуховский">Роман</span></span>,<br></div>since you <span><span name="Роман Глуховский">want to save the result of an image processing operation, </span></span>another alternative is to save it to a .mhd/.raw metaimage, and save just the .mhd to your database. If you locate all your *.raw file in a given location, you could retrieve them reading the filename stored in the .mhd file.<br>
<br></div>As Matt said in a reply to another post [1], saving to metaimage format after having applied some image processing may be better.<br><br></div>HTH,<br>JON HAITZ<br><div><br>[1] <a href="http://public.kitware.com/pipermail/community/2014-April/002149.html" target="_blank">http://public.kitware.com/pipermail/community/2014-April/002149.html</a><br>
<div><br><br><div><div><div><br><div>On 8 May 2014 18:39, Dženan Zukić <span dir="ltr"><<a href="/compose/?mailto=mailto%3adzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small">He wants to save a processed (thresholded) image.</div>
</div><div><div><div><br><br><div>On Thu, May 8, 2014 at 6:20 PM, John Drescher <span dir="ltr"><<a href="/compose/?mailto=mailto%3adrescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span> wrote:<br>


<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small">
Of course, but the database must support large binary object type or something similar. Alternatively you could apply some <a href="https://en.wikipedia.org/wiki/Binary-to-text_encoding" target="_blank">binary-to-text encoding</a>.</div>





</div><div><div><div></div></div></div></blockquote><div></div><br></div></div><div>When I use a database for this I just put the filename of the DICOM file(s) in the database not the actual binary blob.<span><font color="#888888"><br>



<br></font></span></div><span><font color="#888888"><div>John<br></div></font></span></div></div>
</blockquote></div><br></div>
</div></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.php" target="_blank">http://www.kitware.com/products/protraining.php</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></div></div></div></div></div></div>

</div>
                        <div>_____________________________________<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
</div>
                
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br></BODY></HTML>