Coder Social home page Coder Social logo

read DICOM series about simpleitk-notebooks HOT 3 CLOSED

Phoebegit avatar Phoebegit commented on September 13, 2024
read DICOM series

from simpleitk-notebooks.

Comments (3)

zivy avatar zivy commented on September 13, 2024

Hello @Phoebegit,

It could be that there was an issue with downloading the DICOM data. Were you online when you ran the notebook? We expect that you are, so that the call to fdata at the top of this cell downloads the images from an online resource.

Please check that there are DICOM files in the expected location:
".../SimpleITK-Notebooks/Data/CIRS057A_MR_CT_DICOM/"

If the directory ".../CIRS057A_MR_CT_DICOM/" doesn't exist, you can rerun the cell so that the download happens and creates the directory.

If this doesn't resolve the issue, please provide additional details.

from simpleitk-notebooks.

Phoebegit avatar Phoebegit commented on September 13, 2024

Hello @zivy

Thanks for your reply。
I am online when I ran the notebook and There are DICOM files in path"...\SimpleITK-Notebooks-master\Data\CIRS057A_MR_CT_DICOM", As shown below:
image

the next picture shows the error of code in details

image

Is this becasue the path name contains chinese?

By the way, when I ran the code img = sitk.ReadImage(fdata('training_001_mr_T1.mha')) , there was a error. when I modified the code as fdata('training_001_mr_T1.mha') img = sitk.ReadImage(('../Data/training_001_mr_T1.mha')),there was no problem.

image

Thanks very much!

from simpleitk-notebooks.

Phoebegit avatar Phoebegit commented on September 13, 2024

Ok! This is really because there is Chinese in the path. When I modifed the path name to all English, the code ran successfully.

The problem is solved!

Thanks again!

from simpleitk-notebooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.