STM32-LTDC, LCD-TFT, LVGL (MCU3) Lecture 7| RGB display and pixel

  • Post author:
  • Post category:Blog

 

RGB displays and pixel

 

RGB display

A display which takes redgreenblue signal components of a pixel to generate the colors to be displayed on the screen. 

It is the most common type of display used in devices such as televisions, computer monitors, smartphones, etc.

 

RGB Color Model

Figure 1. RGB Color model
Figure 1. RGB Color model

 

What is RGB?

It is a color model. 

A model in which R-G-B primary colors are added together in various ways to reproduce a broad array of colors.

You can mix them in different proportions to get a variety of colors. That’s an RGB color model.

 

Some important terminologies

  • Pixel
  • Pixel density(PPI -pixel per inch)
  • Pixel color depth(Bit depth)
  • Pixel format
  • Resolution

 

Pixel (Picture element)

Pixel of the Image: A smallest information(color information) of the image stored in computer memory.

Figure 2. Pixel of the Image
Figure 2. Pixel of the Image

Consider the image shown in Figure 2. Its dimensions are 480×270, meaning its width is 480 pixels and its height is 270 pixels. We can also refer to its height as 270 lines. The bit depth is 32, indicating that each pixel in the image consumes 32 bits.

 

How is this image stored in computer memory?

It is stored in the form of numbers. Of course, everything should be stored in the form of numbers. There is no such image actually present on my computer. My computer just holds numbers. And we dedicate some amount of memory to each tiny piece of information, which we call a pixel.

 

 

Pixel of the display

In display technology also use the word pixel.

What is a pixel of the display? 

The smallest glowing(illuminating or color-producing) electronic element of the display module or display panel is also called a pixel.  

And that illumination happens because of various technologies. There is TFT technology, Plasma technology, IPS technology, etc.

Figure 3. Pixel of the display
Figure 3. Pixel of the display

 

How much memory does one pixel consume in the computer memory? (Pixel depth/color depth/bit depth)

β†’ It depends on the pixel format.  

β†’ The pixel depth or bit depth is measured in bpp(bits per pixel).

In the following article, let’s learn about the different types of pixel formats/color formats.

 

Get the Full Course on STM32-LTDC, LCD-TFT, LVGL (MCU3) Here.

FastBit Embedded Brain Academy Courses

Click here: https://fastbitlab.com/course1

 

FastBitLab

The FastBit Embedded Brain Academy uses the power of internet to bring the online courses related to the field of embedded system programming, Real time operating system, Embedded Linux systems, etc at your finger tip with very low cost. Backed with strong experience of industry, we have produced lots of courses with the customer enrolment over 3000+ across 100+ countries.

Leave a Reply