Increment through slices in sliceviews programatically

Not directly the answer to your question, but the “Screen Capture” module is capable of producing an output as “lightbox (contact image) mode” see Link . This works nicely in stable and preview versions, see LungCTAnalyzer (PDF report) for an implementation.

1 Like