Introduction to 2D and 3D Digital Image Processing