[vtkusers] images with different extents

David Gobbi david.gobbi at gmail.com
Fri Apr 29 09:35:08 EDT 2016


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/59f484ac/attachment.html>


More information about the vtkusers mailing list