Fundamentals for Scientific Digital Imaging