Comments (4)
Thank you very much for reporting this bug, @MountainAndMorning! This was caused by the file's Pixel Data filling in the pixel data values beyond the bits effectively reserved for imaging data (bits stored is 12 in the example, but the 4 high bits would occasionally be set to 1). This is technically allowed, according to the standard, but was not always considered here. I have just patched this in #347.
from dicom-rs.
Thanks for your help. I have another stupid question. How can I update dicom-rs to this patched version.
from dicom-rs.
How can I update dicom-rs to this patched version.
You can temporarily specify the dependency as coming from the git branch containing the patch. I might work on publishing the patch later at some point.
[dependencies]
dicom_pixeldata = { git = "https://github.com/Enet4/dicom-rs.git", branch = "bug/346" }
A note of warning though, there are some breaking changes from past merged contributions.
from dicom-rs.
Great! Thank you very much.
from dicom-rs.
Related Issues (20)
- Adding private data elements (with creator) HOT 4
- dicom-transfer-syntax-registry does not build on Windows by default HOT 1
- Extended offset table support
- Support for multiple character repertoires (extended character sets) HOT 1
- Could not compile openjp2 HOT 10
- Issue when trying to open a DICOM file. HOT 2
- DICOM naive datetime retrieval HOT 6
- Latest version fails to build for android HOT 5
- Unusual Image Generation from RLE DICOM Files HOT 4
- Wrong VR assumed when reading pixel padding in Implicit VR dataset
- to_dynamic_image method not found in `DecodedPixelData<'_>` HOT 10
- Support resolving BulkDataURIs
- Non-deterministic behavior in dicom-storescu function check_presentation_contexts HOT 10
- Starting the discussion on async support HOT 3
- Storescp promiscuous mode HOT 1
- ERROR dicom_findscu: status code from response is missing HOT 3
- Very slow association with invalid adresses - Need to use custom timeout during connecting HOT 1
- Disable feature 'jpeg2k' in dicom-transfer-syntax-registry HOT 2
- DICOM Files with Large Number of Frames HOT 4
- Version of openjp2 causing issue in new projects HOT 2
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-rs.