A device and method for extracting color of urban landscape water body
By using devices such as brackets, pull ropes, counterweights, digital cameras, and standard color cards in urban landscape water bodies, combined with image processing technology, the problem of inaccurate manual color discrimination in the existing technology is solved, and the color of urban landscape water bodies is realized. Accurate extraction and objective assessment of apparent pollution index.
Patent Information
- Application Number
- CN201910086769.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-01-29
AI Technical Summary
In the existing technology, the extraction of urban landscape water color mainly relies on manual judgment, which lacks accuracy and affects the objective acquisition of apparent pollution index.
A device including a bracket, a pull rope, a counterweight, an image acquisition unit, a chromaticity comparison unit, an illumination detection unit and a water body color acquisition unit is designed. The water body image is captured by a digital camera, combined with a standard color card and a Seth plate, and is used The image processing software performs color cast correction and obtains the water color index.
It achieves objective and accurate extraction of the color of urban landscape water bodies, reduces the subjective impact of manual judgment, and improves the accuracy of obtaining apparent pollution indexes.
Smart Images

Figure CN109632656B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of landscape water body color extraction, and in particular to a device and method for extracting the color of urban landscape water bodies. Background Art
[0002] Urban landscape water bodies refer to rivers flowing through cities, lakes and reservoirs in urban areas, park water systems, artificial canals and artificial lakes, etc. Inorganic urban water bodies are generally yellow or khaki in color, with a high content of inorganic particles such as clay and silt, and are usually canal water flowing through cities. At present, with the construction of highway networks and people's pursuit of quality of life, the shipping function of canal water has gradually weakened, and the landscape and ecological functions have gradually become prominent. However, with the rapid development of urbanization and industrialization in my country, the canal, as a receiver of urban domestic sewage and industrial wastewater, has low transparency, abnormal color, and odor, and the surface pollution of the water body is serious.
[0003] In the prior art, the evaluation of the apparent quality of landscape water bodies is subjective and is affected by reference objects, time, location and environment. Therefore, in order to objectively evaluate the apparent quality of landscape water bodies, it is necessary to use instruments to measure water body related parameters, establish a quantitative description of the apparent quality of water bodies, and obtain a method for objectively evaluating and recording the apparent changes of landscape water bodies, so as to form a standard for measuring and judging the effect of landscape water body management. Since non-dissolved particles in urban landscape water bodies are the main cause of apparent pollution of water bodies, the composition and content of particles also determine the color characteristics of water bodies. Therefore, it is very important to extract the color of urban landscape water bodies. In the process of obtaining the apparent pollution index SPI of urban landscape water bodies, water body color is one of the influencing factors. At present, the color judgment is mainly carried out manually, and the subjective judgment of manual judgment usually lacks accuracy, which has a great impact on the acquisition of the final apparent pollution index. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a device that can objectively obtain the color index of urban landscape water bodies, and a method for extracting the color of water bodies using the device, which solves the disadvantage that the apparent pollution index requires manual color discrimination and eliminates the influence of subjective judgment on the acquisition of the apparent pollution index.
[0005] In order to solve the above technical problems, the present invention provides a device for extracting color of urban landscape water bodies, comprising a bracket, a pull rope, a counterweight, an image acquisition unit, a chromaticity contrast unit, an illumination detection unit and a water body color acquisition unit, wherein the pull rope is connected around the bracket to lift the bracket and ensure the balance of the bracket, the image acquisition unit is arranged above the bracket through the pull rope, the chromaticity contrast unit and the illumination detection unit are arranged on the plane where the bracket is located, the counterweight is connected to the bottom of the bracket through a connecting rod, and the water body color acquisition unit is fixed on the connecting rod. The image acquisition unit is used to form a digital image of the chromaticity contrast unit and the water body color acquisition unit in the same environment, and the apparent pollution color index of the urban landscape water body is obtained by post-processing the digital image.
[0006] Furthermore, the image acquisition unit is a digital camera, which can convert optical images into electronic data for easy post-processing. The image acquisition unit faces the plane where the bracket is located, thereby photographing the water surface from top to bottom.
[0007] Furthermore, the chromaticity contrast unit is a standard color card, which is arranged at one corner of the bracket, and the illumination detection unit is an illuminance meter, which is arranged at another corner of the bracket. The standard color card and the illuminance meter are both located in the same plane as the bracket, so that the standard color card and the water surface are in the same shooting environment.
[0008] Furthermore, the water color acquisition unit is a Secchi disk, and one or more Secchi disks are provided. The multiple Secchi disks are arranged at intervals on the connecting rod to obtain water color information at different depths. The Secchi disks are staggered on the projection plane of the bracket so that each Secchi disk can be photographed.
[0009] Furthermore, the Secchi disk is made of an acrylic plate, which is light in weight and will not sink in water, and is not easily deformed, thereby ensuring the accuracy of the digital image captured.
[0010] Furthermore, the support is a square frame, and the support is made of foam and can float on the water.
[0011] Furthermore, the connecting rod is a wooden rod, which has great buoyancy on one hand and ensures the fixation of the Secchi disk and the connecting rod on the other hand, so that the Secchi disk will not move during use. A scale is provided on the connecting rod to facilitate knowing the underwater depth of the Secchi disk.
[0012] Furthermore, the counterweight is a metal rod, and both ends of the metal rod are arranged in the middle of the side of the bracket through a connecting rod to ensure that the Secchi disk can be immersed in the water without affecting the balance of the bracket on the water surface.
[0013] Compared with the prior art, the beneficial effect of the urban landscape water body color extraction device of the present invention is that by setting the standard color card and the water surface in the same shooting environment, the color deviation of the digital image can be adjusted according to the actual color value of the standard color card to obtain the actual color of the water body.
[0014] A method for extracting the color of urban landscape water bodies using the extraction device described in the present application comprises the following steps:
[0015] Step 1, placing the extraction device in water, so that the digital camera is above the water surface, the bracket floats on the water surface, and the Secchi disk and the counterweight are immersed below the water surface, adjusting the digital camera to automatic white balance, focusing the digital camera on the standard color card, and acquiring a digital image;
[0016] Step 2, using image processing software to extract the color of each color block in the standard color card in the digital image obtained in step 1;
[0017] Step 3, using the image processing software, the standard color value of the color block of the standard color card is compared with the color value of each color block of the standard color card in the digital image extracted in step 2 to obtain the color deviation correction coefficient;
[0018] Step 4, using image processing software to correct the color cast of the digital image obtained in step 1 according to the color cast correction coefficient obtained in step 3;
[0019] Step 5: Extract the color value of the Secchi disk from the corrected digital image.
[0020] Furthermore, the water area where the extraction device is located in step one is far away from the reflection of nearby objects, the color value of each color block of the standard color card in the digital image extracted in step two is the average value of the color value within the color block range, and the image processing software is ENVI software.
[0021] Compared with the prior art, the method for extracting the color of urban landscape water bodies of the present invention has the beneficial effect that, by comparing the actual color value of the standard color card with the color value of the standard color card in the digital image, a color deviation correction coefficient is obtained, thereby adjusting the color deviation of the digital image and obtaining the actual color of the water body. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a perspective view of a color extraction device of the present invention;
[0023] Figure 2 is a front view of a color extraction device of the present invention;
[0024] Figure 3 is a top view of the color extraction device of the present invention;
[0025] Figure 4This is the workflow of the color extraction device of the present invention. DETAILED DESCRIPTION
[0026] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0027] Reference Figure 1 , Figure 2 and Figure 3 As shown, an embodiment of a device for extracting color of a city landscape water body of the present invention comprises a bracket 10, a pull rope 20, a counterweight 30, an image acquisition unit 40, a chromaticity contrast unit 50, an illumination detection unit 60 and a water body color acquisition unit 70. The chromaticity contrast unit 50, the illumination detection unit 60 and the water body color acquisition unit 70 are respectively located on the water surface and underwater by the pull rope 20, the bracket 10 and the counterweight 30. The image acquisition unit 40 is used to form a digital image. By post-processing the digital image, the apparent pollution color index of the city landscape water body is obtained. In this embodiment, the pull rope 20 is connected to the bracket 10 around to pull the bracket 10 and ensure the balance of the bracket 10. The image The acquisition unit 40 is arranged above the bracket 10 through the pull rope 20, and is used to take pictures of the water surface from above. The chromaticity contrast unit 50 and the illumination detection unit 60 are arranged on the plane where the bracket 10 is located, and can obtain the accurate illumination value of the shooting position. At the same time, when the image acquisition unit 40 takes an image, it can simultaneously obtain the water surface image and the chromaticity contrast unit 50 image, which is convenient for correcting the color deviation of the image and obtaining the accurate water color. The counterweight 30 is connected to the bottom of the bracket 10 through the connecting rod 31, and the water color acquisition unit 70 is fixed on the connecting rod 31. The water color acquisition unit 70 is immersed in the water through the counterweight 30 without affecting the balance of the bracket 10 on the water surface.
[0028] In this embodiment, the image acquisition unit 40 is a digital camera 41. The image acquisition unit 40 faces the plane where the bracket 10 is located and takes pictures of the water surface. The image acquisition unit 40 converts the optical image into electronic data for easy post-processing. The bracket 10 is a square frame. The bracket 10 is made of foam, so that the bracket 10 can float on the water surface. Due to the pulling effect of the pull rope 20, the stability of the position of the bracket 10 is guaranteed. The color contrast unit 50 is a standard color card 51, which is set at a corner of the bracket 10. The illumination detection unit 60 is an illumination meter 61, and the illumination meter 61 is arranged at another corner of the bracket 10. The standard color card 51 and the illumination meter 61 are both located in the same plane as the bracket 10, so as to ensure that the detected illumination value is the illumination of the water surface of the color to be extracted, and to ensure that the water surface image and the standard color card 51 image are obtained under the same shooting environment. At the same time, on the one hand, the color of the water body can be preliminarily judged according to the color of the standard color card 51, and on the other hand, the color value of the standard color card 51 on the digital image taken by the digital camera 41 and the standard color card 51 are actually Color value comparison can obtain the color deviation of the digital image, so as to obtain the accurate color value of the water body; the water body color acquisition unit 70 is a Secchi disk 71, and the Secchi disk 71 is provided with one or more, and multiple Secchi disks 71 are arranged on the connecting rod 31 at intervals, so as to obtain the color values of different depth positions of the water body, and the Secchi disks 71 are staggered on the projection plane of the bracket 10, that is, the digital camera 41 can capture each Secchi disk 71 when shooting from top to bottom. In this embodiment, the Secchi disk 71 is made of acrylic plate, which is light in weight and will not sink in water, and It is not easy to deform, ensuring the accuracy of the digital image taken; the connecting rod 31 in this embodiment is a wooden rod, which has large buoyancy on the one hand and ensures the fixation of the Secchi disk 71 and the connecting rod 31 on the other hand. In order to determine the height of the Secchi disk 71 under the water surface, a scale is provided on the connecting rod 31. By comparing the color value difference of water bodies at different depths, the color of the water body can be distinguished. The counterweight 30 is a metal rod, and the two ends of the metal rod are arranged in the middle of the side of the bracket 10 through the connecting rod 31, ensuring that the Secchi disk 71 can be immersed in the water body without affecting the balance of the bracket 10 on the water surface.
[0029] like Figure 4 As shown, the urban landscape water color extraction method using the extraction device in this application includes the following steps:
[0030] Step 1: Place the extraction device in water, and place the extraction device in a water area away from the reflection of nearby objects to prevent the reflection from affecting the color of the photographed water body. Place the digital camera above the water surface, the bracket floats on the water surface, and the Secchi disk and the counterweight are immersed below the water surface to ensure that the shooting environment of the standard color card is consistent with the surface of the water body. Adjust the digital camera to automatic white balance, focus the digital camera on the standard color card, and obtain a digital image.
[0031] Step 2: Using image processing software, extract the color value of each color block in the standard color card in the digital image obtained in step 1. The color value of the color block extracted from the digital image is the average value of the color value within the color block range. The image processing software used in this embodiment is ENVI software, which has professional spectral analysis and strong impact processing capabilities;
[0032] Step 3: Using the image processing software ENVI, the standard color value of the color block of the standard color card is compared with the color value of each color block of the standard color card in the digital image extracted in step 2, and the color of the photographed standard color card is compared with the color of the actual standard color card to obtain the color deviation correction coefficient;
[0033] Step 4, using ENVI software, correcting the color cast of the digital image obtained in step 1 according to the color cast correction coefficient obtained in step 3 to obtain the actual color of the water body;
[0034] Step 5: Extract the color value of the white disk of Secchi disk from the corrected digital image, that is, the color value of the water body at the depth of Secchi disk.
[0035] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.
Claims
1. A device for extracting the color of urban landscape water, characterized in that: It includes a bracket, a pull rope, a counterweight, an image acquisition unit, a chromaticity contrast unit, an illumination detection unit and a water color acquisition unit, wherein the pull rope is connected around the bracket to lift the bracket and ensure the balance of the bracket, the image acquisition unit is arranged above the bracket through the pull rope, the chromaticity contrast unit and the illumination detection unit are arranged on the plane where the bracket is located, the counterweight is connected to the bracket directly below through a connecting rod, the water color acquisition unit is fixed on the connecting rod, the chromaticity contrast unit is a standard color card, the standard color card is arranged at one corner of the bracket, the illumination detection unit is an illumination meter, the illumination meter is arranged at another corner of the bracket, the standard color card and the illumination meter are both located in the same plane as the bracket, and the water color acquisition unit is a Secchi disk, a plurality of Secchi disks are arranged, a plurality of Secchi disks are arranged on the connecting rod at intervals, and the Secchi disks are staggered on the projection plane of the bracket; The image acquisition unit is a digital camera, which converts the optical image into electronic data, extracts the color value of the water body after correction, and faces the plane where the bracket is located.
2. The urban landscape water color extraction device according to claim 1, characterized in that: The Secchi disk is made of an acrylic plate.
3. The urban landscape water color extraction device according to claim 1, characterized in that: The support is a square frame and is made of foam.
4. The urban landscape water color extraction device according to claim 1, characterized in that: The connecting rod is a wooden rod and is provided with a scale.
5. The urban landscape water color extraction device according to claim 1, characterized in that: The counterweight is a metal rod, and both ends of the metal rod are arranged in the middle of the side of the bracket through connecting rods.
6. A method for extracting the color of urban landscape water bodies using the extraction device according to any one of claims 1 to 5, characterized in that: The steps include: Step 1, placing the extraction device in water, so that the digital camera is above the water surface, the bracket floats on the water surface, and the Secchi disk and the counterweight are immersed below the water surface, adjusting the digital camera to automatic white balance, focusing the digital camera on the standard color card, and acquiring a digital image; Step 2, using image processing software to extract the color of each color block in the standard color card in the digital image obtained in step 1; Step 3, using the image processing software, the standard color value of the color block of the standard color card is compared with the color value of each color block of the standard color card in the digital image extracted in step 2 to obtain the color deviation correction coefficient; Step 4, using image processing software to correct the color cast of the digital image obtained in step 1 according to the color cast correction coefficient obtained in step 3; Step 5: Extract the color value of the Secchi disk from the corrected digital image.
7. A method for extracting the color of urban landscape water bodies as claimed in claim 6, characterized in that: The water area where the extraction device is located in step one is far away from the reflection of the near object. The color value of each color block of the standard color card in the digital image extracted in step two is the average value of the color value within the color block range. The image processing software is ENVI software.
