From: Wheeler, F. W (Research) <wh...@cr...> - 2004-01-13 20:16:30
|
Petr, Thanks for the fix! I'm checking in the change right now. Fred Wheeler > -----Original Message----- > From: Petr Konecny [mailto:pe...@am...] > Sent: Tuesday, January 13, 2004 2:05 PM > To: vxl...@li... > Subject: [Vxl-users] [patch] core/vil/vil_warp.h does not use > planes in > the output image > > > Hi, > > when vil_warp stores output to the image it should identify the > plane. The following (tested) patch fixes that. > > Thanks, Petr > > Index: core/vil/vil_warp.h > =================================================================== > RCS file: /cvsroot/vxl/vxl/core/vil/vil_warp.h,v > retrieving revision 1.4 > diff -u -r1.4 vil_warp.h > --- core/vil/vil_warp.h 2 Dec 2003 10:51:58 -0000 1.4 > +++ core/vil/vil_warp.h 13 Jan 2004 18:59:03 -0000 > @@ -54,7 +54,7 @@ > // *** Find (ix, iy) from (ox,oy) > double ix, iy; > mapper(double(ox), double(oy), ix, iy); > - out(ox, oy) = dType(interp(in, ix, iy, p)); > + out(ox, oy, p) = dType(interp(in, ix, iy, p)); > } > } > } > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users > |