<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><hr id="stopSpelling">From: marcospuenteblanco@hotmail.com<br>To: insight-users@itk.org<br>Subject: How can I read a dicom from database with SimpleITK<br>Date: Fri, 13 Nov 2015 19:35:58 +0100<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr"><span style="font-family:Calibri, Arial, Helvetica, sans-serif;background-color:rgb(255, 255, 255);">How can I do to read a dicom from database?</span><div style="font-family:Calibri, Arial, Helvetica, sans-serif;"><br></div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;">The methods I found only could read a file from a directory but how can I do to read from a MongoDB database for example.</div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;">I need to retrieve it from the database save it as a file and then read it ?</div>                                           </div></div>                                        </div></body>
</html>