Hi Ben, there is, although it could be more direct: 1. make sure the two initial surfaces are "close" enough to begin with 2. generate img1.vti and img2.vti with vmtksurfacemodeller 3. resample img2.vti on the image grid of img1.vti using vmtkimagereslice
vmtkimagereslice -ifile img2.vti -rfile img2.vti -ofile img2_on_1.vti At this point img1 and img2_on_1 are defined on the exact same grid. This is quite convenient because you can for instance merge them with vmtkimagecompose, etc. Hope this helps Luca On Apr 19, 2012, at 8:24 PM, Berkowitz, Benjamin M wrote: > Is there a way to keep the origin consistent between two image stacks created > from vmtksurfacemodeller? > > Thanks, > Ben Berkowitz > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > vmtk-users mailing list > vmtk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vmtk-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users