Hyperspectral building aging identification system and method based on RGB guidance

By using an RGB-guided hyperspectral building aging recognition system, combined with multi-level image registration and a multi-task learning framework, the system solves the problems of insufficient spectral degradation modeling and network complexity in existing technologies, and achieves efficient and accurate building aging detection.

CN123182014APending Publication Date: 2026-11-27SHANGHAI REAL ESTATE RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611256739.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies lack prior modeling of the physical mechanisms of spectral degradation in building aging detection. Super-resolution reconstruction and aging identification are processed as independent stages, which leads to amplified reconstruction errors. Furthermore, the network structure is complex and computationally intensive, making it difficult to meet the high-efficiency detection requirements of large-scale building complexes.

Method used

A hyperspectral building aging recognition system based on RGB guidance is adopted. The system simultaneously acquires low-resolution hyperspectral images and high-resolution RGB images through a camera. It combines multi-level image registration and a multi-task learning framework, uses Vision Transformer for super-resolution network reconstruction, and introduces a spectral fidelity loss function to achieve end-to-end aging recognition.

Benefits of technology

It significantly improves the spatial resolution of hyperspectral images, maintains the accuracy of spectral features, enhances the precision and efficiency of building aging identification, reduces hardware costs, and is suitable for building aging detection in commercial equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182014A_ABST
    Figure CN123182014A_ABST
Patent Text Reader

Abstract

The application discloses a hyperspectral building aging identification system and method based on RGB guidance, and belongs to the technical field of hyperspectral imaging. The building aging identification method comprises the following steps: a camera synchronously collects a low-resolution hyperspectral image and a high-resolution RGB image of a building facade; the spatial information of the high-resolution RGB image is used as guidance; a super-resolution network is used to reconstruct the low-resolution hyperspectral image to obtain a high-resolution hyperspectral image; and building aging identification is performed based on the high-resolution hyperspectral image, and an aging degree map is output. The application guides the reconstruction of a low-resolution hyperspectral image by using a high-resolution RGB image, significantly improves the spatial resolution under the premise of guaranteeing spectral fidelity by combining a generative adversarial network, and realizes the evaluation of the aging condition of a building facade by combining an aging identification model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hyperspectral imaging technology, and in particular to a hyperspectral building aging identification system and method based on RGB guidance. Background Technology

[0002] Building facade aging detection is a crucial issue in urban building safety management. With the continuous expansion of existing building scale, a large number of building facades have entered a period of high incidence of defects. Aging problems such as cracking, peeling, flaking, and water seepage not only affect the aesthetics and functionality of buildings but also pose a serious threat to public safety. Therefore, conducting rapid and accurate detection of the aging condition of building facades has significant social and economic value.

[0003] Traditional methods for detecting aging of building facades primarily rely on manual visual inspection or computer vision algorithms based on RGB images. Manual inspection involves professionals making judgments through on-site observation and tapping, but this method is inefficient, highly subjective, and poses safety risks due to working at heights, making it unsuitable for large-scale building complex surveys. While computer vision methods based on RGB images can achieve a degree of automation, and RGB cameras offer high spatial resolution, RGB images only contain three broad spectral bands (red, green, and blue), resulting in extremely limited spectral information. This makes it difficult to reflect the differences in chemical composition among different building materials, and also fails to capture the chemical changes that occur during coating aging, such as oxidation, molecular bond breaking, and ultraviolet degradation. Therefore, it is significantly inadequate in distinguishing true aging from interfering factors like surface contamination and moisture.

[0004] Hyperspectral imaging technology can simultaneously acquire images across tens to hundreds of consecutive narrow bands, providing rich spectral information for distinguishing different building materials and detecting chemical aging characteristics. However, super-resolution reconstruction of hyperspectral images still faces many technical challenges. For example, Chinese invention patent application CN113409193A (publication date: September 17, 2021) discloses a method and apparatus for super-resolution reconstruction of hyperspectral images, relating to the technical field of spectral imaging. The method includes converting a low-resolution hyperspectral image into a low-resolution RGB color image and performing neighborhood matching with a first high-resolution RGB color image to determine the corresponding similar spectral information of each matching point in the target high-resolution hyperspectral image; based on the fitting results of the first high-resolution RGB color image and the second high-resolution RGB color image converted from the second high-resolution RGB color image, and the similar spectral information, determining the true spectral information of each matching point in the target high-resolution hyperspectral image; and matching similar spectra through neighborhood matching, preserving the spatial structure information of the original hyperspectral image, enabling rapid reconstruction of high-resolution hyperspectral images with high reconstruction accuracy. However, this method has stringent data acquisition requirements, and the use of global polynomial fitting makes it difficult to accurately characterize the different aging spectral degradation processes of various building materials.

