## RE: [Vxl-users] 2d transformation + resampling

 RE: [Vxl-users] 2d transformation + resampling From: Ian Scott - 2004-03-18 18:36:29 vimt_transform_2d merely represents a planar 2-D transform. It has no image methods itself. The transform is restricted to set of efficiently calculable values. vil_warp provides a general means of warping a vil_image through an arbitrary warp with an arbitrary sampling scheme. I guess with a little glue class you could use a vimt_transform_2d with vil_warp. struct mapper { vimt_transform_2d t; void mapper(double ox, double oy, double &ix, double &iy) { vgl_vector_2d p = t(ox, oy); ix=p.x(); iy=p.y(); } See http://cvs.sourceforge.net/viewcvs.py/vxl/vxl/core/vil/tests/test_warp.cxx?r ev=1.3&view=markup for an example of using vil_warp() Ian. > -----Original Message----- > From: vxl-users-admin@... > [mailto:vxl-users-admin@...]On Behalf Of Walter > Nunziati > Sent: Thursday, March 18, 2004 6:04 PM > To: vxl-users@... > Subject: [Vxl-users] 2d transformation + resampling > > > Hi, > > i need to implement a planar homography between two images > taken from a > rotating/zooming stationary camera. I think that the "right" > class to do > so is vimt_transform_2d, in the vimt package. Is this the > most suitable > solution? Can i choose the resampling method (e.g. linear, > bilinear, ecc.)? > > Thank you very much. > > Walter Nunziati > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Vxl-users mailing list > Vxl-users@... > https://lists.sourceforge.net/lists/listinfo/vxl-users >