<HTML><BODY><p dir=ltr>Can somebody tell me how i can insert the .mhd File into the table? </p>
<p dir=ltr>Thank you</p>
<p dir=ltr>--<br>
Отправлено из мобильной Почты <a href="http://r.mail.ru/n121628926">Mail.Ru</a><br></p>
<p dir=ltr>Dienstag, 13 Mai 2014, 03:30PM +0200 от Dženan Zukić <dzenanz@gmail.com>:</p>
<p dir=ltr>In addition to creating database, you also need to create a table before you can fill that table.</p>
<p dir=ltr>On Tue, May 13, 2014 at 1:34 PM, Роман Глуховский  < roman_glu@mail.ru > wrote:<br>
>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>
>http://www.vtk.org/Wiki/VTK/Examples/Cxx/Databases/SQL/MySQL/WriteToDatabase<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>
><br>
>>Hi  Роман ,<br>
>>since you  want to save the result of an image processing operation,  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>
>>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>
>>HTH,<br>
>>JON HAITZ<br>
>><br>
>>[1]  http://public.kitware.com/pipermail/community/2014-April/002149.html<br>
>><br>
>><br>
>><br>
>>On 8 May 2014 18:39, Dženan Zukić  < dzenanz@gmail.com > wrote:<br>
>>>He wants to save a processed (thresholded) image.<br>
>>><br>
>>><br>
>>>On Thu, May 8, 2014 at 6:20 PM, John Drescher  < drescherjm@gmail.com > wrote:<br>
>>>>>Of course, but the database must support large binary object type or something similar. Alternatively you could apply some  binary-to-text encoding .<br>
>>>><br>
>>>>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.<br>
>>>><br>
>>>>John<br>
>>><br>
>>><br>
>>>_____________________________________<br>
>>>Powered by  www.kitware.com<br>
>>><br>
>>>Visit other Kitware open-source projects at<br>
>>>http://www.kitware.com/opensource/opensource.html<br>
>>><br>
>>>Kitware offers ITK Training Courses, for more information visit:<br>
>>>http://www.kitware.com/products/protraining.php<br>
>>><br>
>>>Please keep messages on-topic and check the ITK FAQ at:<br>
>>>http://www.itk.org/Wiki/ITK_FAQ<br>
>>><br>
>>>Follow this link to subscribe/unsubscribe:<br>
>>>http://www.itk.org/mailman/listinfo/insight-users<br>
>>><br>
>><br>
>>_____________________________________<br>
>>Powered by  www.kitware.com<br>
>><br>
>>Visit other Kitware open-source projects at<br>
>>http://www.kitware.com/opensource/opensource.html<br>
>><br>
>>Kitware offers ITK Training Courses, for more information visit:<br>
>>http://www.kitware.com/products/protraining.php<br>
>><br>
>>Please keep messages on-topic and check the ITK FAQ at:<br>
>>http://www.itk.org/Wiki/ITK_FAQ<br>
>><br>
>>Follow this link to subscribe/unsubscribe:<br>
>>http://www.itk.org/mailman/listinfo/insight-users<br>
>><br>
></p>
</BODY></HTML>