[0005] For example, Chinese invention patent application CN117114983A (publication date: November 24, 2023) discloses a hyperspectral image super-resolution method based on joint spatial-spectral matching. The method includes: constructing a supervised dataset of pairs of hyperspectral and color images based on a degradation model; constructing a hyperspectral super-resolution network and training the network using the dataset; establishing supervised constraints and optimizing the network parameters using a loss function; acquiring input data, generating a high-resolution hyperspectral image, and completing inference and performance evaluation. This application can obtain high-quality, high-resolution hyperspectral images based on deep learning networks by aligning and fusing low-resolution and high-resolution hyperspectral images. However, this method relies on a large amount of paired training data, and the network structure is complex and computationally expensive, limiting its generalization ability in building detection scenarios with limited training samples.

[0006] In summary, existing methods generally suffer from the following shortcomings: they lack prior modeling of the physical mechanisms of spectral degradation in building aging, and most treat super-resolution reconstruction and aging identification as two independent stages, which may amplify the reconstruction error in downstream identification tasks; at the same time, existing methods have complex network structures and high computational costs. Summary of the Invention

[0007] To address the shortcomings of existing technologies, this application provides a hyperspectral building aging identification system and method based on RGB guidance, comprising the following steps: S1: The camera simultaneously acquires low-resolution hyperspectral images and high-resolution RGB images of the building facade; S2: Perform image registration between the low-resolution hyperspectral image and the high-resolution RGB image; S3: Using the spatial information of the registered high-resolution RGB image as a guide, a super-resolution network is used to reconstruct the low-resolution hyperspectral image to obtain a high-resolution hyperspectral image. The training loss function of the super-resolution network includes a spectral fidelity loss term. S4: Based on the high-resolution hyperspectral image, identify building aging and output an aging degree map.

[0008] Furthermore, the super-resolution network reconstruction in step S3 adopts a multi-task learning framework, which is built based on Vision Transformer: the high-resolution hyperspectral image is divided into multiple spatial blocks, each of which contains both spatial texture and multi-band spectral vectors; the high-dimensional spectrum is compressed into feature embeddings through convolution or linear projection, and then input into the Transformer encoder after being superimposed with position encoding.

[0009] Furthermore, the multi-task learning framework adopts a structure combining a shared encoder with multiple task heads, wherein the task heads include: Material classification header, used to identify the material types of building facades; Aging assessment head, used to assess aging level; An aging type identification head is used to distinguish the types of aging damage. The regional aging map generation head is used to output a spatial distribution map of the degree of aging.

[0010] Furthermore, the multi-task learning framework is built based on Vision Transformer (ViT): the high-resolution hyperspectral image H... hr The system is divided into multiple spatial blocks, each containing both spatial texture and multi-band spectral vectors. The high-dimensional spectrum is compressed into feature embeddings through convolution or linear projection, and then fed into the Transformer encoder after being superimposed with positional encoding.

[0011] Furthermore, the training combination loss of the multi-task learning framework is: in, For the loss items corresponding to the material classification, For assessing the degree of aging, the corresponding loss items, Identify the corresponding loss items for aging types. This refers to the loss term corresponding to the aging map of the region. β 1 represents the weighting coefficient for the loss items corresponding to the material classification. β2 represents the weighting coefficient for the loss items corresponding to the aging degree assessment. β 3 represents the weighting coefficient for the loss term corresponding to the aging type identification. β 4 represents the weighting coefficient for the loss term corresponding to the aging map of the region; Material classification and aging type identification use cross-entropy loss, aging degree assessment uses ordered classification or regression loss, and regional aging map generation uses a combination of Dice loss and pixel-level cross-entropy loss.

[0012] Furthermore, in step S3, a degradation model is constructed to train the super-resolution network. The degradation model is used to supervise the network in recovering low-resolution input from the original high-resolution RGB during the training process. The super-resolution network adopts a dual-branch architecture, specifically: The low-resolution hyperspectral image is used to extract spectral features F through three-dimensional convolution and a spectral attention module. s ; The low-resolution RGB image is used to extract high-frequency spatial features F through a generative adversarial network. sp ; Adaptive weighted fusion is used to output the high-resolution hyperspectral image.

