Comments (4)
Actually, ideally, if the medical provider decides that the camera capturing resolution in lossy JPG is enough, that image should be taken as such, encapsulated in DICOM, tagged as lossy compression and archived that way. This means there are two use cases for this ticket:
Use Case 1: Ideal, Maximum Resolution, medium space
as mentioned in description
- capture image in RAW format
- pass it to dicom4ortho
- have dicom4ortho compress is using some lossless compression algorithm like JPEG2000
- save image in DICOM (as encapsulated)
Use Case 2: Compressed image, lower resolution, lowest space consumption
- Camera is set to save in JPG
- Images are converted to DICOM, untouched, as JPEG
- Encapsulation
- Proper Tagging as Lossy Compression
Use Case 3: RAW, uncompressed, max resolution, max space usage
- Camera is set to save as RAW
- RAW conversion to DICOM, no compression. Straight byte array storage
However, currently the software does none of these use cases. This documentation should probably go in ADA-1107
from dicom4ortho.
Created branch feature/9-jpg-encapsulation
from dicom4ortho.
Implemented and merged back into develop.
Not too happy with how i handle JPEG2000. But for the current usecase, which is to import JPEG2000 images from topsServer, it is fine, becuase these are already compressed. I'm pretty sure they are not JPEG2000 lossless, because they are too small for that. I mean, it's possible that the conversion from JPG to JPEG2000 was very clean and without information or space loss. But then i have to figure out how to keep that JPEG2000 the it is, without touching it. But encapsulation requires a byte array, so i'm not too sure how to handle this. For the moment, this works.
from dicom4ortho.
Fixed issue. Now i'm happy with it. Encapsulation is exactly what the word says (for once!!): takes the JPG or JPEG2000 the way it is, with header and all, and saves it in the DICOM PixelData. TransferSyntax needs to be set appropriately. Done that now, and all works as expected.
from dicom4ortho.
Related Issues (17)
- Complete implementation of empty methods HOT 1
- Fill out all tooth codes. HOT 1
- Add LICENSE file. HOT 1
- Incorrect Tooth codes. HOT 4
- All deciduous and permanent tooth codes have been corrected to the most granular codes.
- Incomplete allowed teeth per view.
- Improve how dicom3tools dependency is dealt with.
- Missing ability to set Series UID.
- Add ability to push image to DICOM PACS
- Add support for advanced person name attributes (suffix, middle, prefix)
- Add importing/mapping of EXIF data to DICOM tags
- Add ability to load DICOM tag mapping from ADA-1107 HOT 2
- Extract QualityControlImage to a higher level to give the user the ability to set it when needed.
- Extract BurnedInAnnotation to a higher level to give the user the ability to set it when needed.
- Missing views.csv and codes.csv from ADA-1107 in repository HOT 1
- UnboundLocalError Exception Value: cannot access local variable 'dtz' where it is not associated with a value 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 dicom4ortho.