How can I save and restore the transfer function in ITKWidgets? After I’ve fiddled with the transfer function widgets, I’d like to be able to save the rendering state so that I can restore and share the visualization.
I had a similar question and raised this issue in itkwidgets. I haven’t used itkwidgets lately, so I didn’t check the workarounds from there.
There is work in progress to enable saving the entire viewer state as a JSON-serializable Python dictionary.
Sounds good. I look forward to that functionality being brought to ITKWidgets.