[0013] Furthermore, the specific formula for the adaptive weighted fusion is as follows: , where α is the fusion weight and Up(·) is the upsampling operation; Composed of residual dense blocks, the fused feature F fused Input the generator and output the high-resolution hyperspectral image.

[0014] Furthermore, the loss function used during training of the super-resolution network is: ,in, For pixel-level reconstruction loss, This is to account for spectral angle loss and absorption peak shift loss, used to ensure the spectral fidelity of the material; In order to perceive loss, To combat the losses, l 1. l 2. l 3 represents the loss weight.

[0015] Furthermore, the image registration in step S2 employs a multi-level registration method, specifically including: First stage, initial registration of extrinsic parameters: using pre-calibrated camera intrinsic parameters, extrinsic parameters, baseline and shooting distance information, the hyperspectral image is coarsely projected onto the RGB coordinate system; The second level is cross-modal feature registration: the hyperspectral data cubes are synthesized into pseudo-RGB images or structural maps, and key points are matched using scale-invariant feature point extraction algorithms; The third level is robust geometric estimation: the RANSAC algorithm is used to remove mismatched points and estimate the homography matrix or local plane transformation; Level 4, Subpixel Fine Registration: Based on coarse registration, optical flow or RAFT network is used to estimate the dense displacement field.

[0016] Furthermore, the registration method also imposes at least one of the following constraints: Facade plan constraints: Assuming the main walls are approximately planar, non-rigid offsets are allowed only in local areas such as window frames, protruding decorations, and eaves; Material boundary constraints: The boundaries are constrained by RGB edges and hyperspectral abrupt change points to avoid registering brick joints, cracks, and coating peeling edges to the wrong positions; Quality confidence constraints: Reprojection error, mutual information, edge consistency and spectral angle difference are used as registration quality indicators, and low confidence regions are treated as masking or weak supervision regions.

[0017] Furthermore, in step S4, the generation of the spatial distribution map of aging degree is specifically as follows: select an area with intact appearance and stable spectrum in the same building as the healthy baseline, calculate the spectral angle, absorption peak position shift, reflectance decrease and texture abnormality score between the area to be tested and the healthy baseline, and generate an aging risk heat map.

[0018] This application also provides a hyperspectral building aging identification system based on RGB guidance, including: The acquisition module is used to simultaneously acquire low-resolution hyperspectral images and high-resolution RGB images of the building facade; A degradation module is used to apply degradation operators to the high-resolution RGB image to generate a low-resolution RGB image; The registration module is used to perform image registration between the low-resolution hyperspectral image and the high-resolution RGB image; The super-resolution module is used to input the low-resolution hyperspectral image and the low-resolution RGB image into an RGB-guided super-resolution network, use the spatial information of the RGB image to guide the super-resolution reconstruction of the hyperspectral image, and output a high-resolution hyperspectral image; wherein, the training loss function of the super-resolution network includes a spectral fidelity loss term, which includes spectral angle loss and absorption peak shift loss. The aging recognition module is used to input the high-resolution hyperspectral image into a multi-task learning model, perform building aging recognition, and output aging recognition results.

[0019] Compared with existing technologies, the advantages and effects of this application are as follows: 1. This application utilizes high-resolution RGB images to guide low-resolution hyperspectral images to achieve super-resolution reconstruction, which can improve the average spatial resolution of hyperspectral images by about 4 times, overcoming the shortcomings of traditional hyperspectral imaging systems that are difficult to balance due to the mutual constraints between spectral resolution and spatial resolution.

[0020] 2. Preliminary experimental results show that the present application introduces spectral angle loss and absorption peak position loss as spectral fidelity constraints in the super-resolution reconstruction network, so that the key absorption peak shift of the reconstructed hyperspectral image is controlled within 5 nm and the spectral angle error is controlled within 2°. Compared with the existing technology that uses global polynomial fitting or pure data-driven attention mechanism, it can more accurately maintain the intrinsic spectral characteristics of the material and avoid aging misjudgment caused by spectral distortion during reconstruction.

[0021] 3. This application adopts an end-to-end multi-task learning framework to coordinate and optimize super-resolution reconstruction and building aging recognition, so that the reconstruction process directly serves the downstream recognition task. Compared with the existing technology that separates reconstruction and recognition into two independent stages, this improves the accuracy of building aging recognition.

