You may get some insight from here and here. You may adapt your code accordingly, or simply install the reslice functions of the project.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to do cross section with free angle? | 18 | 2684 | February 27, 2024 | |
Re-defining the axial, sagittal or coronal slice orientation using a markup-plane | 2 | 1445 | February 17, 2022 | |
Aligning a markup plane to world coordinate system, with orthogonal planes | 1 | 34 | March 8, 2025 | |
Calculation of Multi-Planar Reconstruction axis | 10 | 349 | October 24, 2023 | |
How rotate the axial slice in script to make it parallel with the plane across 3 specified points? | 1 | 28 | January 21, 2025 |