react-vtkjs-viewport icon indicating copy to clipboard operation
react-vtkjs-viewport copied to clipboard

Updates in Windowing interactor to avoid rounding in mouse delta calculation

Open Trenser-SandeepNayathil opened this issue 3 years ago • 1 comments

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

Trenser-SandeepNayathil avatar May 06 '21 15:05 Trenser-SandeepNayathil

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..

Trenser-SandeepNayathil avatar Nov 29 '21 16:11 Trenser-SandeepNayathil