First, what is an image?
On disk, the image is a file, a string of binary codes. Of course, there are special formats.
After reading into memory, the image is a two-dimensional array. The array's horizontal and vertical coordinates can be used to mark the pixel position, and the value of the array is used to hold the RGBA value for that pixel.
Second, why do image processing?
An image is essentially composed of n multiple pixels and a grayscale value for each pixel point. We get new images through image processing.
For example, in each pixel to darken, get darkened image, there are other ways to deal with, and then describe
Third, image processing methods
There are two types of image processing methods: Spatial domain method and frequency domain method, the term "space domain" refers to the image plane itself, which is based on the direct processing of image pixels; "Frequency domain" is based on the Fourier transform of the modified image.
Spatial domain processing methods:
Basic concepts of Digital image processing