Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

feat(GradientOpacitySlider): Adjust on a log scale #286

Closed thewtex closed 4 years ago

thewtex commented 4 years ago

Gradient magnitudes for natural images are likely to have a power-law distribution. To provide linear scale to the user adjusting gradient opacity with the slider, make gradient opacity maximum and minimum steps on a log scale.

thewtex commented 4 years ago

@martinken @jourdain would you like this pushed upstream into vtk.js?

jourdain commented 4 years ago

@martinken ?

martinken commented 4 years ago

Log works for me and makes sense. Didn't check the code too carefully but if it feels good on the GUI tests with a few datatsets then +1

thewtex commented 4 years ago

:tada: This PR is included in version 9.24.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: