A data-driven method for intelligently collecting spectra of hyperspectral image pixels
Through the data-driven intelligent collection method of hyperspectral image pixel spectra, the problem of efficient and accurate spectral data collection and database construction of ground objects is solved, the automatic collection and management of spectral data of large areas and large-scale ground objects is realized, and the efficiency is improved. Resource monitoring application efficiency.
Patent Information
- Application Number
- CN202410340393.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-25
AI Technical Summary
Existing technology is difficult to achieve efficient and accurate batch collection and database construction of ground object spectral data, especially in large areas and large scales, and does not match the data acquisition capabilities of hyperspectral satellite platforms, resulting in resource monitoring and application efficiency. low.
A data-driven method for intelligent spectral collection of hyperspectral image pixels is adopted, by configuring the spectral collection scheme, generating collection tasks, data acquisition and matching, intelligent spectral collection, collection point footprint generation, surface object type change detection and spectral data Quality inspection and other steps are carried out to realize automatic traversal scanning of massive hyperspectral images and intelligent storage of spectral data.
It improves spectral collection efficiency and data accuracy, reduces human errors, realizes automated batch collection and management of spectral data of large-area and large-scale ground objects, and supports rolling iterative updates of spectral data.
Smart Images

Figure CN118193767B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hyperspectral remote sensing, and in particular to a data-driven hyperspectral image pixel spectrum intelligent acquisition method. Background Art
[0002] As a kind of imaging technology that combines images and spectra, the hyperspectral data obtained is continuously imaged in narrow and continuous spectral bands, which can capture the fine spectral characteristics of objects at the nanometer level, bringing unprecedented opportunities for the accurate detection and identification of objects, and thus playing a very important role in resource survey, surface classification, environmental monitoring, target identification and other fields. In recent years, relevant institutions and organizations at home and abroad have gradually established spectral databases including spectra of typical objects such as vegetation, water bodies, rocks and minerals, soil, and artificial targets. The spectral data covers different types of objects and covers the visible light-near infrared, short-wave infrared, and some microwave spectrum ranges of objects. The spectral database has good interactivity and certain spectral analysis and processing capabilities, providing accurate and reliable ground object spectra and supporting parameter background data support for many fields such as geology, ecology, atmospheric science, payload demonstration, and information processing and extraction. With the continuous enrichment of hyperspectral satellite data sources and the urgent need for quantitative hyperspectral applications in natural resource monitoring in the new era, spectral databases have become the trend of development and application of land object spectral libraries in terms of complete coverage of land object types, standardized spectral data collection and complete supporting parameters, long time series characteristics and iterative update capabilities of typical land object target spectral data, and process-based application support for business links such as spectral data collection, management, data analysis, quantitative application model construction, and model application to hyperspectral data inversion. It has achieved knowledge-based support for land object spectral sample background for remote sensing quantitative inversion and monitoring applications of natural resource elements.
[0003] Traditional acquisition of ground object spectral data includes field measurement and measurement under laboratory conditions, which is one of the important ways to acquire spectral data in the construction of spectral library. Field measurement is to formulate a measurement plan based on the spectral data collection task, and it is necessary to consider the influence of various complex factors such as measurement environment and observation conditions on spectral measurement; during the measurement process, detailed records are made of environmental parameters, instrument parameters, basic attribute information such as the type of measured ground object target and its site conditions, and other physical and chemical attribute parameters. Laboratory measurement is to measure the spectral data of different types and different states of ground object type samples or samples collected under laboratory environmental conditions using a ground object spectrometer. During the indoor measurement process, detailed records are made of basic information such as environmental conditions, instrument parameters, and the type of samples or samples measured and the number of measurements. Traditional acquisition of ground object spectral data plays an important role in the data construction and quantitative application support of ground object spectral library, but its spectral data measurement often requires professional instruments and equipment, consumes huge manpower and material resources, and requires a long time period for measurement, which is not conducive to large-scale and large-scale, such as typical ground object target spectral data measurement at the national scale.
[0004] With the development of remote sensing technology, hyperspectral satellites have greatly improved in spectral resolution, spatial resolution and image quality. They have a wide observation range and high data acquisition timeliness. At present, there are four hyperspectral satellites in orbit in my country. With the combination of multiple satellites, the coverage capacity and acquisition cycle of satellite data have been unprecedentedly improved. Hyperspectral industry applications have entered the stage of aerospace hyperspectral from aviation hyperspectral. Under the condition of having the first-mover advantage of hyperspectral satellite data, it is urgent to establish application infrastructure such as ground feature spectral databases that match satellite platforms in view of the characteristics of hyperspectral data processing and application modes, so as to truly convert satellite capabilities into application results and realize the improvement of natural resource management technology by hyperspectral remote sensing technology. Therefore, how to build ground feature spectra and spectral databases that match satellite platforms and data acquisition capabilities, and realize accurate and efficient batch spectral data iterative collection that meets business needs, is an urgent problem to be solved in ground feature spectral data collection, database construction and hyperspectral satellite business applications at a large regional scale. Summary of the invention
[0005] The present invention aims at the problem of batch collection of ground object spectral data matching with a hyperspectral satellite platform, and provides a data-driven intelligent collection method for hyperspectral image pixel spectra, which not only realizes the detection and comparison of ground object types based on the vector point position data of the central collection point of a large number of homogeneous ground object spectral samples (hereinafter referred to as the collection point) and the corresponding front-phase and rear-phase hyperspectral image data and high spatial resolution image data, but also detects and judges whether the ground object type corresponding to the collection point has changed and marks the attribute change; it also realizes intelligent pixel spectrum collection, spectrum quality inspection and spectrum data storage through full-automatic traversal scanning of the collection point and massive hyperspectral satellite images; it also has the ability to automatically judge the newly added collection point data and supplement the collected spectrum data, improves the pixel spectrum collection efficiency and the accuracy of the collected spectrum sample data, and facilitates the automatic batch collection and storage of homogeneous ground object target pixel spectrum data of multi-load and multi-phase massive hyperspectral image data in large areas and large ranges.
[0006] In order to achieve the above object, the technical solution provided by the present invention is a data-driven hyperspectral image pixel spectrum intelligent acquisition method, comprising the following steps:
[0007] Step 1: Configure a spectrum acquisition plan. Based on the predefined plan template and the actual intelligent spectrum acquisition task requirements, configure a spectrum acquisition plan suitable for a specific scenario.
[0008] Step 2, generating a spectrum acquisition task, according to the data resource automatic scanning plan preset in the spectrum acquisition scheme, detecting the update of data such as hyperspectral images, high spatial resolution multispectral images, and spectrum acquisition points from the pre-configured data resource directory, if there are new images or new acquisition points, initiating a new spectrum acquisition task based on data drive, and recording the spectrum acquisition log during the whole process of task execution;
[0009] Step 3: Data acquisition and matching: Update the detection results and spectral acquisition logs based on the images or acquisition points to obtain the initial data set that needs to be updated. Through spatial overlay analysis, match the acquisition point data with the hyperspectral image and high spatial resolution multispectral image to form a complete data set for spectral acquisition.
[0010] Step 4: Intelligent spectrum acquisition, based on the formulation of spectrum acquisition rules covering complex acquisition points and massive hyperspectral image pixels, automatic acquisition and attribute acquisition based on massive hyperspectral images according to the acquired acquisition tasks;
[0011] Step 5: Generate the footprint of the spectrum collection point. Generate a high spatial resolution footprint image centered on the collection point according to the coordinates of the collection point. The format is JPG and the size is 256x256 or 512x512 pixels (other sizes are also supported), so as to provide surrounding environment reference information for the spectrum data of the collection point.
[0012] Step 6: Detection of changes in the type of objects at the acquisition point. According to the acquisition point set in the acquisition plan, the image phase of this acquisition and the image of the previous phase are used to detect changes in the type of objects corresponding to the point positions. It is determined whether the type of the objects corresponding to the same acquisition point position in the previous and next phases has changed. If there is no change, the original object attribute value is maintained. If there is a change, a new object type attribute field is added to the acquisition point attribute table, and it is marked as pending verification in the corresponding object attribute verification status attribute field column.
[0013] Step 7, spectral data quality inspection and storage, matching the collected pixel spectrum with the typical ground feature standard spectrum, and checking whether the spectral similarity is lower than a preset threshold; based on the inspection results, deciding to manually review the spectral data quality or store the spectral data and attribute information in the database;
[0014] Among them, the configuration of the spectral acquisition plan described in step 1 configures various parameters of the spectral acquisition plan according to the operation requirements and hyperspectral image data conditions, including a hyperspectral image directory, a high spatial resolution image directory, a collection point data directory, a field feature attribute survey record table directory, a scheduled scanning plan, a feature classification plan, data verification rules, database connection parameters, a spectral sampling point footprint output directory, a spectral acquisition log, etc.
[0015] Among them, the generation of spectral acquisition tasks in step 2 is to regularly scan the relevant directories involved in the spectral acquisition scheme according to the scheduled scanning plan in the spectral acquisition scheme, and compare the spectral acquisition log to find out whether there are new images or new acquisition point data, so as to decide whether to generate new acquisition tasks; according to the data acquisition logic determined by the new acquisition point scene and the new image scene, the spatial range of the acquisition point and the image are matched to generate the pairing relationship between the acquisition point and the acquired image. The spectral acquisition task is generated based on the pairing relationship between the acquisition point and the image, and the task is identified according to the rule of "acquisition batch + measurement point number + update time + image name", and the acquisition status and storage status are monitored.
[0016] The collection point data is interpreted according to the judgment rule of the "measurement point number + update time" field to determine whether there is any new collection point data information; the hyperspectral image is traversed according to the "image name" judgment rule to complete the image interpretation and determine whether there is any new image information.
[0017] The data acquisition and matching method described in step 3 is to complete data matching by setting a certain scanning frequency (unit: day) according to the affiliation relationship between the acquisition point information and the spatial position of the hyperspectral image. The main scenarios are as follows:
[0018] (1) If there are no new acquisition points but new hyperspectral images, the location information of the acquisition points is automatically obtained to determine the affiliation with the hyperspectral images, and the point information on each hyperspectral image is matched according to the rule of "acquisition batch + measurement point number + update time + image name" to complete the data matching;
[0019] (2) If there are new collection points but no new hyperspectral images, the location information of the new collection points is obtained to determine their affiliation with the hyperspectral images, and the new point information on each hyperspectral image is matched according to the rule of "collection batch + measurement point number + update time + image name";
[0020] (3) If there are new collection points and new hyperspectral images, the location information of the newly added collection points is obtained to determine their affiliation with the hyperspectral image, and the affiliation between the unchanged collection point information and the newly added hyperspectral image. The collection point information located on each hyperspectral image is matched according to the rule of "collection batch + measurement point number + update time + image name".
[0021] Among them, the spectral intelligent acquisition method described in step 4 obtains the coordinates of the corresponding acquisition point and the matching hyperspectral image by analyzing the generated acquisition task, and compares the information by retrieving the data in the information database to determine whether the task is repeated. If not, the pixel spectrum of the target acquisition point is collected based on the target hyperspectral image; the same acquisition point supports single-point sampling and multi-point sampling. Generally, single-point sampling is applied when the area of homogeneous objects is small, and multi-point sampling is applied when the area of homogeneous objects is large, usually 3*3 pixels, that is, 9 adjacent pixel points are sampled with the acquisition point as the center.
[0022] Among them, the spectral acquisition point footprint generation method described in step 5 reads the high-resolution multispectral image data with the same or similar imaging phase corresponding to the hyperspectral image data used to acquire pixel spectral data according to the acquisition point coordinates, and crops the image of specified specifications with the acquisition point coordinates as the center, and converts it into a JPG format image, which is entered into the database together with the acquisition point pixel spectral data; the image is named in accordance with the naming of the acquisition point pixel spectral sampling data.
[0023] Among them, the method for detecting changes in the type of objects at the collection point described in step 6 detects change information by comparing the hyperspectral images and high spatial resolution multispectral images of the previous and next phases. First, the spectral angle is calculated based on the hyperspectral image to evaluate the spectral similarity of the objects at the same collection point position at the previous and next phases; then, based on the high spatial resolution cropped image generated for the collection point footprint in step 5, the scale segmentation technology is used to divide the image into homogeneous objects with the same properties, and then the shape, texture, spectral similarity and other features of the object are used to detect changes in the object using appropriate thresholds or change vector analysis methods. The method for calculating the spectral angle is as follows:
[0024] Assume that there are two spectral curves R with N bands. f and R b , and R f =(R f (1),R f (2),
[0025] R f (3),…,R f (N)), R b =(R b (1),R b (2),R b (3),…,R b (N)). For the spectral curve R f and R b , its spectral angle can be expressed as:
[0026]
[0027] Where N represents the number of bands of the spectral curve, R f , R b are the pixel spectral curves at the same acquisition point on the hyperspectral image of the previous phase and the next phase, respectively. f (i) R b (i) are the spectral reflectance values of the pixel spectral curve at the same acquisition point position on the hyperspectral image of the previous phase and the next phase in the i-th band. The smaller the SA value, the closer the cosine value is to 1, and the more similar the two spectral curves are. The spectral angle compares the similarity of the spectra in shape from the perspective of the vector angle, which can make full use of the spectral dimension information of the hyperspectral image and determine the pixel change information in the images of different phases from the similarity of the spectral curves.
[0028] Among them, the method for checking the quality of spectral data and storing it in the database described in step 7, by parsing the spectral value file (.mdl) and the attribute file (.scp), obtains spectral attribute information, spectral data and image file data, and performs quality inspection on the attribute information content of the spectrum, that is, matches the pixel spectrum with the typical ground object standard spectrum, uses the spectral angle and correlation coefficient as the evaluation indicators of spectral similarity, sets a threshold, screens out the spectrum with a low matching degree with the typical ground object standard spectrum, matches the spectral attributes with the spectrum with a high matching degree with the typical ground object standard spectrum according to the attribute framework to complete the spectral data storage, and does not store the spectrum with a matching degree lower than the threshold in the database, but gives corresponding matching statistical reminder information.
[0029] The present invention provides a data-driven intelligent spectrum acquisition method for hyperspectral image pixel, which has the advantages and functions of: the method can simultaneously realize full-automatic traversal scanning of a large number of target acquisition point data and massive hyperspectral images, reduce the influence of factors such as human errors and acquisition speed, realize intelligent spectrum acquisition, spectrum quality inspection and spectrum results storage, have the ability to automatically judge the newly added acquisition point data and supplement the spectrum acquisition, and facilitate the intelligent management of spectrum data and the rolling iterative update of spectrum data. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 The following is a business process diagram of an embodiment of the present invention.
[0031] Figure 2 The present invention is a functional design flow chart of an embodiment of the present invention.
[0032] Figure 3 This is a diagram of target acquisition point data and attribute field information according to an embodiment of the present invention.
[0033] Figure 4 4 is a spectrum acquisition process diagram of an embodiment of the present invention.
[0034] Figure 5a , Figure 5b This is a footprint diagram of an embodiment of the present invention.
[0035] Figure 6a , Figure 6b This is a location map for detecting changes in land feature types according to an embodiment of the present invention.
[0036] Figure 6c , Figure 6d This is a spectrum comparison diagram for detecting a change in ground feature type according to an embodiment of the present invention.
[0037] Figure 6e The figure is a schematic diagram of a high spatial resolution multispectral imagery ground object type change detection process according to an embodiment of the present invention.
[0038] Figure 7aThis is an example diagram of pixel spectrum quality inspection according to an embodiment of the present invention.
[0039] Figure 7b This is a diagram of the pixel spectrum storage process according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present invention provides a data-driven method for intelligently collecting spectra of hyperspectral image pixels. The method can simultaneously realize a large amount of target collection point data and fully automatic traversal scanning of massive hyperspectral images, can realize intelligent spectrum collection, spectrum quality inspection and spectrum results storage, can improve the spectrum collection speed, reduce human errors, and facilitate the intelligent collection and management of spectrum data. Taking the intelligent collection of hyperspectral image pixel spectra at target locations in the experimental area of Haixi Mongolian and Tibetan Autonomous Prefecture, Qinghai Province as an example, the technical solution of the present invention is further explained in combination with the accompanying drawings and embodiments.
[0041] The process of the embodiment of the present invention is as follows Figure 1 As shown in Figure 2, the functional design process is as follows: Figure 2 As shown, the following steps are included:
[0042] Step 1, prepare hyperspectral images, high spatial resolution multispectral images, collection point data, field feature attribute survey record sheets, scheduled scanning plans, feature classification schemes, data verification rules, database connection parameters, spectral sampling point footprint output directory, spectral collection logs, etc., and configure various parameters of the spectral collection scheme according to the operational requirements and the current status of hyperspectral image resources. Among them, the scheduled scanning plan is set to scan once every 2 days, the feature classification scheme adopts the spectral collection feature classification scheme, including vegetation, soil, water, rock, mineral, ice and snow frozen soil and other types of features, the data verification rules adopt the default verification method, and check the integrity and standardization of each attribute, the database connection parameters select the local database for connection, and set the corresponding input directory path, including hyperspectral images, high-resolution images, collection point data and other paths, set the corresponding input directory path, including the spectral sampling point footprint path, the spectral collection log path;
[0043] Step 2: According to the data resource automatic scanning plan preset in the spectrum acquisition plan described in step 1, a scan is performed every 2 days to detect the update of data such as hyperspectral images, high spatial resolution multispectral images, and spectrum acquisition points. If there are new images or new acquisition points, a new acquisition task is generated; the spectrum is named according to the rule of "acquisition batch + measurement point number + update time + image name". The specific steps include the following:
[0044] Step 2.1, according to the scheduled scanning plan in the spectrum acquisition plan, regularly scan the relevant directories involved in the spectrum acquisition plan, and compare the spectrum acquisition log. If there is a new image or new acquisition point data, generate a new acquisition task;
[0045] Step 2.2, according to the data collection logic of the newly added collection point scene and the newly added image scene, the spatial range of the collection point and the image are matched to generate a pairing relationship between the collection point and the collected image;
[0046] Step 2.3, generate acquisition tasks based on the pairing relationship between acquisition points and images. Tasks are identified according to the rule of "acquisition batch + measurement point number + update time + image name", and the acquisition status and storage status are monitored. The spectrum acquisition log is recorded throughout the process.
[0047] Step 3: Update the detection results and spectral collection logs based on the image or collection point to obtain the initial data set that needs to be updated. Through spatial overlay analysis, match the collection point data with the hyperspectral image and high spatial resolution multispectral image to form a complete data set for spectral collection. This includes the following scenarios:
[0048] (1) If there are no new acquisition points but new hyperspectral images, the location information of the acquisition points is automatically obtained to determine the affiliation with the hyperspectral images, and the point information on each hyperspectral image is matched according to the rule of "acquisition batch + measurement point number + update time + image name" to complete the data matching;
[0049] (2) If there are new collection points but no new hyperspectral images, the location information of the new collection points is obtained to determine their affiliation with the hyperspectral images, and the new point information on each hyperspectral image is matched according to the rule of "collection batch + measurement point number + update time + image name";
[0050] (3) If there are new collection points and new hyperspectral images, the location information of the newly added collection points is obtained to determine their affiliation with the hyperspectral image, and the affiliation between the unchanged collection point information and the newly added hyperspectral image. The collection point information located on each hyperspectral image is matched according to the rule of "collection batch + measurement point number + update time + image name".
[0051] Step 4: According to the spectrum collection rules in step 1 and the spectrum collection tasks in step 2, automatic spectrum collection and attribute acquisition are performed. The target collection point data and attribute field information are as follows: Figure 3By analyzing the acquisition task, the acquisition point coordinates and matching hyperspectral images corresponding to the test area in Haixi Mongolian and Tibetan Autonomous Prefecture, Qinghai Province are obtained, and the information is compared by retrieving the data in the information database to determine whether the task is repeated. If it is not repeated, the pixel spectrum of the target acquisition point is collected based on the target hyperspectral image. Combined with the distribution of surface objects in the test area in the embodiment, a single-point sampling method is used. The spectrum acquisition process is as follows Figure 4 As shown;
[0052] Step 5: Based on the acquisition point coordinates, read the high spatial resolution multispectral image with the same phase as the coverage of the high spectral image data of the pixel spectrum collected this time, crop the image of the specified specifications with the acquisition point coordinates as the center, and convert it into a JPG format image, which is entered into the database together with the pixel spectrum data of the acquisition point, and the size specification is uniformly set to 512×512 pixels; the image name is consistent with the naming of the pixel spectrum sampling data of the acquisition point, and the footprints of the water body points and soil points in the test area are as follows: Figure 5a , Figure 5b As shown;
[0053] Step 6: Perform ground object type change detection corresponding to the same collection point position based on the collection point set in the collection plan and the image phase of this collection and the image of the previous phase. In the embodiment, the image data of the previous and next phases used for ground object type change detection are June 2021 and May 2022 respectively. Figure 6a , Figure 6b The point on the upper left of the image is point 1, and its ground object type is all vegetation. The point in the center of the image is point 2, and its ground object type changes from vegetation to soil. First, the spectral angle is calculated based on the hyperspectral image. The spectral curve of point 1 is compared with Figure 6c As shown; the spectral curve comparison of point 2 is Figure 6d As shown; secondly, based on the high spatial resolution cropped image generated for the footprint of the acquisition point in step 5, the scale segmentation technology is used to divide the image into homogeneous objects with the same properties, and then the feature information such as the GLCM mean, GLCM variance, GLCM contrast and spectral similarity of the object is extracted, and the object-oriented random forest classification method is used for classification, and finally the ground object type change detection is realized. The high spatial resolution cropped image ground object type change detection processing flow chart is shown in Figure 6e shown.
[0054] After the detection of changes in the type of land objects, the spectral similarity of point 1 based on hyperspectral image detection is high, and the classification results based on high spatial resolution multispectral image detection are consistent. The type of land object has not changed, and the original land object attribute value is maintained; the spectral similarity of point 2 based on hyperspectral image detection is low, and the classification results based on high spatial resolution multispectral image detection are inconsistent. The land object type has changed, and it is updated to the new land object type in the land object type change attribute field column of the collection point attribute table, and is marked as pending verification in the corresponding land object attribute verification status attribute field column.
[0055] Step 7: The collected pixel spectrum R p Compared with the typical ground feature standard spectrum R s Matching is performed, and the spectral angle and correlation coefficient are used as evaluation indicators of spectral similarity. The smaller the spectral angle SA value is, the closer the cosine value is to 1, and the higher the similarity between the spectra. The calculation formula is as follows:
[0056]
[0057] The correlation coefficient R ranges from 0 to 1. When the correlation coefficient is 1, the spectra are most consistent. The calculation formula is as follows:
[0058]
[0059] In the above two formulas, N represents the number of bands of the spectral curve, R s (i), R p (i) represent the reflectance values of the typical ground object standard spectrum and the collected pixel spectrum at the i-th band, respectively; For R p The mean of For R s The mean of .
[0060] The thresholds are set to 2° and 95% respectively, and the spectral angle and correlation coefficient are checked to see if they are lower than the similarity threshold; that is, the spectral angle of the spectral data should be less than 2°, and the correlation coefficient should be greater than 95%. According to the inspection results, the spectra with a higher degree of match with the standard spectra of typical land objects are matched with the spectral attributes according to the attribute framework to complete the spectral data storage. Those with a match degree lower than the threshold are not stored in the database, but corresponding matching statistical reminder information is given. In this test area, a total of 2,000 pixel spectral data were collected, including 1,429 vegetation spectra, 89 rock and mineral spectra, 58 soil spectra, 106 water spectra, 305 artificial target spectra, and 13 ice and snow frozen soil spectra. After quality inspection, unqualified spectral data include cloud spectra and abnormal spectra, and valid spectral data account for 92.65% of the total number of spectra. Finally, 1,853 spectra were stored. The process of pixel spectral data quality inspection and spectrum storage is as follows. Figure 7a , Figure 7b As shown, Figure 7a It is the spectrum curve 1 to be checked for quality (dark gray curve), the spectrum curve 2 to be checked for quality (light gray curve), the mean value (black curve) and the standard deviation (gray strip) of a type of vegetation spectrum in the typical standard spectrum library. The ground object types of the spectrum curves to be checked for quality are all vegetation spectra. After the spectrum quality inspection, the spectrum curve 1 to be checked for quality has a high degree of match with the typical standard spectrum, and the spectrum is finally put into the library; while the spectrum curve 2 to be checked for quality has a low degree of match with the typical standard spectrum. After manual verification, it is actually a soil spectrum, and the spectrum is put into the library after the attribute modification and update.
[0061] In addition to the above embodiments, the present invention may also have other implementation modes. Any technical solution formed by equivalent replacement or equivalent transformation falls within the protection scope required by the present invention.
Claims
1. A data-driven method for intelligently collecting spectra of hyperspectral image pixels, characterized in that: The following steps are involved: Step 1: Configure a spectrum acquisition plan. Based on the predefined plan template and the actual intelligent spectrum acquisition task requirements, configure a spectrum acquisition plan suitable for the scenario. Step 2, generating a spectrum acquisition task, according to the preset data resource automatic scanning plan in the spectrum acquisition scheme, detecting the update of the data of the hyperspectral image, high spatial resolution multispectral image, and spectrum acquisition point from the pre-configured data resource directory, if there are new images or new acquisition points, initiating a new spectrum acquisition task based on data drive, and recording the spectrum acquisition log during the whole process of task execution; Step 3: Data acquisition and matching: Update the detection results and spectral acquisition logs based on the images or acquisition points to obtain the initial data set that needs to be updated. Through spatial overlay analysis, match the acquisition point data with the hyperspectral image and high spatial resolution multispectral image to form a complete data set for spectral acquisition. Step 4: Intelligent spectrum acquisition, based on the formulation of spectrum acquisition rules covering complex acquisition points and massive hyperspectral image pixels, automatic acquisition and attribute acquisition based on massive hyperspectral images according to the acquired acquisition tasks; Step 5: Generate the footprint of the spectrum collection point. According to the coordinates of the collection point, generate a high spatial resolution footprint image centered on the collection point. The format is JPG and the size is 256x256 or 512x512 pixels, providing surrounding environment reference information for the spectrum data of the collection point. Step 6: Detection of changes in the type of objects at the acquisition point. According to the acquisition point set in the acquisition plan, the image phase of this acquisition and the image of the previous phase are used to detect changes in the type of objects corresponding to the point positions. It is determined whether the type of the objects corresponding to the same acquisition point position in the previous and next phases has changed. If there is no change, the original object attribute value is maintained. If there is a change, a new object type attribute field is added to the acquisition point attribute table, and it is marked as pending verification in the corresponding object attribute verification status attribute field column. Step 7, spectral data quality inspection and storage, matching the collected pixel spectrum with the typical ground feature standard spectrum, and checking whether the spectral similarity is lower than a preset threshold; based on the inspection results, deciding to manually review the spectral data quality or store the spectral data and attribute information in the database; The data acquisition and matching described in step 3 is completed by setting a certain scanning frequency and matching the data according to the affiliation relationship between the acquisition point information and the spatial position of the hyperspectral image. The scenario is as follows: (1) If there is no new acquisition point but a new hyperspectral image, the location information of the acquisition point is automatically obtained to determine the affiliation with the hyperspectral image, and the point information on each hyperspectral image is matched according to the "acquisition batch + measurement point number + update time + image name" rule; (2) If there are new acquisition points but no new hyperspectral images, the location information of the new acquisition points is obtained to determine their affiliation with the hyperspectral images, and the new point information on each hyperspectral image is matched according to the "acquisition batch + measurement point number + update time + image name" rule; (3) If there are new collection points and new hyperspectral images, the location information of the newly added collection points is obtained to determine their affiliation with the hyperspectral image, and the affiliation between the unchanged collection point information and the newly added hyperspectral image. The collection point information located on each hyperspectral image is matched according to the "collection batch + measurement point number + update time + image name" rule; Among them, the intelligent spectral acquisition described in step 4 obtains the coordinates of the corresponding acquisition points and the matching hyperspectral images by analyzing the generated acquisition tasks, and compares the information by retrieving the data in the information database to determine whether the tasks are repeated. If not, the pixel spectrum of the target acquisition point is collected based on the target hyperspectral image; the same acquisition point supports single-point sampling and multi-point sampling. Single-point sampling is applied when the area of homogeneous objects is small, and multi-point sampling is applied when the area of homogeneous objects is large. It is 3*3 pixels, that is, 9 adjacent pixel points are sampled with the acquisition point as the center.
2. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 1, characterized in that: The spectral acquisition scheme described in step 1 is configured according to the job requirements and hyperspectral image data conditions, and the various parameters of the spectral acquisition scheme are configured, including the hyperspectral image directory, high spatial resolution image directory, acquisition point data directory, field feature attribute survey record table directory, scheduled scanning plan, feature classification scheme, data verification rules, database connection parameters, spectral sampling point footprint output directory and spectral acquisition log.
3. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 1, characterized in that: The generation of the spectral acquisition task described in step 2 is to regularly scan the relevant directories involved in the spectral acquisition plan according to the scheduled scanning plan in the spectral acquisition plan, and compare the spectral acquisition log to find out whether there are new images or new acquisition point data, so as to decide whether to generate a new acquisition task; according to the data acquisition logic determined by the new acquisition point scene and the new image scene, the spatial range of the acquisition point and the image are matched, and the pairing relationship between the acquisition point and the acquired image is generated; based on the pairing relationship between the acquisition point and the image, the spectral acquisition task is generated, and the task is identified according to the rule of "acquisition batch + measurement point number + update time + image name", and the acquisition status and storage status are monitored.
4. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 3, characterized in that: The acquisition point data is interpreted according to the judgment rule of the "measurement point number + update time" field to determine whether there is new acquisition point data information; the hyperspectral image is traversed according to the "image name" judgment rule to complete the image interpretation and determine whether there is new image information.
5. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 1, characterized in that: The spectral acquisition point footprint described in step 5 is generated by reading, according to the acquisition point coordinates, the high-resolution multispectral image data with the same or similar imaging phase corresponding to the hyperspectral image data used to acquire the pixel spectral data, cropping out the image of specified specifications with the acquisition point coordinates as the center, and converting it into a JPG format image, which is entered into the database together with the acquisition point pixel spectral data; the image is named in accordance with the naming of the acquisition point pixel spectral sampling data.
6. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 1, characterized in that: The detection of the change of the type of the collected object at step 6 is performed by comparing the hyperspectral images and high spatial resolution multispectral images of the previous and next phases to detect the change information. First, the spectral angle is calculated based on the hyperspectral image to evaluate the spectral similarity of the object at the same collection point position before and after the previous and next phases. Then, based on the high spatial resolution cropped image generated for the footprint of the acquisition point in step 5, the scale segmentation technique is used to divide the image into homogeneous objects with the same properties, and then the shape, texture, and spectral similarity features of the object are used to detect the change of the object using appropriate thresholds or change vector analysis methods.
7. The method for intelligently collecting spectra of hyperspectral image pixels based on data drive according to claim 6, characterized in that: The spectral angle is calculated as follows: Assume there are two spectral curves R with N bands f and R b , and R f =(R f (1),R f (2),R f (3),…,R f (N)), R b =(R b (1),R b (2),R b (3),…,R b (N)); for the spectral curve R f and R b , its spectral angle is expressed as: Where N represents the number of bands of the spectral curve, R f , R b are the pixel spectral curves at the same acquisition point on the hyperspectral image of the previous phase and the next phase, respectively. f (i) R b (i) are the spectral reflectance values of the pixel spectral curve at the same acquisition point position on the hyperspectral image of the previous phase and the next phase in the i-th band; the smaller the SA value, the closer the cosine value is to 1, and the more similar the two spectral curves are; The spectral angle compares the similarity of spectra in shape from the aspect of vector angle, which can make full use of the spectral dimension information of hyperspectral images and determine the pixel change information in images of different phases from the similarity of spectral curves.
8. The method for intelligently collecting spectra of hyperspectral image pixels based on data-driven according to claim 1, characterized in that: The spectral data quality inspection and storage described in step 7 is to obtain spectral attribute information, spectral data and image file data by parsing the spectral value file and the attribute file, and perform quality inspection on the attribute information content of the spectrum, that is, to match the pixel spectrum with the typical ground object standard spectrum, use the spectral angle and correlation coefficient as the evaluation index of spectral similarity, set a threshold, screen out the spectrum with a low matching degree with the typical ground object standard spectrum, and match the spectral attributes of the spectrum with a high matching degree with the typical ground object standard spectrum according to the attribute framework to complete the spectral data storage. For those with a matching degree lower than the threshold, they are not stored in the database, but corresponding matching statistical reminder information is given.
