<div dir="ltr"><div>Hi,</div><div>You can also use the ITK python package, see example <a href="https://itk.org/ITKExamples/src/Filtering/ImageGrid/Create3DVolume/Documentation.html">here.</a></div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 22, 2020 at 5:22 PM Ville-Veikko Wettenhovi <<a href="mailto:ville-veikko.wettenhovi@uef.fi">ville-veikko.wettenhovi@uef.fi</a>> wrote:<br></div><blockquote class="gmail_quote" 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:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
I would suggest using Matlab or GNU Octave to build a 3D matrix from the bmp photos and then converting it to MHD-format.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Alternatively, you can try the Matlab/Octave function I've written (has not been extensively tested yet though):</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<a href="https://github.com/villekf/OMEGA/blob/master/source/Voxelized_phantom_handle.m" id="gmail-m_-1791204312862672471LPNoLP511341" target="_blank">https://github.com/villekf/OMEGA/blob/master/source/Voxelized_phantom_handle.m</a></div>
<br>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Ville-Veikko Wettenhovi<br>
</div>
</div>
<div id="gmail-m_-1791204312862672471appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-1791204312862672471divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> on behalf of Natale Ronzo <<a href="mailto:nataleron1990@gmail.com" target="_blank">nataleron1990@gmail.com</a>><br>
<b>Sent:</b> Saturday, June 20, 2020 14:40<br>
<b>To:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> [Gate-users] MHD Photos</font>
<div> </div>
</div>
<div>
<div dir="rtl">
<pre style="direction:ltr;white-space:pre-wrap;color:rgb(0,0,0)">Dear Gate Users,</pre>
<pre dir="ltr" style="white-space:pre-wrap;color:rgb(0,0,0)">i asked this question before but i didn't get an answer hope someone answer me </pre>
<pre><div style="direction:ltr"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><font color="#000000"><div style="direction:ltr"><span style="white-space:pre-wrap;font-family:Arial,Helvetica,sans-serif">I would like to ask you what is the best way to build an mhd photo from bmp</span></div><span style="white-space:pre-wrap"><div style="direction:ltr"><span style="font-family:Arial,Helvetica,sans-serif">photos  to use them as voxel phantom/source</span></div><div style="direction:ltr"><span style="font-family:Arial,Helvetica,sans-serif">it correctly .</span></div><div style="direction:ltr"><span style="font-family:Arial,Helvetica,sans-serif">if  there is any recommendation that I have to take care of so Gate can use</span></div>
<div style="direction:ltr"><span style="font-family:Arial,Helvetica,sans-serif">Best  Regards</span></div><div style="direction:ltr"><span style="font-family:Arial,Helvetica,sans-serif">Natale</span></div></span></font></pre>
</div>
</div>
</div>

_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>