<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks again Stefa. Very helpful. I will try using these. I am assuming, I will also find tools to read .jpg images as numpy arrays, my immediate need.<div class=""><br class=""></div><div class="">Dipu</div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Dipankar “Dipu” Ganguly</div><div class=""><a href="mailto:dipugee@gmail.com" class="">dipugee@gmail.com</a></div><div class="">Cell: 408-203-8814</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 9, 2016, at 11:40 AM, Stéfan van der Walt <<a href="mailto:stefanv@berkeley.edu" class="">stefanv@berkeley.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Dipu<br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On 9 August 2016 at 08:35, Dipankar “Dipu” Ganguly <span dir="ltr" class=""><<a href="mailto:dipugee@gmail.com" target="_blank" class="">dipugee@gmail.com</a>></span> wrote:<br class=""><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" class="">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 class=""><br class=""></div></div>You can use pydicom to load the DICOM images to numpy arrays:<br class=""><br class=""><a href="http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html" class="">http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html</a><br class=""><br class=""></div><div class="gmail_extra">Thereafter, scikit-image can process them:<br class=""><br class=""><a href="http://scikit-image.org/docs/stable/user_guide/numpy_images.html" class="">http://scikit-image.org/docs/stable/user_guide/numpy_images.html</a><br class=""><br class=""></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 class=""><br class=""></div><div class="gmail_extra">Best regards<br class=""></div><div class="gmail_extra">Stéfan<br class=""><br class=""></div></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.<br class="">
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/scikit-image/7IskXgM-99E/unsubscribe" class="">https://groups.google.com/d/topic/scikit-image/7IskXgM-99E/unsubscribe</a>.<br class="">
To unsubscribe from this group and all its topics, send an email to <a href="mailto:scikit-image+unsubscribe@googlegroups.com" class="">scikit-image+unsubscribe@googlegroups.com</a>.<br class="">
To post to this group, send email to <a href="mailto:scikit-image@googlegroups.com" class="">scikit-image@googlegroups.com</a>.<br class="">
To view this discussion on the web, visit <a href="https://groups.google.com/d/msgid/scikit-image/CABDkGQm16z6YUJO77MXPeDTsQMR6%3DjktVdikMxCtm4YB7r2fmQ%40mail.gmail.com?utm_medium=email&utm_source=footer" class="">https://groups.google.com/d/msgid/scikit-image/CABDkGQm16z6YUJO77MXPeDTsQMR6%3DjktVdikMxCtm4YB7r2fmQ%40mail.gmail.com</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" class="">https://groups.google.com/d/optout</a>.<br class="">
</div></blockquote></div><br class=""></div></body></html>