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.
Dipu Dipankar “Dipu” Ganguly dipu...@gmail.com Cell: 408-203-8814 > On Aug 9, 2016, at 11:40 AM, Stéfan van der Walt <stef...@berkeley.edu> wrote: > > Hi Dipu > > On 9 August 2016 at 08:35, Dipankar “Dipu” Ganguly <dipu...@gmail.com > <mailto:dipu...@gmail.com>> wrote: > 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)? > > You can use pydicom to load the DICOM images to numpy arrays: > > http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html > <http://pydicom.readthedocs.io/en/stable/working_with_pixel_data.html> > > Thereafter, scikit-image can process them: > > http://scikit-image.org/docs/stable/user_guide/numpy_images.html > <http://scikit-image.org/docs/stable/user_guide/numpy_images.html> > > 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. > > Best regards > Stéfan > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "scikit-image" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/scikit-image/7IskXgM-99E/unsubscribe > <https://groups.google.com/d/topic/scikit-image/7IskXgM-99E/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > scikit-image+unsubscr...@googlegroups.com > <mailto:scikit-image+unsubscr...@googlegroups.com>. > To post to this group, send email to scikit-image@googlegroups.com > <mailto:scikit-image@googlegroups.com>. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/scikit-image/CABDkGQm16z6YUJO77MXPeDTsQMR6%3DjktVdikMxCtm4YB7r2fmQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/scikit-image/CABDkGQm16z6YUJO77MXPeDTsQMR6%3DjktVdikMxCtm4YB7r2fmQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscr...@googlegroups.com. To post to this group, send an email to scikit-image@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/8FEA9192-98EE-4B8C-BC6E-7A1B6EFBFCE9%40gmail.com. For more options, visit https://groups.google.com/d/optout.