[0022] 4. This application only requires a low-resolution hyperspectral camera and a commercial high-resolution RGB camera to complete data acquisition, which reduces hardware costs compared to existing technologies that rely on multiple auxiliary data sources such as multiple light sources, multispectral images or panchromatic images.

[0023] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings.

[0024] The above and other objects, advantages and features of this application will become more apparent to those skilled in the art from the following detailed description of specific embodiments in conjunction with the accompanying drawings. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.

[0026] in: Figure 1This is a flowchart illustrating a hyperspectral building aging identification method based on RGB guidance. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. In the following description, specific details such as specific configurations and components are provided merely to help fully understand the embodiments of this application. Therefore, those skilled in the art should understand that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. In addition, for clarity and brevity, descriptions of known functions and structures are omitted in the embodiments.

[0028] It should be understood that the phrase "an embodiment" or "this embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "an embodiment" or "this embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.

[0029] Furthermore, reference numerals and / or letters may be repeated in different examples within this application. Such repetition is for the purpose of simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or settings discussed.

[0030] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" describes another type of relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " in this article generally indicates that the related objects before and after it have an "or" relationship.

[0031] In this article, the term "at least one" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, "at least one of A and B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.

[0032] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion.

[0033] Example 1 This embodiment introduces a hyperspectral building aging identification method based on RGB guidance. Please refer to the appendix. Figure 1 , Figure 1 This is a flowchart illustrating a hyperspectral building aging identification method based on RGB guidance. A hyperspectral building aging identification method based on RGB guidance includes the following steps: S1: The camera simultaneously acquires low-resolution hyperspectral images and high-resolution RGB images of the building facade; S2: Perform image registration between the low-resolution hyperspectral image and the high-resolution RGB image; S3: Using the spatial information of the registered high-resolution RGB image as a guide, a super-resolution network is used to reconstruct the low-resolution hyperspectral image to obtain a high-resolution hyperspectral image. The training loss function of the super-resolution network includes a spectral fidelity loss term. S4: Based on the high-resolution hyperspectral image, identify building aging and output an aging degree map.

[0034] The image registration in step S2 employs a multi-level registration method, specifically including: The first stage is the initial registration of hardware extrinsic parameters: read the intrinsic parameters, extrinsic parameters, baseline B, optical axis angle Δθ and on-site distance Z obtained from the dual-camera base calibration, and coarsely project the hyperspectral image onto the RGB coordinate system.

[0035] The second level is cross-modal feature registration: the hyperspectral data cube is weighted and synthesized into a pseudo-RGB image according to the bands that are similar to the spectral response of the RGB camera, or the sensitive bands of building materials (such as 700–850 nm) are selected to generate a structural map, and then scale-invariant feature point extraction methods such as SIFT / SURF are used to match key points; SIFT can extract stable features under scale changes and local rotation conditions.

[0036] The third level is robust geometric estimation: RANSAC is used to remove mismatched points and estimate the homography matrix or local plane transformation. RANSAC is suitable for estimating data models containing outliers.

[0037] The fourth level is subpixel fine registration: based on coarse registration, optical flow or RAFT-like networks are used to estimate the dense displacement field. RAFT achieves high-precision optical flow estimation through full-pixel correlation volume and cyclic update mechanism.

[0038] To adapt to building facade scenarios, three types of constraints are added to the standard registration process: First, there is the facade plan constraint, which means that the main wall surfaces are assumed to be approximately planar, and local non-rigid offsets are allowed only in areas such as window frames, protruding decorations, and eaves. Second, material boundary constraints are used to constrain the boundaries by combining RGB edges and hyperspectral abrupt change points, thus avoiding the misregistration of brick joints, cracks, and coating peeling edges to the wrong positions. Third, there is a quality confidence constraint, which uses reprojection error, mutual information, edge consistency and spectral angle difference as registration quality indicators. Low confidence regions do not directly participate in super-resolution training, but are treated as masking or weakly supervised regions.

[0039] To train the super-resolution network in step S3, a degradation model from high-resolution RGB to low-resolution images needs to be constructed first: assuming the high-resolution RGB image is I... hr If the degradation operator is D and the noise is n, then a low-resolution RGB image is represented as: , where D includes operations such as fuzz kernel, downsampling and noise perturbation.

