Comments (6)
Yeah I started this yesterday, there are some parts in wado that need to be changed too
from cornerstone3d.
from cornerstone3d.
Hey, it is not a priority but on the roadmap
from cornerstone3d.
Thanks for the above @swederik, just starting to revisit this issue now that Kitware/vtk-js#2058 is merged.
@sedghi, based on our conversation today... I was looking through where changes would need to have a cornerstone3D flag to use 16bit/half float. My understanding based on our conversation is that if the vtk mapper sets the preferSizeOverAccuracy
flag to true it will properly use norm 16 or half float depending on the extensions available.
For norm16 and half float to be used, it requires the data provided to VTK to either be UNSIGNED_SHORT
or SHORT
(uint16/int16), but we currently type cast to Float32 in cornerstonejs
For half float implementation, it seems like the dynamic range is scaled to better fall in between [-2048, 2048] for accuracy purposes. For dicom pixel data, the BitsStored is usually smaller than BitsAllocated. For CT machines it is usually 12 bit stored and 16 bit allocated. Uint16 values beyond the BitsStored is typically burned in data where the dynamic range is less important. When we transition to the UNSIGNED_SHORT
or SHORT
dtype, it might make sense to clamp the data to BitsStored so the important part of the pixelData can be better preserved.
Here are the immediate code lines which might need to be changed:
from cornerstone3d.
Hey @sedghi, what's the current status of this?
from cornerstone3d.
Done in main branch
from cornerstone3d.
Related Issues (20)
- [Bug] Video viewport spline interpolations
- [Bug] labelmap shadow in video viewport
- [Bug] Enhanced livewire
- [Bug] interpolate on contour holes as well
- [Bug] Should not add childrens to the annoationUIDMap and also remove the shift click to be explicit for holes in the api
- [Bug] Freehand tool moving back to the previous drawn pixel removes the whole thing
- [Bug] Images wrongly loaded when size in x and y are different HOT 2
- [Feature Request] How to obtain scalar data in the coronal or sagittal plane? HOT 1
- [Bug] Annotation Tools are always synchronised across viewports
- [Bug] can not render US file HOT 3
- How can I get updated frames/dicoms and POST them? HOT 1
- [Bug] Cannot access 'InterpolationManager' before initialization HOT 6
- [Bug] StackScrollMouseWheel has already been added globally HOT 3
- [Feature Request] Freehand Segmentation Tool with Scalar Data HOT 1
- Add new customised tools in @cornerstonejs/tools package
- [Bug] Segmentation Tools cannot be used on mobile devices due to compatibility issues HOT 1
- [Feature Request] mouse wheel in zoomtool
- [Bug] loadImageFromImageLoader: no image loader for imageId HOT 1
- [Bug] Render image on Iphone SE w IOS 17. HOT 8
- [Bug] Nifti not scrolling 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 cornerstone3d.