Added filtering in the image stitching stage