Evgenii
Evgenii
For now you should do it by yourself. When any control is triggered -> apply it to all viewers. I implemented it in my project for 3 viewers, everything works...
Of course I have function similar to windowResize2D with those lines. On window resize the behavior stay the same (proper on 100% browser zoom and broken on other zoom levels)...
No, behavior don't changes. Zooming and resizing after initial load changes only size and proportions, but Helpers lines works normal only if initial zoom was 100%.
This is the root of all evil: // Sets device pixel ratio. This is usually used for HiDPI device to prevent bluring output canvas. **renderer.setPixelRatio(window.devicePixelRatio);** Because we get something like...
For now `setPixelRatio` break `stackHelper` borders and `localizerHelper` lines, so I don't use `setPixelRatio` and everything work fine.
OpenJPEG can be excluded from package. If users want to work with J2K, AMI documentation will force them to load OpenJPEG script before AMI, like it done in Cornerstone.
https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/docs/Codecs.md https://rawgit.com/cornerstonejs/cornerstoneWADOImageLoader/master/examples/dicomfile/index.html L112-L133
For now I just inform the doctor if series is incomplete before opening it in AMI
numberOfFiles
Moreover, I think multi frame DICOM files shouldn't be merged into one stack. series.stack[0] - first file, series.stack[1] - second file