Comments (2)
Put up a quick draft in #296 to return an error, but need to check a couple more things. It might not be too hard to just go ahead and parse the signed and unsigned ints outright.
from dicom.
Probably the right way to handle this is to support multiple data types for PixelData, including floats. This would also help with #291 and #161 as well if we allowed the parsed values to be differently sized ints.
from dicom.
Related Issues (20)
- Use this project in C# HOT 1
- Memory usage (sometimes 15x from the size of dicom file) HOT 1
- Support Negative Integers in Native Pixel Data
- dicom.Write: The Pixel data only supports OW type HOT 2
- File with dicom seg throws an error - writing dicom file: unsupported BitsPerSample value
- Converting DICOM to Image results into "blacked" image HOT 4
- using dicom.Parse function ,unexpected EOF HOT 1
- Write element with sequence item or nested sequence HOT 2
- The reason why the converted DICOM displays as blank after converting from RAW format might be attributed to the following factors:
- Rewrite & Update README
- Remove Mocks
- Refactor internal-only packages into internal/
- Refactor PixelDataInfo API
- Remove dicomio.Reader interface in favor of dicomio.Reader direct struct
- Consider deprecating top level bytesLimit in Parse() API in favor of always parsing until EOF.
- Write API: When using WriteElement API, ensure proper transfer syntax is used to encode the data (Write() works fine)
- Support deflate transfer syntax writes
- Add write benchmarks
- Consider Parse API refactor HOT 1
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.