`
jimmee
  • 浏览: 538689 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

BIT DEPTH TUTORIAL

阅读更多

BIT DEPTH TUTORIAL

Bit depth quantifies how many unique colors are available in an image's color palette in terms of the number of 0's and 1's, or "bits," which are used to specify each color. This does not mean that the image necessarily uses all of these colors, but that it can instead specify colors with that level of precision. For a grayscale image, the bit depth quantifies how many unique shades are available. Images with higher bit depths can encode more shades or colors since there are more combinations of 0's and 1's available.

TERMINOLOGY

Every color pixel in a digital image is created through some combination of the three primary colors: red, green, and blue. Each primary color is often referred to as a "color channel" and can have any range of intensity values specified by its bit depth. The bit depth for each primary color is termed the "bits per channel." The "bits per pixel" (bpp) refers to the sum of the bits in all three color channels and represents the total colors available at each pixel. Confusion arises frequently with color images because it may be unclear whether a posted number refers to the bits per pixel or bits per channel. Using "bpp" as a suffix helps distinguish these two terms.

EXAMPLE

Most color images from digital cameras have 8-bits per channel and so they can use a total of eight 0's and 1's. This allows for 28 or 256 different combinations—translating into 256 different intensity values for each primary color. When all three primary colors are combined at each pixel, this allows for as many as 28*3 or 16,777,216 different colors, or "true color." This is referred to as 24 bits per pixel since each pixel is composed of three 8-bit color channels. The number of colors available for any X-bit image is just 2X if X refers to the bits per pixel and 23X if X refers to the bits per channel.

COMPARISON

The following table illustrates different image types in terms of bits (bit depth), total colors available, and common names.

Bits Per Pixel Number of Colors Available Common Name(s)
1 2 Monochrome
2 4 CGA
4 16 EGA
8 256 VGA
16 65536 XGA, High Color
24 16777216 SVGA, True Color
32 16777216 + Transparency  
48 281 Trillion  

BIT DEPTH VISUALIZATION

By moving your mouse over any of the labels below, the image will be re-displayed using the chosen amount of colors. The difference between 24 bpp and 16 bpp is subtle, but will be clearly visible if you have your display set to true color or higher (24 or 32 bpp).

24 bpp 16 bpp 12 bpp 10 bpp 8 bpp
Visualizing Bit Depth

USEFUL TIPS

  • The human eye can only discern about 10 million different colors, so saving an image in any more than 24 bpp is excessive if the only intended purpose is for viewing. On the other hand, images with more than 24 bpp are still quite useful since they hold up better under post-processing (see "Posterization Tutorial").
  • Color gradations in images with less than 8-bits per color channel can be clearly seen in theimage histogram.
  • The available bit depth settings depend on the file type. Standard JPEG and TIFF files can only use 8-bits and 16-bits per channel, respectively.
分享到:
评论

相关推荐

    Zhang's Camera Calibration Algorithm: In-Depth Tutorial and Implementation

    《张正友相机标定算法:深度解析与实践指南》 在计算机视觉领域,相机标定是不可或缺的一环,它能帮助我们精确地理解和纠正由镜头畸变等因素引起的图像失真。张正友标定法,又称为 Zhang's calibration algorithm,...

    ISP_graph_tool_in_depth_tutorial.rar

    教程"ISP_graph_tool_in_depth_tutorial.pdf"将详细讲解如何使用这个工具,包括设置步骤、最佳实践和案例分析。读者可以期待学习到如何有效地利用ISP_graph_tool调试ISP流程,从而提升S32V摄像头系统的整体性能。...

    Tutorial Master 22.0.7.2

    Tutorial Master是一个编辑器扩展,允许您创建您的游戏互动教程惊人的快速和容易! Tutorial Master2 已经建立了从地面到成为最好的教程制作解决方案之一!教导新玩家(以及潜在用户)如何以你所希望的方式玩游戏! 用户...

    J2EE Tutorial中文版

    Sun权威教程--《J2EE Tutorial中文版》 作者:Stephanie Bodoff,Dale Green,Kim Haase,Eric Jendrock,Monica Pawlan,Beth Stearns 翻译参与人员:sharetop,worldheart,zhaoy,bruce等 出版商:铁道出版社...

    operating_system_tutorial.pdf

    operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_...

    FLUENT 2020R2 tutorial guide PDF及案例源文件

    FLUENT 2020R2 tutorial guide PDF及案例源文件 1.What’s In This Manual The ANSYS Fluent Tutorial Guide contains a number of tutorials that teach you how to use ANSYS Flu- ent to solve different types ...

    tutorial代码

    tutorial代码

    java tutorial

    java tutorialjava tutorial.chm

    bit-react-tutorial:Bit的官方React教程

    位React教程该存储库与Bit React... 您需要验证您是否具有: 节点8.12+ 要运行本教程,请克隆并设置React教程项目: : git clone https://github.com/teambit/bit-react-tutorialcd bit-react-tutorialyarn您会学到什

    XML Tutorial

    XML Tutorial Schema Tutorial DTD Tutorial DOM Tutorial CSS2 Tutorial

    EDEM Tutorial 1 - Conveyor

    《EDEM教程1 - 传送带》是一份官方的学习资料,专为仿真爱好者设计,旨在帮助他们理解和掌握EDEM软件的使用。EDEM(Eulerian Discrete Element Method)是一种基于离散元方法的颗粒流体动力学软件,广泛应用于各种...

    QTP_Tutorial.chm

    Tutorial ENGLISH

    Mathematica Tutorial.pdf

    Mathematica Tutorial

    Ruby on Rails Tutorial

    《Ruby on Rails Tutorial》中文版(原书第2版,涵盖 Rails 4) Ruby 是一门很美的计算机语言,其设计原则就是“让编程人员快乐”。David Heinemeier Hansson 就是看重了这一点,才在开发 Rails 框架时选择了 Ruby...

    Understanding .NET - A Tutorial and Analysis

    Understanding .NET - A Tutorial and Analysis Understanding .NET - A Tutorial and Analysis Understanding .NET - A Tutorial and Analysis

    Uml Tutorial

    0-uml tutorial - use cases .pdf 1-uml tutorial - class diagrams .pdf 2-uml tutorial - collaboration diagrams.pdf 3-uml tutorial - sequence diagrams.pdf 4-uml tutorial - finite state machines.pdf 5-uml...

    ANSYS Fluent Tutorial Guide 2019R1.pdf

    ANSYS Fluent Tutorial Guide 2019R1 ANSYS Fluent帮助文档

    Ansys Fluent Tutorial Guide 2022 R1官方示例(全套官方案例).zip

    Ansys Fluent Tutorial Guide 2022 R1官方示例(全套官方案例): 包括FLUENT模块所有官方案例三维示例网格文件(31个),还包括帮助文档PDF文件Ansys_Fluent_Tutorial_Guide_2022_R1.pdf,学习FLUENT各个官方案例的...

    Tutorial1.rar

    DirectX 9.0 是微软开发的一套用于 Windows 操作系统的应用程序接口(API),它主要为游戏开发、多媒体处理和图形渲染提供了强大的支持。在DirectX 9.0中,"CreateDevice"是核心组件Direct3D中的一个关键函数,用于...

Global site tag (gtag.js) - Google Analytics