<div dir="ltr">Hi Dipu<br><div class="gmail_extra"><br><div class="gmail_quote">On 9 August 2016 at 08:35, Dipankar “Dipu” Ganguly <span dir="ltr"><<a href="mailto:dipugee@gmail.com" target="_blank">dipugee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">I now need to convert “.jpg" and DICOM images into arrays that I can operate on using numpy and other Scikit-image algorithms/tools. What tools/packages could I use for the conversions (Images —> numpy arrays)?</div></blockquote><div><br></div></div>You can use pydicom to load the DICOM images to numpy arrays:<br><br><a href="http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html">http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html</a><br><br></div><div class="gmail_extra">Thereafter, scikit-image can process them:<br><br><a href="http://scikit-image.org/docs/stable/user_guide/numpy_images.html">http://scikit-image.org/docs/stable/user_guide/numpy_images.html</a><br><br></div><div class="gmail_extra">If you have more advanced DICOM needs, such as working with multiple slices, or reading meta-data, you may want to look at dcmstack and nibabel as well.<br><br></div><div class="gmail_extra">Best regards<br></div><div class="gmail_extra">Stéfan<br><br></div></div>