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

Brighten 2D slices and upgrade vtk.js from 23.x to 24.x #499

Closed PaulHax closed 2 years ago

PaulHax commented 2 years ago

To increase the brightness of 2D slices with multiple components, add component colors to final result without multiplying by a normalized weight.

Also sets a flat initial Gaussian for 2D, rather than inverted, to avoid blowing out non-independent style images.

Setting setUseLookupTableScalarRange(true) on slices for component specific window/level.

BREAKING CHANGE: 2D slice independent component mixing approach changed. Slice images will be brighter as components add to the final color without being normalized by component weight.

PaulHax commented 2 years ago

Can you please remove Node v14 from CI, which is causing failures?

I removed Node v14.

github-actions[bot] commented 2 years ago

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

The release is available on:

Your semantic-release bot :package::rocket: