InsightSoftwareConsortium / itkwidgets

An elegant Python interface for visualization on the web platform to interactively generate insights into multidimensional images, point sets, and geometry.
https://itkwidgets.readthedocs.io/
Apache License 2.0
585 stars 83 forks source link

Window/Level auto selection based on ROI #626

Open aylward opened 1 year ago

aylward commented 1 year ago

Should be able to select an ROI and have the histogram and color/opacity functions updated to match the distribution of data within that ROI.

Thanks to Steve Pieper for the suggestion.

thewtex commented 1 year ago

This is a great idea. Since we already have the ability to select an ROI, we could have a button that adjusts the color range min/max based on the current ROI.