Difference between bit depth and bit depth

Source: Internet
Author: User

Bit depth refers to the number of digits used to store each pixel. For example, for a 32-bit 100*100 pixel image, the size is 100*100*32/8 = 40000 bytes,

 

It turns out that the image color depth is the bit depth, and then I searched the internet to find out that these two concepts are completely different.

 

Image depth refers to the number of digits used to store each pixel. It is also used to measure the color resolution of the image. the depth of the image determines the number of colors that each pixel of the color image may have, or determines the number of gray levels that each pixel of the gray image may have. it determines the maximum number of colors that can appear in a color image, or the maximum gray level in a gray image. for example, for a monochrome image, if each pixel has eight digits, the maximum gray scale is 2 to the power of 8, that is, 256. the number of pixels in a color image rgb3 is 4, 4, and 2, respectively. The maximum number of colors is 4 + 4 + 2, that is, 1024, that is to say, the depth of the pixel is 10 bits, and each pixel can be one of the 1024 colors.
Color depth is also called the color depth. In a certain resolution, how many colors each pixel can have? Its unit is bit ). The typical color depth is 8-bit, 16-bit, 24-bit, and 32-bit. The higher the depth value, more colors can be obtained.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.