.
libraries, such as NumPy which is a highly optimized library for numerical operations. Data type of the loading image (which is in grayscale) is numpy.ndarray. The image is transformed in matrix whose elements correspond to individual pixels. In grayscale images, the value of an individual elements