<div dir="ltr">Hi Sean,<div><br></div><div>For people building a new image rendering pipeline I'd generally recommend vtkImageResliceMapper, but different projects have different requirements. Sometimes it makes more sense to use vtkImageReslice followed by a separate mapper. The reason that I prefer vtkImageResliceMapper is that it maps oblique views to the screen via a single interpolation operation, whereas e.g. vtkImageReslice plus vtkImageActor would perform two interpolation operations.</div><div><br></div><div>If you are currently using vtkImageReslice plus vtkImageActor, then make sure that you are also calling BorderOn() for the actor's mapper as well (e.g. imageActor->GetMapper()->BorderOn()).</div><div><br></div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 8:57 AM, Seun Odutola <span dir="ltr"><<a href="mailto:seun@rogue-research.com" target="_blank">seun@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi David,<div> 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><div class="h5"><div><br><div><blockquote type="cite"><div>On Mar 7, 2017, at 2:34 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:</div><br class="m_6032493889935629285Apple-interchange-newline"><div><div dir="ltr"><div>Hi Seun,</div><div><br></div><div>The vtkImageSliceMapper and vtkImageResliceMapper both have a method called BorderOn() that will extend the rendering by half the sample spacing.</div><div><br></div><div>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><br></div><div> - David</div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 11:01 AM, Seun Odutola <span dir="ltr"><<a href="mailto:seun@rogue-research.com" target="_blank">seun@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
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></blockquote></div></div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>