1.Bayer mode image Bayer mode is a common mode used for digital image capture, especially widely used in single-sensor cameras. Bayer mode is a technology that captures color images by arranging red, green, and blue color filter arrays and interpolation algorithms. A Bayer pattern image is composed of a color filter array containing only one […]
Tag: rgb
Understand image formats RAW, RGB, YUV, Packed/Unpacked, Bayer, MIPI, Planar, Semi-Planar, Interleaved in one article
Table of Contents 1. General attributes 1.Packed/Unpacked 2. Compressed/uncompressed 2. RAW 1. Bayer format 2. Classification 3. MIPI RAW 3. RGB Classification 4. YUV 1. YUV to RGB conversion 2. Classification 3. Memory computing 5. Compression format Some people miss it and will never find it again in their lifetime. This article analyzes in detail […]
Some basic image preprocessing—normalize the scale of all pictures in a file, view the RGB value of each pixel, switch the specified color to white, and switch all pictures in the file from png to jpg
Table of Contents 1. Normalize the scale of all pictures in a file 2. View the RGB value of each pixel of an image 3. Switch the specified color to other colors (switch red to white in the code) 4. Switch all pictures in a file from png to jpg 5. Rename all images in […]
Zhengdian Atom embedded linux driver development – RGB to HDMI
At present, most displays provide HDMI interfaces, and the application range of HDMI is becoming wider and wider. However, the STM32MP157 chip does not natively support HDMI display. You can convert RGB signals to HDMI signals through the RGB to HDMI chip, so that you can connect to an HDMI display. In this chapter, we […]
RGB and YUV formula conversion and derivation
Table of Contents Introduction Full Range formula derivation Limit Range derivation Verification Test References Introduction There are many standards for conversion between RGB and YUV. The coefficients of different standards are different, and it is often easy to get confused. There are also differences between full range and limitrange. In fact, these conversion coefficients are […]
Realization of colorful gradient and SOS effect of single-chip RGB three-color lamp
First we need to use a hardware timer to implement something similar to software PWM, open a timer and run the following code to achieve what we want. Then we only need to change the r_duty, g_duty, b_duty duty cycles in order to achieve the desired effect. . if(r_duty == 0) { BSP_LED_Off(LEDR); } else […]
Digital image processing experiment – Convert “original image.bmp” into a grayscale image, and perform histogram equalization on the resulting grayscale image; use histogram specification algorithm to process the three RGB channels of “original image.bmp” The histograms are changed to be consistent with “reference image.bmp”
1. Experimental objectives 1. Understand and apply the concept and application of histograms to analyze and process images. 2. Understand and apply the concept of histogram equalization and perform related image processing 3. Master the histogram specification algorithm and perform histogram specification processing and analysis on samples 4. Convert the “original image.bmp” into a grayscale […]
Matlab/C++ source code realizes the conversion of RGB channel and HSV channel (the effect is compared with Halcon)
The meaning of HSV channel The HSV channel refers to a color model in image processing, which consists of three channels: hue (Hue), saturation (Saturation) and brightness (Value). Hue represents the type of color, saturation represents the purity or vividness of the color, and value represents the brightness of the color. The HSV channel is […]
Tucker Robot runs ORB_SLAM3 on Ubuntu18.04 (including running the Euroc data set and obtaining front-end data in real time through monocular and RGB-D camera modes)
I looked at visual slam related directions during the front-end time. There happened to be a small car in the laboratory, so I tried to run ORB-SLAM3 on it. The following is a summary of the operation steps and problems encountered. If you need to run ORB_SLAM3 directly on Ubuntu 18.04, you can ignore the […]
In-depth analysis of NV21 image format and code practice-RGB conversion to NV21 and picture frame
1.NV21 format image analysis The NV21 image format belongs to the YUV420SP format in the YUV color space Every four Y components share a set of U components and V components. Y is sorted continuously, and U and V are sorted cross-wise. Key points summary uv staggered mode 4Y shares a set of uvs (2 […]