#179 DICOM image viewer #188
The ability to show DICOM images is one of the most important parts for this project. There are existing libraries that provide a way to show DICOM images that can help with this task. It were two main candidates with proper library to choose from: ivmartel and chafey. The decision was made to use the cornerstone library for the reason that it flexible and can provide the project with ability to show images in an interactive way. It is also was much easier to use with VueJS than its competitor.
Two main difficulties were met during the work on this issue. The first one was the problem with pixelData serialization. It took some time before a good solution was found.
The second problem was to make library work correctly with VueJS. Choosing the most appropriate llibrary also refers to this problem. A lot of time was spent on testing and studying different libraries and browsing repositories before the appropriate solution was found.
Reference to official issue
This address #179
Motivation and Context
There is a strong need in the way of showing DICOM imagery. It is impossible to make that project at least somehow usable by common people without DICOMs actually being shown. Furthermore, issues #148 and #150 depend on it.
antonow left a comment
Hey @vessemer, great work! I was working on this myself, so I know how hard it is to get figured out. I have one suggestion: I think the dicom viewer should be its own component instead of being inside the
Hey, @antonow, thanks, it looks much better now
"cornerstone-core": " 0.13.0", "cornerstone-tools": "0.9.1"
Relating events implementation: It seems that it's complicated to find an actual guide on how to use $on and $emit without using buses. (at least for versions described above) so that the decision was made to use the bus to handle events. Here is the current view of DICOM slice selection: