Comments (2)
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.
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)
- dicom.Parse should not require the byteToRead parameter HOT 1
- De-identify DICOM tags HOT 2
- Can not load dicom HOT 2
- Delete branch `master` HOT 1
- Investigate and triage Fuzz based issues.
- Add option to not hold entire dataset in memory at once HOT 2
- If the passed in Reader is _also_ an io.Seeker, consider trying to use Seek() on Skip
- Consider a Read - Modify some Elements - Write Pipeline API
- Consider updating type system to use Go generics HOT 1
- Value representation "Application Entity" is not correclly serialized
- fatal exit without defer HOT 2
- Explore Lint based or reflection based tests for struct equality changes
- Add additional struct `Equals` test cases
- What's the right import statement to use this? HOT 2
- Write() fails for encapsulated pixel data unless ValueLength explicitly set to tag.VLUndefinedLength HOT 1
- Question: Is it possible to get to individual Pixels in dicom image? HOT 3
- Use this project in C# HOT 1
- Memory usage (sometimes 15x from the size of dicom file) HOT 1
- Check for Signed Integers in Native Pixel Data HOT 1
- Support Negative Integers in Native Pixel Data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dicom.