Plot images from PNG files in slicer jupyter kernel

This is already implemented with a one-liner for slice views:

By changing a few lines in ViewLightboxDisplay script (essentially, replace screenCaptureLogic.captureSliceSweep by screenCaptureLogic.capture3dViewRotation, you can create a table showing 3D view in different orientations. I’ve created this using Screen Capture module GUI, you can play a bit with the GUI, too to get to know a bit better what the module can do:

Finally, here is an example of a script creating some data augmentation for training data and generation of an overview image of all data sets:

1 Like