Image Co-Saliency Detection and Co-Segmentation from the Perspective of Commonalities