react-vtkjs-viewport
react-vtkjs-viewport copied to clipboard
Updates in Windowing interactor to avoid rounding in mouse delta calculation
Updates in Windowing interactor to avoid rounding in mouse delta calculation to properly update windowing values on mouse move in small pixel range images like PET. This is because, if the image pixel range is small, "imageDynamicRange / 1024" will be less than 0.5 and while rounding it becomes zero. This causes Windowing values never change for this image with mouse movement. This PR can resolve the issue https://github.com/OHIF/react-vtkjs-viewport/issues/136
Hi @igoroctaviano, Could you please review the changes? Also, I have merged the branch from master as it was shown as outdated, but now there are some checks found to be failed in it. Could you please suggest how to fix those deploy failed issues. Thanks In Advance..