Coder Social home page Coder Social logo

Can't read unknown Tag about dicom-rs HOT 3 CLOSED

enet4 avatar enet4 commented on June 1, 2024
Can't read unknown Tag

from dicom-rs.

Comments (3)

mightymouse2045 avatar mightymouse2045 commented on June 1, 2024

Update - sorry this is actually related to the DICOM files being used. Depending on the file I get the above error unrelated to the tag I specified in the above comment.

Also I get a failed to fill whole buffer error on others, but have no problem reading the same files with dcmtk dcmdump

from dicom-rs.

Enet4 avatar Enet4 commented on June 1, 2024

Thank you for reporting. Could you provide a minimal example of the code which you were trying?

Still, I suspect that the problem is equivalent to #83. open_file can only open complete DICOM files with preamble and file meta group. In order to read a simple DICOM data set, you would need to use one of the InMemDicomObject::read_dataset functions, which are available upstream (#84), but not released yet released in 0.4.0.

from dicom-rs.

Enet4 avatar Enet4 commented on June 1, 2024

Closing as a duplicate of #83, as it is very likely that caused by an attempt to read a file without a preamble, which in this case needs to be done with separate methods. Please file a new issue with a concrete example if the problem persists. See also #50.

from dicom-rs.

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.