Method and device for acquiring codes of color cards
A color and coding technology, applied in image data processing, instrumentation, computing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] figure 1 It is a schematic flowchart of a method for obtaining a color card code provided in Embodiment 1 of the present invention. The method can be executed by a device for obtaining a color card code, wherein the device can be implemented by software and / or hardware. Such as figure 1 As shown, the method includes:
[0073] Step 101, obtaining the original image of the color card, and obtaining the processed original image according to a preset denoising algorithm;
[0074] Specifically, the original image of the color card taken on the drone is obtained through the camera, and the corresponding noise processing is performed on the obtained original image, the specific method is as follows:
[0075] Correspondingly, the acquisition of the processed original image according to the preset denoising algorithm includes:
[0076] Carrying out the first color space conversion on the original image, separating the brightness V in the color space after the first conversion...
Embodiment 2
[0107] image 3 It is a schematic flowchart of a method for obtaining a color card code provided in Embodiment 2 of the present invention, which is optimized on the basis of Embodiment 1. Such as image 3 As shown, the method includes:
[0108] Step 301, obtaining the original image of the color card, and obtaining the processed original image according to a preset denoising algorithm;
[0109] Step 302, acquiring information of the processed original image, the information including color information and corresponding area ratio;
[0110] Step 303, acquiring the generation rule of the color card, the generation rule including preset at least one color area, the color of each color area and the area ratio between each color area;
[0111] Correspondingly, the acquisition of the generation rule of the color card includes:
[0112] The color card includes four color areas, the color of the four color areas is at least one of red, green, blue, and yellow, and the area ratio o...
Embodiment 3
[0125] Figure 4 It is a schematic flowchart of a method for obtaining a color card code provided by Embodiment 3 of the present invention, which is optimized on the basis of Embodiment 1. Such as Figure 4 As shown, the method includes:
[0126] Step 401, obtaining the original image of the color card, and obtaining the processed original image according to a preset denoising algorithm;
[0127] Step 402, acquiring information of the processed original image, the information including color information and corresponding area ratio;
[0128] Step 403, if the area ratio is within the preset area ratio threshold, obtain the coding information of the color card, and obtain the coding information of the color card according to the coding information;
[0129] Step 404, according to the correspondence between the coded information and the coordinates, obtain the coordinates corresponding to the coded information;
[0130] Step 405, perform positioning according to the coordinat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 