Hi,<br><br><br>I'm trying "ImageSlicing.cxx" to display an "coronal" slice from a volume (multiple axial slices).<br><br>It works well, but there is just a problem.<br><br><br>Information about my axial slices :<br>
<br>SIZE : 512 x 512<br>SPACING : (1,17188 ; 1,17188)<br><br>"REAL" SIZE = 60 cm x 60 cm<br><br><br>Information about the coronal slices that SHOULD be created<br><br>SIZE : 512 x 55<br>SPACING : (1,17188 ; 5)<br>
<br>"REAL" SIZE = 60 cm x 27.5 cm<br><br><br>But the problem is that the image <span class="__mozilla-findbar-search" style="padding: 0pt; background-color: yellow; color: black; display: inline; font-size: inherit;">created</span> by "ImageSlicing" has the shape of a square.<br>
I mean it has the same shape than the axial images.<br><br>The representation of the coronal object is correct (good proportions) but there are 2 black borders (top and down) <br><br>Something like that :<br><span style="font-family: courier new,monospace;"><br>
+++++++++++++++++++</span><br><span style="font-family: courier new,monospace;">+++++++++++++++++++</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+++++++++++++++++++</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">---CORONAL IMAGE---</span><br><span style="font-family: courier new,monospace;">---CORONAL IMAGE---<br></span><span style="font-family: courier new,monospace;">---CORONAL IMAGE---<br>
</span><span style="font-family: courier new,monospace;">+++++++++++++++++++<br></span><span style="font-family: courier new,monospace;">+++++++++++++++++++</span><span style="font-family: courier new,monospace;"><br></span><span style="font-family: courier new,monospace;">+++++++++++++++++++</span><span style="font-family: courier new,monospace;"><br>
</span><br>('+' = black)<br><br>In fact, I'd like the image to have the <u>proportion</u> "60 x 27.5 " (without any black borders...)<br><br><span style="font-family: courier new,monospace;">---CORONAL IMAGE---</span><br>
<span style="font-family: courier new,monospace;">---CORONAL IMAGE---<br>
</span><span style="font-family: courier new,monospace;">---CORONAL IMAGE---</span><br><br><br>Do you see what I mean ?<br><br>I've searched in the methods of vtkImageReslice but I didn't find what I'm looking for...<br>
<br><br><br>Do you have any idea to help me ?<br><br>Any help would be appreciated ;-)<br><br>Thank you in advance !<br><br><br><br>Stéphane<br>