<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi David,<div class=""> I’m currently using vtkImageReslice and it’s set to BorderOn by default, still it doesn’t seem to be resolving my case as half the voxel is still missing. What are the significant differences between vtkImageReslice and vtkImageResliceMapper? Is vktImageResliceMapper the better approach to rendering slices correctly?</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 7, 2017, at 2:34 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" class="">david.gobbi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Seun,</div><div class=""><br class=""></div><div class="">The vtkImageSliceMapper and vtkImageResliceMapper both have a method called BorderOn() that will extend the rendering by half the sample spacing.</div><div class=""><br class=""></div><div class="">In VTK, a vtkImageData consists of a grid of point data samples. There is no "size" associated with these points, just the spacing that separates them. Display of an image involves interpolating the data points to fill in the empty space that exists between them.</div><div class=""><br class=""></div><div class=""> - David</div><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 7, 2017 at 11:01 AM, Seun Odutola <span dir="ltr" class=""><<a href="mailto:seun@rogue-research.com" target="_blank" class="">seun@rogue-research.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br class="">
<br class="">
I was wondering if anyone is aware of my situation. I work with medical images and my general understanding of VTK is that voxels are rendered with the centre as their origin. On rendering MPR’s and slices for example I notice that there is a loss of half a voxel at both ends of a slice (technically an overall loss of a voxel) and would like to know if there’s a workaround to getting the half voxel rendered.<br class=""></blockquote></div></div></div>
</div></blockquote></div><br class=""></div></body></html>