scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
67 stars 17 forks source link

Transfer function editors and histograms for volumes #185

Closed kephale closed 1 year ago

kephale commented 5 years ago

There has been discussion in the gitter about TF editors, but apparently we don't have an issue for it.

A quick way to generate a histogram display might be to use: https://github.com/imagej/imagej-ui-swing/blob/c717f1154ba8bd949e10e9cede93ea56913ce2bc/src/main/java/net/imagej/ui/swing/widget/SwingHistogramWidget.java.

@ctrueden posted https://github.com/visad/visad/blob/31d34a94748ab22bf3d19d9821bf643029900750/core/src/visad/util/ColorWidget.java @tpietzsch posted https://github.com/mheyde/bigdataviewer-core/tree/michael_heyde_masterarbeit

kephale commented 5 years ago

Maybe just be lazy to start and use an interactive command with 2 slides that looks like the low-high threshold interface

kephale commented 4 years ago

Current work is in https://github.com/scenerygraphics/sciview/tree/tf-editor

kephale commented 4 years ago

Pointing out that the TF editor from @tpietzsch and his student actually have a colormap representation that implicitly makes the LUT customizable:

Screenshot from 2019-10-15 12-22-28

This dialog can now be opened in https://github.com/scenerygraphics/sciview/commit/91695e17434e50683cd5f3a8d91f24bde6fbabd1

However, it is not clear that there is a natural way to adapt this code to use a static colormap (e.g., a LUT from ImageJ), which is currently how we handle colormaps+transfer functions in sciview

kephale commented 1 year ago

@skalarproduktraum tagging you in this. IIRC some folks have been poking at these UIs on the scenery side, is there a simple thing we can do to improve things for sciview 1.0.0 or should this stay in the enhancement category?

kephale commented 1 year ago

This has been implemented by @PowerOfNames. Thank you!