In the Slicer main window, there are the red, green, and yellow slice views. I want to create an extension which can temporarily replace one of the slice views with a static image display, loaded from a regular image file (jpg png etc.). Preferably, I would like to have this image persist when changing the window layout (e.g. from Conventional to Red Slice Only), until closed through the extension.
If this is not possible, can I load an image into the slice view, then hide the Slice Selector slider to achieve the same visual effect?
My desired result looks something like this (the Red slice here is replaced with some arbitrary image file)