I am live streaming a volume over OpenIGTLink into Slicer (latest preview) using the SlicerOpenIGTLink (latest) extension. I’m noticing that the scalar range for the volume node is not updating for new image data. The below image is what the volumes module displays after the first frame is received. Then when the second frame is received it does not update. Maybe this is an issue with code in the SlicerOpenIGTLink extension? This is a very very low frame rate live stream from a camera device. For example it would be a 5 second exposure and then a 10 second exposure capture where the scalar max for the second would be approximately double the first.
My Current Workaround:
I can force update it with a hacky workaround by doing:
volume_array = slicer.util.arrayFromVolume(live_stream_node) slicer.util.updateVolumeFromArray(live_stream_node, volume_array)