c++ visual processing—-drawing histogram, H-S histogram, two-dimensional H-S histogram, RGB three-color histogram

Histogram: cv::calcHist() cv::calcHist() is a function in OpenCV used to calculate histograms. A histogram is a tool used to visualize the distribution of brightness or color in an image. This function is typically applied to individual channels of grayscale or color images. The following is the basic syntax and parameters of the cv::calcHist() function: void […]

Raw format image understanding, reading, conversion, display, raw10 application and COLOR_BayerBG2RGB understanding

Reference article: http://t.csdn.cn/tJlqe Reference article: http://t.csdn.cn/1SA0u Bayer format understanding of RAW images First you need to understand the bayer format: http://t.csdn.cn/ZpVcW Bayer is the original image inside the camera, usually with the suffix .raw. You can use some software to view it, such as picasa, irfanview, photoshop. The .jpeg or other format pictures taken by […]

Experiment on using Arduino WS2812 RGB light strip

Data download Link: https://pan.baidu.com/s/1OfaxDexNl3Lwj1GnbxnQnw?pwd=lx88 1. Overview The 12-bit RGB light ring is composed of 12 WS2812RGB lamp beads connected in series. Only one IO port is needed to drive this module. The WS2812 RGB lamp integrates a chip inside. We only need a single IO port to control the WS2812RGB lamp. The D pin is […]

New definition RD8T37P — serial port RGB light

1. Hardware list 1. One RD8T37P evaluation board 2. RGB light 3. Dupont cable, data cable 2. Brief description of functions This experiment is used to verify the PWM and three-select one universal serial interface USCI functions of the newly defined RD8T37P microcontroller. The following is a module introduction: 1. PWM We use channels 5, […]

Interaction between ESP8266 microcontroller and RGB LED strip: Simple C language RESTful API implementation guide

Part 1: Introduction and Background In today’s smart home era, RGB LED light strips have become a common decoration in homes, offices and public places. They not only add color to the environment, but can also be programmed to achieve various dynamic effects, adding fun to our lives. The ESP8266 microcontroller, as a cheap and […]

How does the Android side pull the RTSP/RTMP stream and call back the YUV/RGB data and then inject the lightweight RTSP service?

Technical background When we were developing audio and video modules for the Android platform, we encountered such a problem. Manufacturers wanted to pull the RTSP streams from Hikvision, Dahua and other cameras, and then send the decoded YUV or RGB data back to them, and they would make videos. After analysis or processing, it is […]

Xilinx 7serial: RGB to TMDS

`timescale 1ns / 1ps // module encode ( input clkin, // pixel clock input input rstin, // async. reset input (active high) input [7:0] din, // data inputs: expect registered input c0, // c0 input input c1, // c1 input input de, // de input output reg [9:0] dout // data outputs ); // Counting […]

Convert Java CMYK images to RGB images (TwelveMonkeys method)

The use of TwelveMonkeys is relatively simple. Just add the relevant jar package to the class path. We will basically not use its classes. We only need to use jdk ImageIO or its upper-layer interface. jdk’s ImageIO has an automatic discovery function, which will automatically find relevant codec classes and use them instead of using […]