downscale input marker images for template matching