This application claims the priority of Chinese Patent Application No. 202210027897.1 filed with the China National Intellectual Property Administration on Jan. 11, 2022, and entitled “METHOD FOR EXTRACTING BLACK-ODOROUS WATER BODY BASED ON CART CLASSIFICATION MODEL”, the disclosure of which is incorporated by reference herein in its entirety.
The present disclosure relates to the technical field of environment monitoring, and in particular to a method for extracting a black-odorous water body based on a Classification & Regression Tree (CART) classification model.
Black-odorous water body is an extreme phenomenon caused by severe organic pollution of natural water bodies. The early research on the black-odorous water body mainly focused on chemical mechanism, such as the influence of specific pollutants on black and odor of rivers, the causes of black-odorous phenomenon of water bodies, black-odorous indexes, and black-odorous water body evaluation. However, in the field of remote sensing, the use of remote sensing means for analyzing, monitoring and evaluating the black-odorous water body is still in its infancy.
At present, the research foundation of remote sensing identification of black-odorous water bodies in China is still weak, few successful cases have been reported, and only Beijing, Nanjing, Shenyang and Taiyuan have conducted more systematic research and application. As most of the above work is based on the spectral difference between the black-odorous water body and clean water body in visible light band, through the construction of typical spectral feature indexes, the black-odorous water body is identified using a threshold segmentation method. For example, Wen Shuang et al. observed measured samples in Nanjing, compared various combinations of bands, and pointed out that a band ratio method can be used to better identify black-odorous water body: Yao Yue et al. constructed a BOI index (black-odor index) based on the band ratio method to identify black-odorous water bodies in Shenyang; Shen et al. thought that a purity method can be used to better identify different types of black-odorous water bodies; Li Jiaqi et al. carried out experiments and verifications in Taiyuan, proposed that a WCI index (water cleanliness index) can be used to better distinguish black-odorous water bodies from general water bodies, and also considered that when extracting black-odorous water bodies, the remote sensing interpretation marks (e.g., water color, water body width, the presence or absence of garbage dump, etc.) of water bodies also need to be combined besides spectral features, thus achieving better results. These methods have achieved good results when used in some large-scale regions, but there are still some shortcomings in the research and application of remote sensing identification of black-odorous water bodies, which are mainly reflected in the following aspects.
(1) Threshold selection relies excessively on expert experience and knowledge. In most of the above methods, empirical thresholds are set based on the observation of small samples, which is easily interfered by operators and samples. thus leading to non-objective and inconsistent threshold settings, which are prone to controversy.
(2) A single feature is used for classification in most of the above methods, but in many cases, since the spectral features of some black-odorous water bodies are similar to those of general water bodies, it is difficult to distinguish the black-odorous water bodies from the general water bodies directly using the single feature, resulting in low accuracy in identifying black-odorous water bodies from general water bodies.
To this end, an objective of some embodiments of the present disclosure is to provide a method for extracting a black-odorous water body based on a CART (classification and regression tree) classification model, which is used for solving the problems of insufficient objectivity in threshold setting of the black-odorous water body and less feature selection at present.
In order to achieve the above objective, the present disclosure provides the following solution.
A method for extracting a black-odorous water body based on a Classification and Regression Tree (CART) classification model, including the following steps:
Alternatively, the multiple sampling points in step 1) are designed according to a principle of random distribution.
Alternatively, the classification standard of urban black-odorous water body in step 2) at least satisfies one of relevant chemical indicator requirements as follows: transparency in a range of 0 cm to 25 cm, dissolved oxygen in a range of 0 mg/L to 2 mg/L, oxidation-reduction potential in a range of 0 mV to 50 mV, and ammonia nitrogen of not less than 8 mg/L.
Alternatively, a calculation formula of the Gini index in step 4) is:
where K is a number of contained categories, and px is a probability of a k-th category.
According to specific embodiments provided by the present disclosure, the following technical effects are obtained: in accordance with the method for extracting a black-odorous water body based on a CART classification model provided by the present disclosure, scientific research is conducted on training threshold and multi-feature black-odorous water body remote sensing identification, and an objective and standard technical system is established, thus reducing the uncertainty brought by subjective experience. Further, high-accuracy remote sensing identification of black-odorous water bodies is achieved by adopting multi-feature classification.
To describe the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and those of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The technical solutions in the embodiments of the present disclosure will be described below clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
To this end, an objective of some embodiments of the present disclosure is to provide a method for extracting a black-odorous water body based on a CART classification model, which is used for solving the problems of a lack of enough objectivity in threshold setting of the black-odorous water body and less feature selection at present.
To make the above-mentioned objective, features and advantages of the present disclosure more apparently, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As show in
In step 1), a research region is selected, and multiple sampling points are designed within the research region. As shown in
In step 2), relevant chemical indicators for a water body are monitored at each sampling point, respectively, remote sensing reflectance data of the water body are extracted and then sent to a laboratory together with the relevant chemical indicators, and a type of water body is determined according to a classification standard of relevant chemical indicators for an urban black-odorous water body. The relevant chemical indicators include transparency (SD), dissolved oxygen (DO), oxidation-reduction potential (ORP), and ammonia nitrogen (NH3-N). The classification of the urban black-odorous water bodies is as shown in Table 1.
In a case that a water body at a sampling point at least satisfies one of the relevant chemical indicator requirements as follows: transparency in a range of 0 cm to 25 cm, dissolved oxygen in a range of 0 mg/L to 2 mg/L, oxidation-reduction potential in a range of 0 mV to 50mV, and ammonia nitrogen of not less than 8 mg/L, the water body at the sampling point is a black-odorous water body.
In step 3), the remote sensing reflectance data extracted at various sampling points are compared and analyzed to obtain spectral change features of the black-odorous water body and a general water body, where the spectral change features include a reflectance difference value between a green band and a red band, a reflectance value of a near infrared band, and a sum of reflectance values of a visible light band. Corresponding remote sensing reflectance results are obtained according to the sampling point information, as shown in
In step 4), each node of a decision tree is constructed according to the spectral change features and based on the Gini index, as shown in
According to the classification results in Table 2, twenty-six sampling points were extracted from a confidence zone, twenty-four of which were determined correctly, thereby obtaining an accuracy of 92.30%; twenty sampling points were extracted from a fuzzy zone, sixteen of which were determined correctly, thereby obtaining an accuracy of 80.00%; therefore, the overall accuracy is 86.95%. Further, the obtained confusion matrix is shown in Table 3, and the kappa coefficient is 0.7281, indicating that the data have good consistency and the model accuracy is good. As shown in
A calculation formula of the Gini index in step 4) is:
where Gini(p) is the calculated Gini index, for a sample set D, the included category is k, and the probability that the sample belongs to the k-th category is denoted as pk. The extraction of black-odorous water body discussed in the embodiments of the present disclosure is a typical binary classification problem, namely, K=2:
Gini (p)=2p(1−p), where p=p1 or p=p2, p1 indicates the probability that the category is the general water body, p2 indicates the probability that the category is the black-odorous water body.
In step 5), the classification results are analyzed to obtain spatiotemporal distribution changes of black-odorous water bodies in the research region. In accordance with the present disclosure, for the same research region, the distribution of the black-odorous water bodies at different times is obtained through the CART classification model, and variations of the distribution of the black-odorous water bodies in the same research region over time is obtained by comparing the distribution of the black-odorous water bodies at different times.
According to the remote sensing monitoring results in April 2021, the spatial distribution features of black-odorous water bodies in Langfang City, Hebei Province, China were analyzed, and the classification results were resampled to 20 km×20 km. Afterwards, the number of black-odorous water bodies in each grid was counted, as shown in
In accordance with the method for extracting a black-odorous water body based on a CART classification model provided by the present disclosure, scientific research is conducted on training threshold and multi-feature black-odorous water body remote sensing identification, and an objective and standard technical system is established, thus reducing the uncertainty brought by subjective experience. Further, high-accuracy remote sensing identification of black-odorous water bodies is achieved by adopting multi-feature classification.
Embodiments of the present specification are described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments may refer to each other.
In this specification, some specific embodiments are used for illustration of the principles and implementations of the present disclosure. The description of the foregoing embodiments is used to help illustrate the method of the present disclosure and the core ideas thereof. In addition, those of ordinary skill in the art can make various modifications in terms of specific implementations and the scope of application in accordance with the ideas of the present disclosure. In conclusion, the content of this specification shall not be construed as limitations to the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202210027897.1 | Jan 2022 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/071317 | 1/9/2023 | WO |