[0040] The training process of the super-resolution network in step S3 includes: constructing a degradation model and using the degradation model to generate a low-resolution RGB image from the original high-resolution RGB image as training input.

[0041] The super-resolution network described in step S3 adopts a dual-branch architecture, specifically: Low-resolution hyperspectral images Spectral features are extracted using 3D convolution and a spectral attention module. ; Degraded low-resolution RGB image High-frequency spatial features are extracted using a generative adversarial network (with ESRGAN as the backbone). ; The feature fusion module uses adaptive weighting for spectral features. and high-frequency spatial characteristics Processing: , where α is the fusion weight, which is dynamically generated by the lightweight convolutional network based on the local material type; Up(·) represents the upsampling operation; The fusion result is input into a generator composed of residual dense blocks (RRDB), and the output is a high-resolution hyperspectral image. .

[0042] Furthermore, the loss function defined during training of the super-resolution network is: ,in, For pixel-level reconstruction loss, This is to account for spectral angle loss and absorption peak shift loss, used to ensure the spectral fidelity of the material; In order to perceive loss, To combat the losses, l 1. l 2. l 3 represents the loss weight.

[0043] The super-resolution network reconstruction in step S3 employs a multi-task learning framework, which is built upon the Vision Transformer (ViT): the high-resolution hyperspectral image H... hr The system is divided into multiple spatial patches, each containing both spatial texture and multi-band spectral vectors. The system first compresses the high-dimensional spectrum into feature embeddings through 1×1 convolution or linear projection, and then superimposes the positional encoding into the Transformer encoder.

[0044] Furthermore, the multi-task learning framework adopts a shared encoder combined with multiple task heads, which include: a material classification head, an aging degree assessment head, an aging type identification head, and a regional aging map generation head.

[0045] Furthermore, the training combination loss of the multi-task learning framework is: in, For the loss items corresponding to the material classification, For assessing the degree of aging, the corresponding loss items, Identify the corresponding loss items for aging types. This refers to the loss term corresponding to the aging map of the region. β 1 represents the weighting coefficient for the loss items corresponding to the material classification. β 2 represents the weighting coefficient for the loss items corresponding to the aging degree assessment. β 3 represents the weighting coefficient for the loss term corresponding to the aging type identification. β 4 represents the weighting coefficient for the loss term corresponding to the aging map of the region; Material classification and aging type identification use cross-entropy loss, aging degree assessment uses ordered classification or regression loss, and regional aging map generation uses a combination of Dice loss and pixel-level cross-entropy loss.

[0046] In step S4, the generation of the spatial distribution map of aging degree is specifically as follows: select an area with intact appearance and stable spectrum in the same building as the healthy baseline, calculate the spectral angle, absorption peak position shift, reflectance decrease and texture abnormality score between the area to be tested and the healthy baseline, and generate an aging risk heat map.

[0047] Technical effects of this embodiment: The hyperspectral building aging identification method based on RGB guidance provided in this embodiment can significantly improve spatial resolution while ensuring spectral fidelity, and combined with a hyperspectral aging identification model, realize the assessment of the aging status of building facades.

[0048] Example 2 Based on Example 1, this example further introduces a specific application scenario of a hyperspectral building aging identification method based on RGB guidance.

[0049] (1) Application scenario: Classification of building materials.

[0050] This task is used to identify building facade material types such as brick, stone, cement mortar, paint, wood, and metal components. Material labels can be obtained in the following three ways: First, by utilizing existing building archives, historical repair records, and expert on-site survey records, regional-level material labels are assigned to different areas in the images. Second, experts select a small number of representative regions of interest (ROIs) from the hyperspectral images and provide material category information in the form of point annotations or rectangular box annotations; Third, for scenarios where large-scale manual calibration is difficult to carry out, the system automatically generates pseudo-labels based on spectral clustering analysis and spectral angle matching (SAM) of the same building facade, and then experts sample and verify them to ensure the quality of the labels.

[0051] During the model training phase, material classification is used as an auxiliary task in multi-task learning to constrain the super-resolution reconstruction process to maintain the consistency of material semantics while improving spatial resolution, thus avoiding the problem that the reconstruction results are visually clear but the material spectral features are distorted.

[0052] (2) Application scenario: Aging type identification and aging degree map generation.

[0053] This task addresses various types of building facade defects, including weathering, water seepage, salt precipitation, powdering, cracking, coating peeling, wood cracks, and metal corrosion.

