Digital Image Processing homework