compare reference image with all images in folder. Follows input/output specification.