[vtkusers] images with different extents

Maarten Beek beekmaarten at yahoo.com
Fri Apr 29 10:43:13 EDT 2016


Thanks David, I'll try that.
Maarten
 

    On Friday, April 29, 2016 9:35 AM, David Gobbi <david.gobbi at gmail.com> wrote:
 

 Hi Maarten,
You can use vtkImageChangeInformation.  Call SetOutputExtentStart(0,0,0).  You can also call SetOutputOrigin(x,y,z) to make the origin match.
 - David

On Fri, Apr 29, 2016 at 7:28 AM, Maarten Beek via vtkusers <vtkusers at vtk.org> wrote:

Hi all,
Is there a way in VTK to deal with two images that have a different extent (but similar dimensions)?E.g extent1 = {-10, 501, -10, 501, -10, 501} and extent2 = {0, 511, 0, 511, 0, 511}.
Thanks - Maarten




  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160429/b585d052/attachment.html>


More information about the vtkusers mailing list