Imaging for Forensics and Security: From Theory to Practice