Digital image processing involves manipulating digital images using computers. It has applications in many fields including medicine, entertainment, geology, and remote sensing. Digital images are represented as matrices of numbers which can then be manipulated. There are several classes of digital image processing including image enhancement to help viewers see useful information, image restoration to repair damaged images, and image analysis to extract features from images.