A hyperspectral wet state correction method for high-humidity open-air sandstone cultural relics
By using path-material connectivity units and segmented wet response trajectories, the problems of misjudgment and loss of material differences in the spectral correction of high-humidity open-air sandstone cultural relics were solved, and accurate spectral correction and disease identification were achieved.
Patent Information
- Application Number
- CN202611439404.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-11-24
AI Technical Summary
Existing hyperspectral technology cannot effectively distinguish between spectral differences in wet conditions and spectral differences caused by damage when processing exposed sandstone artifacts in high humidity. This leads to misjudgments and loss of material difference information. Furthermore, the fixed reference plate fails in wet conditions, making it impossible to accurately correct spectral data under high humidity environments.
By establishing path-material connectivity units and segmented wet response trajectories, wet spectral components are reduced while non-wet differences are preserved, and cross-material overcorrection and abrupt changes in moisture path compensation are avoided. An engineering processing framework is adopted, which includes hard admission of key data, downgrading of auxiliary evidence, local normalization, amplitude compensation, and standardized output.
It enables accurate calibration of spectral data in high humidity environments, avoids misjudgment of defects, preserves material difference information, reduces the risk of moisture damage to the fixed reference surface, and improves the reliability and accuracy of calibration results.
Smart Images

Figure CN123160402A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cultural relic image processing technology, specifically to a hyperspectral wet correction method for high-humidity open-air sandstone cultural relics. Background Technology
[0002] Hyperspectral technology has been gradually applied to the identification of defects in stone cultural relics, weathering grading, moisture content analysis, and defect distribution mapping. It can automatically segment and intelligently identify defective areas, and further generate defect distribution maps, weathering grade maps, and spatial distribution maps of moisture content, achieving a visual representation of the defects. For open-air sandstone cultural relics, especially large stone statues exposed to high humidity, rainfall, and condensation environments for extended periods, their hyperspectral data are highly sensitive to the on-site environment. This is manifested in the surface spectrum being easily affected by multiple factors such as water film, localized seepage, shadows, changes in lighting, evaporation processes, and material differences. Furthermore, residual moisture after rain can reduce the reflectivity of some near-infrared bands, condensation can form localized water films accompanied by specular highlights, and long-term seepage can cause continuous compression of the local spectral baseline and absorption patterns. For large open-air sandstone cultural relics with top platforms, depressions, fissures, vegetation cover, and historical repair areas, moisture can also form spatially continuous action paths along surface slopes, fissures, or material interfaces.
[0003] Existing hyperspectral data preprocessing typically includes dark field correction, whiteboard correction, smoothing, and noise reduction. These processes primarily address instrument background, illumination reference, and random noise, and cannot directly answer whether the current batch is in a state of post-rain evaporation, condensation risk, or active water seepage, nor can they determine whether a particular reference patch is still suitable as a high-confidence correction reference for this batch. If wetted data is directly fed into a disease identification model, the model may easily misinterpret spectral differences caused by wet conditions as differences in disease conditions.
[0004] Furthermore, the surface of exposed sandstone artifacts is not a single material. The original sandstone, repair materials, and biofilm background have different pore structures and wet spectral responses. If a uniform wet-dry transition or a uniform compensation rule is adopted, it may reduce the differences in wet conditions while weakening the material differences that should be preserved between the original sandstone and the repair materials.
[0005] Furthermore, the fixed healthy reference patch may also be subjected to the same top runoff, dampness, or seepage as the target area in the current collection batch. If the reference patch is not re-evaluated and normalization or standard domain mapping is directly performed using historically valid references, a situation of "wetted reference correcting wetted target" will occur. For areas with strong highlights, continuous open water, and deep shadows, the spectrum itself can no longer stably characterize the material's reflectance features, and forced compensation may amplify the error.
[0006] Therefore, we cannot simply convert the entire wet spectrum into a dry spectrum. Instead, we need to determine which data can be included in high-confidence correction, what reference and what wet laws determine the correction direction, the extent to which the correction intensity should be limited, and whether the corrected results are still reliable, given that key data and supporting evidence may be incomplete, wet conditions have spatial propagation, material responses differ, and the target spectrum may contain non-wet information. Summary of the Invention
[0007] The purpose of this invention is to provide a hyperspectral wet correction method for exposed sandstone artifacts with high humidity. By establishing a path-material connectivity unit and a segmented wet response trajectory, the method reduces spectral components that can be explained by the current wet state, while preserving non-wet state differences and avoiding overcorrection across materials and abrupt compensation along the moisture path.
[0008] To achieve the above objectives, this application proposes the following solution: On the one hand, this application provides a hyperspectral wet correction method for high-humidity open-air sandstone cultural relics, specifically including the following steps: S1. Obtain the original spectral data and environmental auxiliary data of sandstone cultural relics images from the same batch of acquisitions, and spatially register the sandstone cultural relics images with the preset body partition labeling map and material partition labeling map, and mark the corresponding body area and material area in the sandstone cultural relics images, and calculate the initial reflectance based on the spatially registered original spectral data. S2. Identify wet events and determine the water action path based on the initial reflectivity and environmental auxiliary data. Spatially overlap the water action path with the spatially registered body region and material region to form a path material connectivity unit. S3. Extract the health reference patch corresponding to the path material connected unit material from the preset health reference patch set, determine its validity in the current collection batch, perform local normalization on the path material connected unit with valid health reference patches, and select multiple reference patches of the same material with different wet states from the valid health reference patches to construct a segmented wet response trajectory. S4. Project the spectrum of the target pixel with correction conditions within the path material connected unit onto the segmented wet response trajectory to obtain the wet trajectory component. S5. Under the constraints of path continuity and material preservation, the amplitude compensation and spectral quality check of the wet trajectory components of each target pixel are performed, and the standardized spectrum that meets the conditions and the state label corresponding to each target pixel are finally output.
[0009] In some specific technical solutions, the raw spectral data includes hyperspectral data, dark field data, and whiteboard data, while the environmental auxiliary data includes thermal imaging data, geometric models, and environmental fields. The specific process for calculating the initial reflectance is as follows: S11. Determine whether each data belongs to the same allowed time window based on the collection timestamp; S12. Map the data within the same allowed time window to the sandstone artifact image, and mark the data that can establish a spatial correspondence as available; using the hyperspectral data coordinates as a reference, map the thermal image data, geometric model, preset ontological partition annotation map, material partition annotation map, and health reference patch set to the same pixel coordinates of the sandstone artifact image; S13. Mark the available hyperspectral data, dark field data, and whiteboard data as key data, and mark the environmental fields, as well as the available thermal imaging data and geometric models as auxiliary data. S14. When all key data are available and the difference between the whiteboard data and the dark field data meets the reflectance calculation conditions, perform dark field subtraction and whiteboard normalization on the hyperspectral data based on the dark field data and the whiteboard data, and calculate the initial reflectance and the quality control mask.
[0010] In some specific technical solutions, the process of determining the water action pathway is as follows: S21. Extract wet spectral features from the effective band of the initial reflectance, determine wet events based on the wet spectral features and auxiliary data, identify the main wet event, and calculate the pixel wet score. S22. Based on the main wet event, detect the source region of moisture action by combining the spectral and texture features of the initial reflectance; S23. Starting from the detected source area of moisture, the pixels of the sandstone artifact image are used as nodes, and the spatial adjacency relationship is used as the edge. Based on the continuity of the wetness score and auxiliary data, the passable direction and weight of the edge are determined, and the current activity path segment is extracted along the direction of moisture propagation to form multiple moisture action paths.
[0011] In some specific technical solutions, the specific process of forming path material connected units is as follows: Perform spatial overlap calculations on each water action path with each body region and each material region. When the water action path, body region and material region all overlap, a path-material connectivity unit is formed. Perform connectivity region marking on each path material connectivity unit, and assign the same connectivity unit identifier to spatially adjacent cells within the same path material connectivity unit; For each path material connectivity unit, a set of constraint parameters is generated based on all the pixels contained within it, their corresponding master wet events, and the pixel wet scores.
[0012] In some specific technical solutions, the process for detecting the source area of moisture is as follows: If the main wet event is post-rain evaporation or normal high humidity, the top platform and concave area of the sandstone artifact image are extracted based on the geometric model in the auxiliary data. Combined with the spectral features in the initial reflectance, the top water accumulation or plant water-holding area is detected as the source area of water action. If the primary wet event is a risk of condensation, the low-temperature anomaly area with a surface temperature lower than the dew point temperature is extracted from the thermal imaging data in the auxiliary data as the source area of moisture action. If the main wet event is active infiltration, based on historical monitoring records or stable areas with consistently high moisture sensitivity in the current initial reflectance, long-term stable wet strips are extracted as the source area of moisture action.
[0013] In some specific technical solutions, the specific process of constructing the segmented wet response trajectory is as follows: S31. Under the constraint parameter set of the path material connectivity unit, extract the health reference surface with the same material and within the reference candidate range from the preset health reference surface set and determine it as the candidate health reference surface. S32. Calculate the effective detection parameters of the candidate health reference patch, verify the effectiveness of the effective detection parameters according to the constraint conditions in the constraint parameter set, and output the effective health reference patch. S33. Using the spectrum of the effective healthy reference surface corresponding to the path material connected unit as a reference, the initial reflectivity within the path material connected unit is locally normalized to obtain the local reflectivity. S34. Select multiple reference surfaces of the same material from the effective health reference surface, extract the representative spectrum of the selected reference surface from the local reflectance, use the wetness score of each reference surface as the wetness coordinate, use the representative spectrum as the spectral response vector, construct a discrete anchor point set, and arrange them in wetness order according to the wetness score. S35. Arrange the adjacent anchor points in the discrete anchor point set according to the wet state order and perform piecewise interpolation or robust fitting to form a piecewise wet state response trajectory.
[0014] In some specific technical solutions, the specific process of obtaining the wet trajectory components is as follows: S41. Based on the initial reflectance, the sandstone artifact image is divided into an uncompensable region and a compensated region. The pixels with correction conditions within the path material connectivity unit are determined as target pixels. The correction conditions include being able to associate the body region and the material region, the compensation region, and being located on the segmented wet response trajectory. S42. Read the full-band target spectrum from the local reflectance according to the target pixel coordinates, and bind its path material connected unit, material, water action path, wetness score and constraint parameter set; S43. Determine the set of wet sensitive bands based on the wet sensitive bands defined in the constraint parameter set; search for the target wet coordinates on the set of wet sensitive bands that minimize the difference between the full-band target spectrum and the segmented wet response trajectory; project the target wet coordinates onto the segmented wet response trajectory to obtain the wet trajectory component of the target pixel.
[0015] In some specific technical solutions, the process of dividing the non-compensable region and the compensateable region is as follows: The region containing a pixel is classified as an uncompensable region when any of the following conditions are met: When the hyperspectral sensing value of a pixel in any effective band reaches the preset range of the sensor's full scale, it is marked as a saturated pixel mask. Calculate the average signal-to-noise ratio of each pixel in the effective band. When the average signal-to-noise ratio is lower than a preset threshold, it is marked as a low signal-to-noise ratio mask. Moisture sensitivity index and spectral curvature are read from wet spectral features. Open water is identified by moisture sensitivity index and specular reflection is identified by spectral curvature. Combined with spatial connectivity verification, continuous open water areas and specular reflection areas in historical space are marked as continuous open water masks and strong specular reflection masks, respectively. When the geometric model is a sloped backlight surface or a curved concave region, and the initial reflectance is lower than the average reflectance across all bands than the preset reflectance threshold, it is marked as a deep shadow mask.
[0016] In some specific technical solutions, the amplitude compensation process is as follows: The upper limit of the path continuity variation of the target pixel is determined based on the wet coordinate changes and spatial distance of adjacent effective health reference patches of the same material in the same water action path, and the lower limit of the material retention of the target pixel is determined based on the spectral differences between adjacent original sandstone and repair material low-wet effective health reference patches. The candidate replacement amplitudes for the movement of the wet trajectory component towards the low wet endpoint are jointly solved, and the maximum feasible replacement amplitude is the maximum candidate value that simultaneously satisfies the upper limit of the change in the replacement amplitude difference between adjacent target pixels and the lower limit of material preservation. Amplitude compensation is performed on the wet trajectory component of the target pixel by generating amplitude compensation results based on the maximum feasible replacement amplitude.
[0017] In some specific technical solutions, the specific process of spectral quality inspection is as follows: Using the amplitude compensation result as a comparison benchmark, local spectral compensation is performed within the preset spectral window to obtain candidate spectral spectra. The quality of the candidate spectral spectra is judged based on the spectral angle, absorption valley direction, curvature, noise variance, trajectory projection error, and the difference from the effective healthy reference spectrum of the same material. When the quality decreases, the replacement amplitude is reduced and the candidate spectral spectra are regenerated. The candidate spectral spectra that meet the quality requirements are output as standardized spectra.
[0018] The concept of this invention is as follows: The interference of high humidity on hyperspectral data of open-air sandstone artifacts is complex and multifaceted: moisture forms spatially continuous action paths along the surface of the artifact; different materials (original sandstone and repair materials) exhibit significant differences in their spectral responses to humidity; pre-set healthy reference patches may become ineffective due to simultaneous wetting in the current acquisition batch; and the spectra of target pixels often contain other discrepancies that cannot be explained by changes in healthy humidity. Under these conditions, using a uniform wet-dry conversion model or a pixel-by-pixel independent compensation method can easily lead to overcorrection across materials, abrupt changes in compensation along moisture paths, and the erroneous elimination of non-wet information (such as weathering and salinization).
[0019] To address the aforementioned issues, this invention aims to establish a degradeable, interpretable, and reversible wet correction chain. The core objective of this correction chain is to reduce only the spectral components that can be explained by the current wet conditions, while fully preserving non-wet state difference information and avoiding over-correction across materials and abrupt compensation changes along the moisture path.
[0020] The basic idea of this invention follows the engineering processing framework of first gating judgment, then constraint compensation, and finally standardized output. The entire process is set up with a data admission layer, a scene judgment and parameter calling layer, a correction gating layer, a constraint compensation layer, and a standardized output layer, and maintains a single data link between the unified input data packet, initial reflectivity, local normalization result, geometric constraint correction result, amplitude compensation result, spectral compensation result, standardized correction spectrum, and unified output result packet.
[0021] To truly alter the structure of the correction algorithm by addressing the unique spatial propagation of moisture in large open-air sandstone artifacts—the heterogeneous response of materials—and the synchronous wetting of references, this invention further introduces two core mechanisms: path-material connectivity units and piecewise wet response trajectories. The spatial overlap and connectivity between the moisture action path and the material partition defines the establishment range and applicable boundary of the wet response trajectory; Within the same connected unit, multiple (at least three) effective health reference patches of the same material with different humidity levels are used to construct a segmented trajectory of the spectrum of the healthy material as humidity changes. The target pixel only determines the spectral components that can be explained by the wet state on the trajectory, while the differences that cannot be explained by the trajectory in the whole band are kept as non-wet state residual components and are not included in the correction.
[0022] The advantages of this invention over the prior art are as follows: This method combines hard admission of key data with downgraded operation of auxiliary evidence to prevent the generation of false correction results when dark fields, white boards, or key reflectivity benchmarks are missing, and to avoid artificially creating evidence due to temporary lack of thermal or geometric data. Wet events are first involved in parameter calling, and then the path-material connectivity unit is jointly defined by the moisture action path and material partitioning, thereby directly changing the solution range of reference selection, trajectory establishment, and correction variables based on the on-site moisture propagation relationship. On this basis, the reference patch is re-evaluated in each acquisition batch and used independently according to material, reducing the risk of fixed references being simultaneously wetted and the original rock / sandstone reference being mistakenly used for repair materials. By utilizing at least three healthy reference patches of the same material under different wet conditions to form a segmented wet response trajectory, this approach can more accurately represent the potentially different spectral change directions between low, medium, and high wet conditions compared to two-point wet-dry mapping. The target spectrum is decomposed into wet trajectory components and non-wet residual components through trajectory projection. Wet correction only alters the portion that can be explained by healthy wet changes, avoiding the overall elimination of spectral differences that cannot be explained by wet conditions. Path continuity constraints and material preservation constraints directly participate in solving for the maximum feasible replacement amplitude, ensuring that the correction results avoid both abrupt spatial compensation changes and abnormal weakening of the original sandstone-repair material boundary during the generation phase. Spectral shape compensation employs candidate results, quality checks, amplitude reduction recalculation, and rollback mechanisms, ensuring that performing compensation does not equate to accepting the compensation result. Standard domain mapping is established solely based on healthy references, decoupling wet correction from disease identification labels. Attached Figure Description
[0023] Figure 1 A flowchart of a hyperspectral wet correction method for high-humidity open-air sandstone cultural relics provided by an embodiment of the present invention; Figure 2 A schematic diagram of the key wet observation window on the top of an open-air sandstone artifact provided in an embodiment of the present invention; Figure 3 A reference schematic diagram of the drainage impact zone on the top of an open-air sandstone cultural relic provided in an embodiment of the present invention; Figure 4 This is a reference schematic diagram of the repair material area provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a path material connectivity unit provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the pleural and abdominal fluid infiltration zone provided in an embodiment of the present invention; Figure 7 This is a schematic diagram illustrating the effect of spectral and spatial distribution before and after wet correction provided in an embodiment of the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of the invention.
[0026] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0027] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0028] Example 1 like Figure 1 As shown, this embodiment provides a hyperspectral wet correction method for high-humidity open-air sandstone cultural relics, specifically including the following steps: S1. Obtain the original spectral data and environmental auxiliary data of sandstone artifact images from the same batch of acquisitions, and spatially register the sandstone artifact images with the preset body partitioning map B and material partitioning map M. Mark the corresponding body area and material area in the sandstone artifact images, and calculate the initial reflectance based on the spatially registered original spectral data. The body partitioning map is divided by the artifact's geometric model, orthophoto, survey control points, structural data, or manually determined part boundaries, and is marked according to the structural positions such as the top of the head, chest and abdomen, cliff wall, concave part, and fissure neighborhood. The material partitioning map is formed by the repair archive, on-site material survey, and labeling seeds, combined with the spectral / texture characteristics of R0, and is verified by boundary, at least distinguishing the original sandstone, repair materials, and biological attachment background; mixed boundaries can be marked as low confidence. The raw spectral data includes hyperspectral data I(x,y,λ), dark field data D, and whiteboard data W. I(x,y,λ) represents the raw radiance value at spatial location (x, y) with wavelength λ. It also includes a band list and acquired metadata. Environmental auxiliary data includes thermal imaging data or temperature difference data, geometric models, and environmental fields (including point cloud / normal / slope data, rainfall records, and temperature and humidity fields). Simultaneously, it reads existing ontological partition annotation map B, material partition annotation map M, and a preset healthy reference patch set H, or reads geometric data, repair files, and on-site annotations used for subsequent generation of B and M. The specific process for calculating the initial reflectance is as follows: S11. Determine whether each data belongs to the same allowed time window based on the collection timestamp; S12. Map data within the same allowed time window to the sandstone artifact image, marking data that can establish spatial correspondence as usable; using hyperspectral data coordinates as a reference, map thermal image data, geometric models, preset ontological zoning annotation maps, material zoning annotation maps, and health reference patch set H to the same pixel coordinates of the sandstone artifact image through camera parameters or surface coordinates, completing temporal consistency and spatial registration checks; set usable evidence markers for auxiliary data that pass the check, and mark data that cannot establish spatial correspondence as unusable. When auxiliary data is missing or cannot be registered, close the corresponding evidence item, do not interpolate, and do not use default values to reconstruct it.
[0029] S13. Mark the available hyperspectral data I, dark field data D, and whiteboard data W as key data, and mark the environmental field, available thermal imaging data, and geometric model as auxiliary data. S14. When all key data are available and the difference between the whiteboard data and the dark field data meets the reflectance calculation conditions, perform dark field subtraction and whiteboard normalization on the hyperspectral data based on the dark field data and the whiteboard data, and calculate the initial reflectance and the quality control mask.
[0030] The system determines whether I, D, and W are all readable and whether WD is greater than a preset non-zero threshold in the effective band. If any condition is not met, it generates a "not entering wet calibration state" status, outputs a batch quality control report, and terminates the current batch's high-confidence process. The system calculates the initial reflectance R0 = (ID) / (WD), i.e., calculates it band-by-band and pixel-by-pixel to obtain a three-dimensional reflectance data cube. This represents the apparent reflectance of each pixel at each wavelength, with the spectral dimension covering all effective bands of the hyperspectral sensor. Abnormal bands and stripe noise bands in the denominator are marked as bad bands. A saturated pixel mask is generated based on the upper limit of the signal, and a low signal-to-noise ratio mask is generated based on the relationship between the effective signal and noise. R0, the mask, and the quality report are written into the input data packet.
[0031] Fixed input / output data packets, R0, bad band mask, saturated pixel mask, low signal-to-noise ratio mask, data availability status, time synchronization status, and spatial registration status.
[0032] S2. Identify wet events and determine the water action path based on the initial reflectivity and environmental auxiliary data. Spatially overlap the water action path with the spatially registered body region and material region to form a path material connectivity unit. 1. The specific process for determining the pathway of water action is as follows: S21. Extract wet spectral features from the effective band of the initial reflectance, determine wet events based on the wet spectral features and auxiliary data, identify the main wet event, and calculate the pixel wet score. The near-infrared reflectance reduction, wet correlation band ratio, local spectral compression, and spatially continuous anomalous regions are extracted from the effective band of R0 to form the wet spectral feature Fw; saturated pixels and low signal-to-noise ratio pixels are not included in the high-confidence calculation of Fw.
[0033] S22. Based on the main wet event, detect the source region of moisture action by combining the spectral and texture features of the initial reflectance; Based on available markers, read thermal image temperature anomalies, rainfall time and intensity, air temperature and humidity, dew point difference, geometric elevation / slope aspect / normal direction, and crack or material interface relationships; input Fw and actual available auxiliary evidence into preset event judgment rules to determine the main wet event Ew and optional secondary events in normal high humidity, post-rain evaporation, condensation risk, active seepage, or stable acquisition, and calculate the pixel or area wetness score Sw; Ew only represents the environmental wetness scenario and is not used as a disease category.
[0034] The ontological region labeling map is created by establishing vector partitions based on structural boundaries such as the top of the head, chest and abdomen, cliff face, concave area, and fissure neighborhood in the geometric model or orthophoto, and then rasterizing them to R0 coordinates to obtain the ontological region B. N (B1,…,Bj) and verify the consistency of its registration results with the geometric model and the boundary of the field structure; set low confidence markers for ontological partitions for pixels with uncertain boundaries or that cannot be associated.
[0035] The material zoning and annotation map uses known original sandstone, repair materials, and bio-attached areas as seeds. It extracts the spectral features and neighborhood texture features of R0, performs classification or region growing, and eliminates isolated spots through connected component correction to obtain the material region M. N (M1,…,Mk); Pixels with insufficient classification confidence or mixed boundaries between the original rock and repair material are marked with low confidence material markers.
[0036] S23. Starting from the detected source area of moisture action, the pixels of the sandstone artifact image are used as nodes, and spatial adjacency is used as edges. Based on the continuity of the wetness score (edges are passable when the Sw difference between adjacent pixels is less than a set threshold) and auxiliary data (thermal image anomaly continuity, geometric downslope direction, crack orientation, and material interface relationship), the passable direction and weight of the edges are determined. The current active path segment is extracted along the direction of moisture propagation to form multiple moisture action paths. For example, the current active path segment can be extracted from the top water accumulation / plant water holding area, low temperature anomaly area, or long-term stable wet strip to form a set P (P1, ... Pi) of top runoff, plant water holding influence, re-wetting, or long-term seepage paths.
[0037] The specific process for detecting the source area of moisture is as follows: If the main wet event is post-rain evaporation or normal high humidity, the top platform and concave area of the sandstone artifact image are extracted based on the geometric model in the auxiliary data. Combined with the spectral features in the initial reflectance, the top water accumulation or plant water-holding area is detected as the source area of water action. If the primary wet event is a risk of condensation, the low-temperature anomaly area with a surface temperature lower than the dew point temperature is extracted from the thermal imaging data in the auxiliary data as the source area of moisture action. If the main wet event is active infiltration, based on historical monitoring records or stable areas with consistently high moisture sensitivity in the current initial reflectance, long-term stable wet strips are extracted as the source area of moisture action.
[0038] 2. The specific process of forming path material connected units is as follows: Perform a spatial overlap operation (Pi∩Bj∩Mk) on each water action path, each body region, and each material region. When the water action path, body region, and material region all overlap, they form a path-material connectivity unit Ui, and finally obtain the path-material connectivity unit set U. Perform connectivity region marking on each path material connectivity unit, and assign the same connectivity unit identifier Ui to spatially adjacent cells within the same path material connectivity unit; For each path material connectivity unit, a set of constraint parameters is generated based on all the pixels contained therein, their corresponding main wet event Ew, and the pixel wetness score statistics. These parameters include reference candidate range, wetness level threshold (mapping Sw to D0-D4 levels), compensation limit, spectral window, and path continuity / material preservation constraint parameters, so that different correction parameters are used for different wet events and different wetness intensity regions.
[0039] S3. Extract the health reference patch corresponding to the path material connected unit material from the preset health reference patch set, determine its validity in the current collection batch, perform local normalization on the path material connected unit with valid health reference patches, and select multiple reference patches of the same material with different wet states from the valid health reference patches to construct a segmented wet response trajectory. The specific process of constructing the segmented wet response trajectory is as follows: S31. Under the constraint parameter set of the path material connectivity unit, based on the spatial location, historical health attributes, material label and U of the health reference patch set H, extract the health reference patch with the same material and within the reference candidate range from the preset health reference patch set and determine it as the candidate health reference patch, and extract its current batch image data from R0 and the quality control mask. S32. Calculate the effective detection parameters of the candidate healthy reference patch, verify the effectiveness of the effective detection parameters according to the constraint conditions in the constraint parameter set, and mark the candidate patch as effective or ineffective; output the effective healthy reference patch; when there are multiple effective patches of the same material, determine the main reference and the alternative reference; when the main reference fails, switch to the alternative reference of the same material; when all patches fail, the corresponding U does not enter the high confidence trajectory chain and outputs the low confidence state.
[0040] Effective detection parameters include effective pixel ratio, spectral dispersion within the saturated / low signal-to-noise ratio / shadow / highlight overlap ratio, spectral difference from the corresponding material baseline, material purity, humidity score statistics, and the activity status of the moisture action path. When the proportion of bio-attachment and material mixing boundary exceeds the allowable range, the reference qualification is reduced.
[0041] S33. Based on the spectrum of the effective healthy reference surface corresponding to the path material connected unit, the initial reflectance within the path material connected unit is locally normalized to obtain the local reflectance. When geometric evidence is available, the local reflectance is corrected according to the surface normal, slope and observation direction to limit the geometric influence. When geometric evidence is unavailable, no correction is needed but the degradation state needs to be recorded.
[0042] S34. Select multiple reference patches of the same material (at least three) from the effective health reference patches. Extract the representative spectrum of the selected reference patches from the local reflectance. Use the wetness score of each reference patch as the wetness coordinate and the representative spectrum as the spectral response vector to construct a discrete anchor point set and arrange them in wetness order according to the wetness score. Determine the wetness level (D0 to D4) according to the wetness score and determine the low wetness, intermediate wetness and high wetness reference in sequence. If the low wetness reference and the high wetness reference are located in the same current active wetness segment and cannot form a wetness difference, they are not considered as a valid reference combination.
[0043] S35. Arrange adjacent anchor points in the discrete anchor point set according to wet state order and perform piecewise interpolation or robust fitting to form piecewise wet state response trajectories. Check the continuity of endpoints and the consistency of wet state order between adjacent trajectory segments. If the order contradicts Ew, Sw, or path evidence, mark the trajectory as invalid.
[0044] S4. Project the spectrum of the target pixel with correction conditions within the path material connected unit onto the segmented wet response trajectory to obtain the wet trajectory component. The specific process for obtaining the wet trajectory components is as follows: S41. Based on the initial reflectance, the sandstone artifact image is divided into uncompensated and compensated regions. Pixels located within the path material connectivity unit that meet the correction conditions are identified as target pixels T. The correction conditions include being able to associate the body region and the material region, not belonging to the uncompensated region, having effective local reflectance, and the corresponding segmented wet response trajectory passing the trajectory validity check. Pixels with insufficient partitioning or trajectory conditions but available R0 are entered into the low-confidence retention branch.
[0045] The process of dividing the non-compensable region into the compensateable region is as follows: The region containing a pixel is classified as an uncompensable region when any of the following conditions are met: 1. When the hyperspectral sensing value of a pixel in any effective band reaches the preset range of the sensor's full scale, it is marked as a saturated pixel mask. 2. Calculate the average signal-to-noise ratio of each pixel in the effective band. When the average signal-to-noise ratio is lower than the preset threshold, mark it as a low signal-to-noise ratio mask. 3. Read the moisture sensitivity index and spectral curvature from the wet spectral characteristics, identify open water through the moisture sensitivity index, and identify specular reflection through the spectral curvature. Combined with spatial connectivity verification, mark the continuous open water area and specular reflection area in historical space as continuous open water mask and strong specular reflection mask, respectively. 4. When the geometric model is a sloped backlight surface or a curved concave region, and the average reflectance of the initial reflectance across all bands is lower than the preset reflectance threshold, it is marked as a deep shadow mask.
[0046] S42. Read the full-band target spectrum X from the local reflectance according to the target pixel coordinates, and bind its path material connectivity unit U, material m, water action path p, wetness score and applicable constraint parameter set; For a path material connectivity unit that can establish a high-confidence trajectory, select the currently valid low-humidity reference H1, intermediate-humidity reference H2, and high-humidity reference H3. Construct H_{p,m}(q) according to the humidity order determined by the on-site humidity evidence. If the spectral change directions from H1 to H2 and from H2 to H3 are different, establish trajectory segments separately, instead of forcing a single straight line to connect the low-humidity and high-humidity endpoints.
[0047] S43. Determine the set of wet-sensitive bands Ωw based on the wet-sensitive bands defined in the constraint parameter set; search for the target wet coordinates q* on the set of wet-sensitive bands that minimize the difference between the full-band target spectrum X and the segmented wet-response trajectory; project the target wet coordinates onto the segmented wet-response trajectory to obtain the wet trajectory component H_p,m(q*) and trajectory projection error of the target pixel; calculate the full-band non-wet residual E_nw according to E_nw=X-H_p,m(q*); E_nw represents the difference that cannot be explained by the current healthy wet trajectory and is not directly identified as a defect. Keeping E_nw unchanged during wet correction can reduce the risk of eliminating weathering, salt damage, local material differences, or other non-wet information along with wet compensation. If the trajectory projection error exceeds the allowable range, the high-confidence correction qualification of the pixel is cancelled.
[0048] S5. Under the constraints of path continuity and material preservation, the amplitude compensation and spectral quality check of the wet trajectory components of each target pixel are performed, and the standardized spectrum that meets the conditions and the state label corresponding to each target pixel are finally output.
[0049] S51. The specific process of amplitude compensation is as follows: The upper limit of the path continuity variation of the target pixel is determined based on the wet coordinate changes and spatial distance of adjacent effective health reference patches of the same material in the same water action path, and the lower limit of the material retention of the target pixel is determined based on the spectral differences between adjacent original sandstone and repair material low-wet effective health reference patches. The candidate replacement amplitudes for the movement of the wet trajectory component towards the low-humidity endpoint are jointly solved. The correspondence between the wet coordinate difference and spatial distance is calculated for adjacent effective healthy references of the same path and material, yielding the upper limit δij of the variation in the replacement amplitude difference between adjacent target pixels. This ensures that the correction intensity does not undergo unfounded abrupt changes within the continuous moisture propagation area. In the area adjacent to the original sandstone and the repair material, the spectra of effective low-humidity healthy references from the same batch on both sides are read, and their spectral differences are calculated to form B_min. Material mixing boundary pixels are only used to determine the boundary position and are not used to calculate the healthy baseline. The maximum feasible replacement amplitude is determined by the maximum candidate value that simultaneously satisfies the upper limit of the variation in the replacement amplitude difference between adjacent target pixels and the lower limit of material retention. Amplitude compensation is performed on the wet trajectory component of the target pixel based on the amplitude compensation result generated according to the maximum feasible replacement amplitude. Candidate amplitude compensation results are generated. Let the projected coordinates of the target pixel trajectory be q* and the corresponding low wet endpoint be q0. For the candidate β in the range of 0 to 1, calculate qβ=(1-β)q*+β*q0; according to the amplitude relationship between H_p,m(qβ) and H_p,m(q*), determine gain(β) according to the amplitude relationship calculation rules specified in the constraint parameter set, and apply gain(β) only to the wet trajectory component. Then reconstruct it with the unchanged non-wet residual E_nw to generate the candidate amplitude compensation result R2(β). Within the connected unit of the same path material, jointly determine whether the adjacent target pixels meet the upper limit of the replacement amplitude change, and at the boundary of different materials, determine whether the spectral difference on both sides of the boundary after compensation according to the candidate gain(β) meets B_min, and at the same time meets the compensation upper limit specified in the constraint parameter set; select β* that moves the target wet coordinates to the low wet endpoint the most among all feasible candidates. When a feasible β* exists, R2(β*) is used as the amplitude compensation result for the corresponding target pixel and written into the amplitude compensation result R2, while recording βmap or gain_map; when no feasible β* exists, the local reflectance or the current last reliable spectrum is retained, and a low confidence or uncorrectable state is output.
[0050] S52. The specific process for spectral quality inspection is as follows: Using the amplitude compensation result as a comparison benchmark, local spectral compensation is performed within the preset spectral window to obtain candidate spectral spectra. The quality of the candidate spectral spectra is judged based on the spectral angle, absorption valley direction, curvature, noise variance, trajectory projection error, and the difference from the effective healthy reference spectrum of the same material. When the quality decreases, the replacement amplitude is reduced and the candidate spectral spectra are regenerated. The candidate spectral spectra that meet the quality requirements are output as standardized spectra.
[0051] Candidate spectral shape formation: Using R2 as the sole comparison benchmark, and according to the spectral shape window specified by the constraint parameter set, the local absorption valleys, baselines, or curvatures of the regions that are allowed to continue processing are corrected to form candidate spectral shape spectra Rcand; for regions that do not require spectral shape correction, Rcand = R2.
[0052] Candidate quality assessment: Compare the effective band integrity, spectral continuity, spectral angle, absorption valley direction, curvature, noise variance, trajectory projection error, and differences from the effective health reference of the same material between Rcand and R2; determine whether the candidate results have decreased according to the preset quality rules.
[0053] Recalculation and rollback: When the candidate quality decreases, the corresponding target cell is reduced and the candidate result is regenerated; if the quality condition is still not met after the allowed number of recalculations or the target cell is reduced to zero, the candidate is discarded and R3=R2 is set. R3 is the official result after Rcand passes the quality check or rollbacks to R2. At the same time, the rollback position and reason are recorded in rollback_map; when the quality is qualified, R3=Rcand is set.
[0054] Establishment of health standard domain: Read the current batch's valid health reference spectrum and standard period health reference spectrum according to the material, and establish a standard domain mapping relationship from the current batch's health reference space to the unified health reference space across batches; disease identification labels and disease identification results do not participate in the establishment of standard domain.
[0055] Standard domain mapping and unified output: Standard domain mapping is performed only on R3 that meets the reference and quality conditions to obtain Rstd; State A outputs Rstd, State B outputs the current last reliable spectrum and the reason for low confidence, and State C retains R0 and the reason for uncompensable loss.
[0056] To better illustrate, such as Figure 2 As shown, taking the Leshan Giant Buddha as an example of open-air sandstone cultural relics, the top Buddha head area, as a large open-air sandstone statue, is the key object for wet observation. The boxes in the figure are only used to determine the subsequent hyperspectral data reading, spatial registration, and the scope of body partitioning and material partitioning. They do not indicate that high humidity has been confirmed in this area, nor do they indicate that all background pixels within the boxes participate in the analysis. The actual wet events, water action paths, and compensation eligibility are jointly determined by the same batch of original hyperspectral data, dark field data, whiteboard data, and available auxiliary data. For the effective sandstone pixels screened through body partitioning and material partitioning, wet spectral features and spatial continuity are extracted to form a wet score and state label. Then, local normalization, wet trajectory component solving, constraint compensation, spectral quality checking, and standard domain mapping are performed according to this method.
[0057] like Figure 3 As shown, within the wet observation window, the top vegetation and exposed rock face in the area above the statue may form a water-holding zone after rainfall, with moisture propagating along the surface slope towards the top and sides of the statue. The current wet event is first identified through rainfall records, initial reflectivity, thermal imaging or temperature difference evidence, and available geometric information; if the event is a risk of post-rain evaporation or condensation, the weighting of evidence related to top drainage, vegetation water holding capacity, and re-moistening is increased. Figure 3The top runoff direction is used to define the current active water action path; the top high-humidity risk area is not directly equivalent to a diseased area, but is used to raise the health check requirements of the reference area and limit strong compensation. If a region has continuous open water or strong highlights at the same time, the region is marked as uncompensable; if only some auxiliary evidence is missing, the corresponding information is not reconstructed, and a low-confidence or downgraded path is formed based on the remaining evidence. In this scenario, the role of the water action path is not simply to mark where it is wet, but to determine which pixels of the same material can enter the same path—material connectivity unit, which healthy reference areas can form the same trajectory according to the wet state sequence, and how the replacement amplitude β of subsequent adjacent pixels of the same material is allowed to change.
[0058] like Figure 4 As shown, the repair material area and the surrounding original sandstone area may be simultaneously wetted in the same open-air environment, but their wet spectral responses are not the same. Therefore, independent path material connectivity units are first formed based on the water action path, body partitioning, and material partitioning. The repair material area does not call the original sandstone reference patch, the original sandstone segmented wet response trajectory, or the original sandstone standard domain mapping relationship.
[0059] The repair material reference patch is re-evaluated in the current batch; contaminated, excessively specular, or mixed-with bio-attached background patches are excluded from high-confidence trajectory construction. Mixed pixels near material boundaries can be used to identify boundary locations but are not considered core references for constructing healthy trajectories. The spectral difference between the original sandstone and the stable low-humidity healthy references on both sides of the repair material is used to determine the lower limit of material retention, B_min, thus directly constraining β* at the material boundary, rather than serving as an additional score after calibration.
[0060] See Figure 5 Assume the top runoff path P1 first passes through the original sandstone zone M1, then through the repair material zone M2, and then re-enters the original sandstone zone M1; the long-term seepage path P3 passes through M1 from another spatial direction. Because the sources of moisture and material responses are different, these regions cannot be treated as a unified wet state model. The first overlapping connecting segment of P1 and M1 forms U11, P1 and M2 form U12, P1 re-enters M1 to form U13, and P3 and M1 form U31.
[0061] Each path-material connected unit has an independent healthy reference candidate range and wet trajectory. Even though U11 and U31 are both native sandstone, they can establish different trajectories due to different water action paths; even though U11 and U12 are located on the same top runoff path, they cannot share trajectories due to different materials. In this way, path and material simultaneously change the correction calculation unit, rather than simply being two labels attached to a unified model.
[0062] like Figure 6As shown, using the chest and abdomen infiltration area as example parameters, hyperspectral data was collected 10 hours after the rain, along with dark-field, whiteboard, and thermal imaging data. The on-site records for this example batch were: relative humidity 92%, air temperature 24.6℃, wall temperature 23.1℃, dew point temperature 21.8℃, and dew point difference 1.3℃. The thermal imaging showed localized low-temperature anomalies in the chest and abdomen area. Based on the time since rainfall, dew point difference, and thermal imaging anomalies, this batch of wet events was determined to be primarily characterized by active infiltration, with post-rain evaporation as a secondary factor.
[0063] Subsequently, the original sandstone parameters of the infiltrated area in the chest and abdomen are retrieved based on the body partition and material partition. If the health assessment of the master reference patch is qualified, it is used together with other valid wetted references of the same material for segmented wetted trajectories; when the master reference is affected by shadows, alternative references of the same material are used; when references are insufficient, supplementation is not mandatory. After local normalization, significant wetted areas in D2 and D3 wet films are identified. A larger feasible compensation range is allowed in the D2 area, while a more conservative upper limit of β is adopted in the D3 area and quality fallback is strengthened. Visible water, highlights, and deep shadows are directly added to the uncompensated list.
[0064] Figure 7 This diagram illustrates the expected spatial and spectral effects of the invention, rather than presenting the numerical values as actual performance conclusions. Before correction, large-scale moisture effects can create a continuous gradient in reflectance or wetness index space; after correction, this wetness gradient should be weakened, while the original sandstone-repair material boundary remains distinguishable. The magnified view of the local boundary is used to check whether the material retention constraint is effective.
[0065] It is understood that this application is executed under the following constraints: wet correction is not performed when there is no dark field data or whiteboard data; data is not reconstructed when thermal imaging data, geometric models, or some environmental fields are missing, only the corresponding evidence items are turned off and the operation is downgraded; each high-confidence pixel should be able to be associated with the ontology partition and material partition, otherwise it will enter the low-confidence retention result; the reference patch is re-evaluated for each batch of acquisitions, and the failed reference cannot enter high-confidence normalization, trajectory construction, and standard domain mapping; the uncompensable region is formed before amplitude compensation, and subsequent high-confidence compensation and standardization must be skipped; spectral compensation first forms candidate results, and the replacement amplitude is reduced or backed up when the quality deteriorates; the standard domain mapping is established only based on the healthy reference patch, and disease identification labels or disease identification results are not used.
[0066] The output states are fixed into three categories: State A is a high-confidence correction result, that is, the key data is complete, the reference is valid, the area is compensable, and the quality check has passed; State B is a low-confidence retention result, that is, the basic reflectivity can be formed, but the auxiliary evidence, reference surface, path trajectory, or standard domain conditions are insufficient; State C is an uncompensable result, that is, there is continuous open water, strong specular reflection, deep shadow, severely low signal-to-noise ratio, or other situations that cannot stably characterize the material's reflective features.
[0067] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A hyperspectral wet correction method for high-humidity open-air sandstone cultural relics, characterized in that, Specifically, the following steps are included: S1. Obtain the original spectral data and environmental auxiliary data of sandstone cultural relics images from the same batch of acquisitions, and spatially register the sandstone cultural relics images with the preset body partition labeling map and material partition labeling map, and mark the corresponding body area and material area in the sandstone cultural relics images, and calculate the initial reflectance based on the spatially registered original spectral data. S2. Identify wet events and determine the water action path based on the initial reflectivity and environmental auxiliary data. Spatially overlap the water action path with the spatially registered body region and material region to form a path material connectivity unit. S3. Extract the health reference patch corresponding to the path material connected unit material from the preset health reference patch set, determine its validity in the current collection batch, perform local normalization on the path material connected unit with valid health reference patches, and select multiple reference patches of the same material with different wet states from the valid health reference patches to construct a segmented wet response trajectory. S4. Project the spectrum of the target pixel with correction conditions within the path material connected unit onto the segmented wet response trajectory to obtain the wet trajectory component. S5. Under the constraints of path continuity and material preservation, the amplitude compensation and spectral quality check of the wet trajectory components of each target pixel are performed, and the standardized spectrum that meets the conditions and the state label corresponding to each target pixel are finally output.
2. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 1, characterized in that, The raw spectral data includes hyperspectral data, dark field data, and whiteboard data. Environmental auxiliary data includes thermal imaging data, geometric models, and environmental fields. The specific process for calculating the initial reflectance is as follows: S11. Determine whether each data belongs to the same allowed time window based on the collection timestamp; S12. Map the data within the same allowed time window to the sandstone artifact image, and mark the data that can establish a spatial correspondence as available; using the hyperspectral data coordinates as a reference, map the thermal image data, geometric model, preset ontological partition annotation map, material partition annotation map, and health reference patch set to the same pixel coordinates of the sandstone artifact image; S13. Mark the available hyperspectral data, dark field data, and whiteboard data as key data, and mark the environmental fields, as well as the available thermal imaging data and geometric models as auxiliary data. S14. When all key data are available and the difference between the whiteboard data and the dark field data meets the reflectance calculation conditions, perform dark field subtraction and whiteboard normalization on the hyperspectral data based on the dark field data and the whiteboard data, and calculate the initial reflectance and the quality control mask.
3. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 2, characterized in that, The specific process for determining the pathway of water action is as follows: S21. Extract wet spectral features from the effective band of the initial reflectance, determine wet events based on the wet spectral features and auxiliary data, identify the main wet event, and calculate the pixel wet score. S22. Based on the main wet event, detect the source region of moisture action by combining the spectral and texture features of the initial reflectance; S23. Starting from the detected source area of moisture, the pixels of the sandstone artifact image are used as nodes, and the spatial adjacency relationship is used as the edge. Based on the continuity of the wetness score and auxiliary data, the passable direction and weight of the edge are determined, and the current activity path segment is extracted along the direction of moisture propagation to form multiple moisture action paths.
4. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 3, characterized in that, The specific process of forming path material connected units is as follows: Perform spatial overlap calculations on each water action path with each body region and each material region. When the water action path, body region and material region all overlap, a path-material connectivity unit is formed. Perform connectivity region marking on each path material connectivity unit, and assign the same connectivity unit identifier to spatially adjacent cells within the same path material connectivity unit; For each path material connectivity unit, a set of constraint parameters is generated based on all the pixels contained within it, their corresponding master wet events, and the pixel wet scores.
5. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 3, characterized in that, The specific process for detecting the source area of moisture is as follows: If the main wet event is post-rain evaporation or normal high humidity, the top platform and concave area of the sandstone artifact image are extracted based on the geometric model in the auxiliary data. Combined with the spectral features in the initial reflectance, the top water accumulation or plant water-holding area is detected as the source area of water action. If the primary wet event is a risk of condensation, the low-temperature anomaly area with a surface temperature lower than the dew point temperature is extracted from the thermal imaging data in the auxiliary data as the source area of moisture action. If the main wet event is active infiltration, based on historical monitoring records or stable areas with consistently high moisture sensitivity in the current initial reflectance, long-term stable wet strips are extracted as the source area of moisture action.
6. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 4, characterized in that, The specific process of constructing the segmented wet response trajectory is as follows: S31. Under the constraint parameter set of the path material connectivity unit, extract the health reference surface with the same material and within the reference candidate range from the preset health reference surface set and determine it as the candidate health reference surface. S32. Calculate the effective detection parameters of the candidate health reference patch, verify the effectiveness of the effective detection parameters according to the constraint conditions in the constraint parameter set, and output the effective health reference patch. S33. Using the spectrum of the effective healthy reference surface corresponding to the path material connected unit as a reference, the initial reflectivity within the path material connected unit is locally normalized to obtain the local reflectivity. S34. Select multiple reference surfaces of the same material from the effective health reference surface, extract the representative spectrum of the selected reference surface from the local reflectance, use the wetness score of each reference surface as the wetness coordinate, use the representative spectrum as the spectral response vector, construct a discrete anchor point set, and arrange them in wetness order according to the wetness score. S35. Arrange the adjacent anchor points in the discrete anchor point set according to the wet state order and perform piecewise interpolation or robust fitting to form a piecewise wet state response trajectory.
7. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 6, characterized in that, The specific process for obtaining the wet trajectory components is as follows: S41. Based on the initial reflectance, the sandstone artifact image is divided into an uncompensable region and a compensated region. The pixels with correction conditions within the path material connectivity unit are determined as target pixels. The correction conditions include being able to associate the body region and the material region, the compensation region, and being located on the segmented wet response trajectory. S42. Read the full-band target spectrum from the local reflectance according to the target pixel coordinates, and bind its path material connected unit, material, water action path, wetness score and constraint parameter set; S43. Determine the set of wet sensitive bands based on the wet sensitive bands defined in the constraint parameter set; search for the target wet coordinates on the set of wet sensitive bands that minimize the difference between the full-band target spectrum and the segmented wet response trajectory; project the target wet coordinates onto the segmented wet response trajectory to obtain the wet trajectory component of the target pixel.
8. The hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 7, characterized in that, The process of dividing the non-compensable region into the compensateable region is as follows: The region containing a pixel is classified as an uncompensable region when any of the following conditions are met: When the hyperspectral sensing value of a pixel in any effective band reaches the preset range of the sensor's full scale, it is marked as a saturated pixel mask. Calculate the average signal-to-noise ratio of each pixel in the effective band. When the average signal-to-noise ratio is lower than a preset threshold, it is marked as a low signal-to-noise ratio mask. Moisture sensitivity index and spectral curvature are read from wet spectral features. Open water is identified by moisture sensitivity index and specular reflection is identified by spectral curvature. Combined with spatial connectivity verification, continuous open water areas and specular reflection areas in historical space are marked as continuous open water masks and strong specular reflection masks, respectively. When the geometric model is a sloped backlight surface or a curved concave region, and the initial reflectance is lower than the average reflectance across all bands than the preset reflectance threshold, it is marked as a deep shadow mask.
9. A hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 7, characterized in that, The specific process of amplitude compensation is as follows: The upper limit of the path continuity variation of the target pixel is determined based on the wet coordinate changes and spatial distance of adjacent effective health reference patches of the same material in the same water action path, and the lower limit of the material retention of the target pixel is determined based on the spectral differences between adjacent original sandstone and repair material low-wet effective health reference patches. The candidate replacement amplitudes for the movement of wet trajectory components toward the low wet endpoint are jointly solved, and the maximum feasible replacement amplitude is the maximum candidate value that simultaneously satisfies the upper limit of the path continuity change of adjacent target pixels and the lower limit of material preservation. Amplitude compensation is performed on the wet trajectory component of the target pixel by generating amplitude compensation results based on the maximum feasible replacement amplitude.
10. A hyperspectral wet correction method for high-humidity open-air sandstone cultural relics according to claim 9, characterized in that, The specific process for spectral quality inspection is as follows: Using the amplitude compensation result as a comparison benchmark, local spectral compensation is performed within the preset spectral window to obtain candidate spectral spectra. The quality of the candidate spectral spectra is judged based on the spectral angle, absorption valley direction, curvature, noise variance, trajectory projection error, and the difference from the effective healthy reference spectrum of the same material. When the quality decreases, the replacement amplitude is reduced and the candidate spectral spectra are regenerated. The candidate spectral spectra that meet the quality requirements are output as standardized spectra.
