Principles of Digital Image Processing