Git Product home page Git Product logo

Comments (2)

suyashkumar avatar suyashkumar commented on May 10, 2024

Awesome!

Yep, so in dicom there are two broad types of image data: Encapsulated images (compressed in some way) and Native images (which are usually stored in the dicom as 16 bit ints). You can see how native pixel data is turned into a jpg here (autoscaling will need to be implemented at some point) and you can see how it's parsed out of the dicom here.

Thing with encapsulated data is that it can be encoded using one of many formats (JPEG-2000, JPEG-LS, MPEG, etc), though usually it's some type of JPG. Check out more here: http://dicom.nema.org/dicom/2013/output/chtml/part05/sect_8.2.html

Right now the dicomutil assumes the data is some sort of jpeg and writes the binary image data out to disk with a .jpg file name as you see here: https://github.com/suyashkumar/dicom/blob/master/dicomutil/dicomutil.go#L132 .

from dicom.

 avatar commented on May 10, 2024

Thanks. I dont know much about DICOM. Too many things to keep track of with Medical Stards :)

I have a few usecases in mind:

Animated DICOM. So if i get a Dicom of from an Ultrasound machine then we are talking either a still or animated right ?
I want to be able to play it animated and so suck out the images and then transcode to the Viewers video format.

3D Printing. So if i am making a prosthetic and want a perfect fit then i want to get a DICOM CT scan, suck out the data and turn into a 3D point cloud and then 3d mesh and then put it into a 3D viewer.
But also from the point cloud i can convert it to a mesh and 3 print the implant.

I know these are broad examples. I just wanted to get your feedback on where we need to improve the code.

from dicom.

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.