private void update ( I image ) { computeCurrToInit_PixelTran ( ) ; // only process a cropped portion to speed up processing RectangleLength2D_I32 box = DistortImageOps . boundBox ( image . width , image . height , stitchedImage . width , stitchedImage . height , work , tranCurrToWorld ) ; int x0 = box . x0 ; int y0 = box . y0 ; int x1 = box . x0 + box . width ; int y1 = box . y0 + box . height ; distorter . setModel ( tranWorldToCurr ) ; distorter . apply ( image , stitchedImage , x0 , y0 , x1 , y1 ) ; }
Adds the latest image into the stitched image