An image forensics tool for copy-move detection and localization