<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 18, 2014 at 4:09 PM, zarko.milosevic <span dir="ltr"><<a href="mailto:zarko@kg.ac.rs" target="_blank">zarko@kg.ac.rs</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">When 3d image is sliced with arbitrary, oblique slice than all sliced voxels would not have same spacing. Right ? But if I assume some output spacing then I will get inaccurate dimensions.</span></p></div></blockquote><div><br></div><div>Whatever output spacing you set, vtkImageReslice will take it into account when it does the reslicing.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> David Gobbi [via VTK] [mailto:<a href="http://user/SendEmail.jtp?type=node&node=5729501&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>] <br><b>Sent:</b> Tuesday, November 18, 2014 11:56 PM<br><b>To:</b> zarko.milosevic<br><b>Subject:</b> Re: vtkResliceImage and appending slices<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><div><span class=""><p class="MsoNormal">On Tue, Nov 18, 2014 at 3:40 PM, zarko.milosevic <<a href="http://user/SendEmail.jtp?type=node&node=5729500&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:<u></u><u></u></p><blockquote style="border-left:2px solid #cccccc;padding:0 1em"><p class="MsoNormal">Hi David again,<br><br>It`s been a while. I`m getting back to the same problem. If I put my own<br>spacing for the output image then the resulted image will have wrong<br>dimensions. If i try to measure something on the resulted oblique sectioned<br>image those measures will not be realistic. Am I right ?<u></u><u></u></p></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If you set the output voxel spacing, then you _know_ the output voxel spacing.<u></u><u></u></p></div><div><p class="MsoNormal">And in fact VTK knows the output voxel spacing too, because it is stored with<u></u><u></u></p></div><div><p class="MsoNormal">the vtkImageData.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You are always taking the voxel spacing into account when you are making<u></u><u></u></p></div></span><div><p class="MsoNormal">your measurements, aren't you? If you do so, then all the measurements<u></u><u></u></p></div><div><p class="MsoNormal">should be accurate.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"> - David <u></u><u></u></p></div></div></div></div><span class=""><p class="MsoNormal" style="margin-bottom:12.0pt"><br></p></span></div></blockquote></div></div></div>