A digital image in a 2-dimensional discrete space is the sampling and quantization of a 2-dimensional continuous space, being a projection of a picture of objects and background in 3-dimensional space. A digital image is composed of 2-dimensional array elements arranged in rows and columns. Those elements are the so-called pixels, and each of them holds a particular value to represent the picture at its location.