This is the time to think about the difference between grayscale and pixel values, and of course the screen resolution. After looking for information plus your own experience, temporarily get some understanding.
We follow the range from large to small: screen resolution is mainly displayed in the display of the image quality problems, indicating the length and width of the screen on the pixel points, of course, the more pixels, the more colors can be displayed, the display is more clear. Pixels in 2 binary, gray-scale images are generally 8-bit binary, pixels are 32-bit, 24-bit. Grayscale is no color, RGB color components are all equal. If it is a binary grayscale image, its pixel value can only be 0 or 1, we say its grayscale level is 2. Use an example to illustrate: a 256-level grayscale image, RGB (100,100,100) represents a grayscale of 100,rgb (50,50,50) representing a grayscale of 50.
Grayscale refers to the color depth of the midpoint of the black and white image, the range is generally from 0 to 255, White is 255, black is 0, so black and white images are also called grayscale images. Black and white images have the same grayscale value and pixel values. The grayscale value of a color image is a pixel or grayscale value converted to a black-and-white image. Generally obtained by means of weighted average.