[0054] For projects with calibration conditions, on-site engineers delineate the diseased areas on high-resolution RGB images and use the results obtained through manual inspection, moisture content testing, tapping inspection, and close-up photo verification as disease labels. The system then maps these labels to the hyperspectral image coordinate system through image registration for supervised training.

[0055] For historical buildings or large-scale survey scenarios where complete labeling is difficult to obtain, the system supports no or weak labeling methods: First, select an area with intact appearance and stable spectral characteristics on the same building facade as a healthy baseline. Then, calculate the spectral angular distance, absorption peak position offset, reflectance decrease and texture anomaly score between the area to be tested and the healthy baseline, and comprehensively form an aging risk heat map. Experts only need to confirm a small number of high-risk areas in the heat map on-site to iteratively optimize the model.

[0056] The two application scenarios mentioned above form a closed-loop feedback with the front-end super-resolution module: the material classification branch constraint model retains the intrinsic spectral features related to the material type, while the aging recognition branch constraint model focuses on the spatial boundaries and texture details of building defects. The two branches work together to effectively suppress the pseudo-texture phenomenon that may occur in the super-resolution reconstruction process of generative adversarial networks, which is "visually clear but spectrally unrealistic".

[0057] In this embodiment, the specific categories of building materials include paint, bricks, cement, and stone. Aging degree assessment is divided into four levels: new, minor, moderate, and severe. Aging type identification distinguishes different aging modes such as oxidation, UV degradation, stain deposition, microbial growth, and cracks. Finally, the system outputs a spatial distribution map of the aging degree of the building facade, forming a regional aging map, providing an intuitive basis for building maintenance decisions. Regarding the model training strategy, the super-resolution network is first pre-trained on a publicly available hyperspectral dataset, and then fine-tuned on a dataset of actually collected building facades, ultimately achieving end-to-end intelligent detection from low-resolution hyperspectral images to building aging identification results.

[0058] Example 3 Based on Embodiment 1 or 2, this embodiment compares the key performance indicators of the present application with those of the prior art, and the results are shown in Table 1.

[0059] Table 1. Comparison of performance indicators between this application and prior art. Regarding spatial resolution, this application uses the spatial information of high-resolution RGB images as a guide and employs generative adversarial networks to reconstruct low-resolution hyperspectral images into high-resolution hyperspectral images. Preliminary experimental results show that the method of this application can improve the average spatial resolution from 1024×1024 to 4096×4096.

[0060] Regarding spectral fidelity, existing technologies do not introduce spectral fidelity constraints during super-resolution reconstruction. This application introduces spectral angle loss and absorption peak position loss during network training, so that while the spatial resolution of the reconstructed hyperspectral image is greatly improved, the position shift of the key absorption peak can be controlled within 5 nm and the spectral angle error can be controlled within 2°.

[0061] If the method of this application is not adopted, the aging recognition accuracy is about 70% when based solely on pure hyperspectral images. This application uses a multi-task learning framework to train super-resolution reconstruction and aging recognition together, and the final aging recognition accuracy reaches more than 90%, which is more than 20% higher than the prior art.

[0062] In terms of processing time, existing technologies have complex network structures and a large number of parameters, and the time taken for a single image to go from input to output aging recognition results exceeds 1 minute. However, using the method described in this application, the processing time for a single image can be less than 30 seconds under the experimental conditions of this embodiment.

[0063] Technical effects of this embodiment: This embodiment compares multiple performance indicators of the present application and the prior art. The results show that the present application is significantly better than the prior art in four core indicators: spatial resolution, spectral fidelity, aging identification accuracy and processing time.

[0064] The above description is merely a preferred embodiment of the present invention and does not limit the scope of protection of the present invention. Various modifications and variations are possible with respect to the present invention. Any changes, modifications, substitutions, integrations, and parameter alterations to these embodiments within the spirit and principles of the present invention fall within the scope of protection of the claims of the present invention.

Claims

1. A hyperspectral building aging identification method based on RGB guidance, characterized in that, Includes the following steps: S1: The camera simultaneously acquires low-resolution hyperspectral images and high-resolution RGB images of the building facade; S2: Perform image registration between the low-resolution hyperspectral image and the high-resolution RGB image; S3: Using the spatial information of the registered high-resolution RGB image as a guide, a super-resolution network is used to reconstruct the low-resolution hyperspectral image to obtain a high-resolution hyperspectral image. The training loss function of the super-resolution network includes a spectral fidelity loss term. S4: Based on the high-resolution hyperspectral image, identify building aging and output an aging degree map.

