Digital images are composed of a grid of pixels that are sampled from scenes or documents. A pixel is the smallest unit of an image and images can be grayscale, containing only black and white pixels, or RGB color images with red, green and blue subpixels. Digital image processing uses computer algorithms to modify images, such as smoothing or compressing them, in order to enhance the image or extract useful information. Some applications of image processing discussed are smoothing images using averaging filters of different sizes, compressing images using delta encoding by representing similar pixel values with delta values rather than individual values, and face detection using the Viola-Jones algorithm which uses Haar features, integral images, AdaBoost training, and cascading classifiers to rapidly detect