Watermarking for image authentication and content recovery