2. The method according to claim 1, characterized in that, The super-resolution network reconstruction in step S3 adopts a multi-task learning framework, which is built based on Vision Transformer: the high-resolution hyperspectral image is divided into multiple spatial blocks, each of which contains both spatial texture and multi-band spectral vectors; the high-dimensional spectrum is compressed into feature embeddings through convolution or linear projection, and then input into the Transformer encoder after being superimposed with position encoding.

3. The method according to claim 2, characterized in that, The multi-task learning framework adopts a structure combining a shared encoder with multiple task heads, wherein the task heads include: Material classification header, used to identify the material types of building facades; Aging assessment head, used to assess aging level; An aging type identification head is used to distinguish the types of aging damage. The regional aging map generation head is used to output a spatial distribution map of the degree of aging.

4. The method according to claim 1, characterized in that, The training process of the super-resolution network in step S3 includes: constructing a degradation model and using the degradation model to generate a low-resolution RGB image from the original high-resolution RGB image as training input.

5. The method according to claim 4, characterized in that, The super-resolution network adopts a dual-branch architecture, specifically: The low-resolution hyperspectral image is used to extract spectral features F through three-dimensional convolution and a spectral attention module. s ; The low-resolution RGB image is used to extract high-frequency spatial features F through a generative adversarial network. sp ; Adaptive weighted fusion is used to output the high-resolution hyperspectral image.

6. The method according to claim 1, characterized in that, The image registration in step S2 employs a multi-level registration method, specifically including: First stage, initial registration of extrinsic parameters: using pre-calibrated camera intrinsic parameters, extrinsic parameters, baseline and shooting distance information, the hyperspectral image is coarsely projected onto the RGB coordinate system; The second level is cross-modal feature registration: the hyperspectral data cubes are synthesized into pseudo-RGB images or structural maps, and key points are matched using scale-invariant feature point extraction algorithms; The third level is robust geometric estimation: the RANSAC algorithm is used to remove mismatched points and estimate the homography matrix or local plane transformation; Level 4, Subpixel Fine Registration: Based on coarse registration, optical flow or RAFT network is used to estimate the dense displacement field.

7. The method according to claim 6, characterized in that, The registration method also imposes at least one of the following constraints: Facade plan constraints: Assuming the main walls are approximately planar, non-rigid offsets are allowed only in local areas such as window frames, protruding decorations, and eaves; Material boundary constraints: The boundaries are constrained by RGB edges and hyperspectral abrupt change points to avoid registering brick joints, cracks, and coating peeling edges to the wrong positions; Quality confidence constraints: Reprojection error, mutual information, edge consistency and spectral angle difference are used as registration quality indicators, and low confidence regions are treated as masking or weak supervision regions.

8. The method according to claim 1, characterized in that, In step S4, the generation of the aging degree map is specifically as follows: select an area with intact appearance and stable spectrum in the same building as the healthy baseline, calculate the spectral angle, absorption peak position shift, reflectance decrease and texture abnormality score between the area to be tested and the healthy baseline, and generate an aging risk heat map.

9. A hyperspectral building aging identification system based on RGB guidance, characterized in that, include: The acquisition module is used to simultaneously acquire low-resolution hyperspectral images and high-resolution RGB images of the building facade; A degradation module is used to apply degradation operators to the high-resolution RGB image to generate a low-resolution RGB image; The registration module is used to perform image registration between the low-resolution hyperspectral image and the high-resolution RGB image; The super-resolution module is used to input the low-resolution hyperspectral image and the low-resolution RGB image into an RGB-guided super-resolution network, use the spatial information of the RGB image to guide the super-resolution reconstruction of the hyperspectral image, and output a high-resolution hyperspectral image; wherein, the training loss function of the super-resolution network includes a spectral fidelity loss term, which includes spectral angle loss and absorption peak shift loss. The aging recognition module is used to input the high-resolution hyperspectral image into a multi-task learning model, perform building aging recognition, and output aging recognition results.

Citation Information

Patent Citations

  • Super-resolution reconstruction method and device for hyperspectral image

    CN113409193A

  • Hyperspectral image super-resolution method and device based on spatial-spectral joint matching

    CN117114983A