Dear folks,<div><br></div><div>Given the following:</div><div><div><br></div><div> reslice = vtk.vtkImageReslice()</div><div> reslice.SetInputConnection(self.image_reader.GetOutputPort())</div><div> reslice.SetOutputDimensionality(2)</div>
<div> reslice.SetInterpolationModeToCubic()</div></div><div> reslice.SetResliceAxes(axes_matrix_from_vtkMatrix4x4)<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><br></div><div>I am able to extract the 2D slice I want from my 3D volume, but it is shortened on the sides and cuts both the right and left side of the volume (cone). The height of the resulting slice is fine and includes the whole cone. Imagining the volume is a cube, the resulting slice is a rectangle (shortened on the sides).</div>
<div><br></div><div>How can I choose the dimension of the resulting slice to include the whole cone, i.e. basically how can I slice the whole volume?</div><div><br></div><div><br></div><div>Many thanks in advance!</div><div>
<br></div><div>Joao</div><div><br></div><div><br></div>