Increment through slices in sliceviews programatically

Hello,

I am trying to display N consecutive slices of a volume in separate slice views, with each of them showing progressively increasing slices. Something like below, without the green and yellow slices.

Is there a way to do this with Python?

Thank you,
Sharada

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

This is precisely what I want! Thank you so much.

1 Like