Apply reformat reslicing

What is the easiest way to resample a volume after applying the desired slice angle using the reformat widget?

This page recommends using the python console - is this still the best way?

I’m afraid so. The slice node is a special node that does not have a parent transform as transformable nodes that you can use from the UI. It contains a matrix that you need to extract (inverted) into a transform node.

You can just copy-paste the code into the interactor, no changes required. Once you have the transform node you can set it as parent to your volume in the Transforms module or Data module.

1 Like