Multi-scale thermodynamic diagram construction method based on visual neural network

Through a method based on visual neural networks, CLIP and CAM are used to generate heat distribution maps, which solves the problem of low efficiency in multi-scale construction of heat maps in the existing technology, and achieves efficient construction and improvement of risk perception capabilities.

CN118736053AActive Publication Date: 2024-10-01ZHOUSHAN YONGXIANG SHIPPING CO LTD
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202411231343.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-10-01
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

Existing heat map construction technology is difficult to achieve rapid construction and real-time construction of multiple scales. In particular, multi-layer fusion and clustering methods have low efficiency in practical applications.

Method used

Using a method based on visual neural networks, the CLIP pre-training model is used to process the target object features, and the CAM class activation mapping and Control GAN ​​are combined to generate high-resolution HR images to achieve heat distribution map matching of the target object and achieve efficient construction of multi-scale heat maps. .

Benefits of technology

It realizes the free switching and rapid construction of heat maps at multiple scales, reduces the amount of calculation, and improves risk perception during the heat map generation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736053A_ABST
    Figure CN118736053A_ABST
Patent Text Reader

Abstract

The invention provides a multi-scale thermodynamic diagram construction method based on a visual neural network, and the method comprises the steps: inputting the information of a target object into a CLIP Text pre-training model, obtaining the position coordinate features and attribute features of the target object, and inputting the attribute features of the target object into a CLS model for analyzing the type of the target object; performing fusion matching on the position coordinate features of the target object and the physical world features to generate two-dimensional image data of the target object distributed on a map; inputting the two-dimensional image data into a CLIP Image pre-training model to carry out optimization calculation; the optimization result and the attribute features of the target object are jointly input into a CAM module for class activation mapping, and a generator generates radiation field distribution of the target object; and inputting the two-dimensional image data into a Control GAN module to generate a high-resolution HR image, and matching the high-resolution HR image with the radiation field distribution of the target object to generate a thermal distribution diagram of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of heat map construction, and in particular to a multi-scale heat map construction method based on a visual neural network. Background Art

[0002] Heat maps can display the number density of marked points in the target area and highlight local high-density areas, providing technical support for traffic planning, flow and density analysis, etc.

[0003] Currently, the existing heat map construction technology is mainly based on multi-layer fusion method or clustering method. However, in practical applications, multi-layer fusion method and clustering method often find it difficult to quickly construct heat maps that can switch freely among multiple scales, and also cannot realize real-time construction of any map data. Summary of the invention

[0004] According to the technical problems raised above, a method for constructing a multi-scale thermal map based on a visual neural network is provided. The present invention mainly uses the CLIP pre-training model to process the characteristics of the target object, and then uses the radiation field distribution of the target object generated by the CAM class activation mapping to match the high-resolution HR image output by Control GAN ​​to generate the thermal distribution map of the target object of the current dimension.

[0005] The technical means adopted by the present invention are as follows: A multi-scale heat map construction method based on a visual neural network, comprising: S1. Input the target object information into the CLIP Text pre-trained model, obtain the target object location coordinate features and attribute features, and input the target object attribute features into the CLS model to analyze the target object type; S2, fusing and matching the target object position coordinate features obtained in S1 with the physical world features to generate two-dimensional image data of the target object distribution on the map; S3, input the two-dimensional image data obtained in S2 into the CLIP Image pre-training model for optimization calculation; S4, the optimization result in S3 and the attribute features of the target object in S1 are jointly input into the CAM module for class activation mapping, and the generator generates the radiation field distribution of the target object; S5. Input the two-dimensional image data generated in S2 into the Control GAN ​​module to generate a high-resolution HR image, and match it with the radiation field distribution of the target object generated in S4 to generate a thermal distribution map of the target object.

[0006] Furthermore, the CLIP Text pre-training model takes the text data of the target object information as input to obtain the position coordinate features and attribute features of the target object.

[0007] Furthermore, the physical world features are acquired by a map interface, and the target object position coordinate features are fused and matched with the physical world features of the area based on longitude and latitude coordinate data to generate two-dimensional image data of the target object's distribution on the map.

[0008] Furthermore, the CLIP Image pre-training model takes the two-dimensional image data of the target object distributed on the map as input, performs optimization calculations, and provides a neural network mapping framework for the CAM module class activation mapping.

[0009] Furthermore, the CAM module uses the output of the CLIP Image pre-trained model and the target object attribute features as joint inputs, and uses the spatial information of the class activation map convolutional layer to understand the focus areas of the CLIP Image pre-trained model that are highly responsive when making classification decisions to identify target object areas; The focus area reflects the density distribution of the target object, estimates the importance according to the attribute characteristics of the target object, obtains the weight of each feature map, and multiplies each feature map with the corresponding weight to obtain a weighted feature map; After the weighted feature maps are summed, the weighted summation result reflects the density weight distribution of the target object in the physical world of the area where it is located, and a related class activation heat map is obtained. The high response area in the class activation heat map is reflected as the radiation field distribution of the target object.

[0010] Furthermore, the importance estimation is determined based on whether the attribute characteristics of the target object are highly threatening and the risk logical relationship level thereof.

[0011] Furthermore, the Control GAN ​​module takes the two-dimensional image data of the target object distributed on the map as input, adjusts the two-dimensional image according to the resolution in the image attributes, and generates a high-resolution HR image; sets an adaptive residual block to perform dimensional conversion based on the image resolution to achieve multi-scale scaling of the thermal map; matches the radiation field distribution of the target object with the high-resolution HR image output by Control GAN ​​to generate a thermal distribution map of the target object in the current dimension.

[0012] Compared with the prior art, the present invention has the following advantages: The multi-scale thermal map construction method based on visual neural network provided by the present invention processes the target object features through the CLIP pre-training model, and then matches the target object radiation field distribution generated by CAM class activation mapping with the high-resolution HR image output by Control GAN ​​to generate the thermal distribution map of the target object in the current dimension, thereby realizing multi-scale efficient construction of thermal maps.

[0013] The multi-scale heat map construction method based on visual neural network provided by the present invention generates the radiation field distribution of the target object through CAM class activation mapping to reflect the density distribution of the target object, and transforms the complicated algorithm optimization problem for the target in the traditional heat map construction technology into a method for inputting the distribution of the target object in the physical world. Figure 2 It solves the problem of image recognition and reduces the amount of calculation and innovatively changes the method of heat map generation.

[0014] The multi-scale heat map construction method based on visual neural network provided by the present invention extracts and analyzes the characteristic attributes of target objects through the CLIP pre-training model, and makes risk judgments based on the characteristic attributes of the objects, thereby realizing the classification and early warning capabilities of heat maps for different types of target objects during the generation process, and improving the possibility of risk perception of related areas based on heat maps.

[0015] In summary, the technical solution of the present invention is applied to improve the problem that the multi-layer fusion or clustering method in the practical application of the existing heat map construction technology is difficult to convert the heat map dimension, and realizes the free switching of the heat map multi-scale and the efficient and rapid construction. Therefore, the technical solution of the present invention solves the problem of efficient construction of heat maps at multiple scales in the prior art.

[0016] Based on the above reasons, the present invention can be widely promoted in the field of thermal map construction technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] Figure 1 This is a multi-scale heat map construction method based on a visual neural network in the present invention.

[0019] Figure 2 It is a schematic diagram of the network structure of the multi-scale heat map construction method based on a visual neural network of the present invention.

[0020] Figure 3 This is an importance level determination table in an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] like Figure 1 As shown, the present invention provides a method for constructing a multi-scale heat map based on a visual neural network, comprising: S1. Input the target object information into the CLIP Text (text modality) pre-trained model to obtain the position coordinate features and attribute features of the target object, and input the attribute features of the target object into the CLS classification loss function model to analyze the target object type; In specific implementation, as a preferred embodiment of the present invention, the CLIP Text pre-training model takes the text data of the target object information as input to obtain the position coordinate features and attribute features of the target object.

[0024] S2, match the target object position coordinate features obtained in S1 with the physical world features to generate two-dimensional image data of the target object distribution on the map; In specific implementation, as a preferred embodiment of the present invention, the physical world features are obtained by a map-side interface, and the target object position coordinate features are fused and matched with the physical world features of the area based on longitude and latitude coordinate data to generate two-dimensional image data of the target object distributed on the map.

[0025] S3, input the two-dimensional image data obtained in S2 into the CLIP Image (image modality) pre-training model for optimization calculation; In specific implementation, as a preferred embodiment of the present invention, the CLIP Image pre-training model takes the two-dimensional image data of the target object distributed on the map as input, performs optimization calculation, and provides a neural network mapping framework for the CAM feature visualization module class activation mapping.

[0026] S4, the optimization result in S3 and the attribute features of the target object in S1 are jointly input into CAM for class activation mapping, and the radiation field distribution of the target object is generated by the Generator; In specific implementation, as a preferred embodiment of the present invention, the CAM feature visualization module uses the output of the CLIP Image pre-training model and the target object attribute features as joint inputs, and uses the spatial information of the class activation map convolution layer to understand the focus areas of the CLIP Image pre-training model that are highly responsive when making classification decisions to identify target object areas; The focus area reflects the density distribution of the target object, estimates the importance according to the attribute characteristics of the target object, obtains the weight of each feature map, and multiplies each feature map with the corresponding weight to obtain a weighted feature map; After the weighted feature maps are summed, the weighted summation result reflects the density weight distribution of the target object in the physical world of the area where it is located, and a related class activation heat map is obtained. The high response area in the class activation heat map is reflected as the radiation field distribution of the target object.

[0027] The importance estimation is determined based on whether the attribute characteristics of the target object are highly threatening and the risk logical relationship level thereof.

[0028] The higher the importance level, the larger the radiation field range of the target object, and vice versa, the lower the importance level, the smaller the radiation field range of the target object.

[0029] S5. Input the two-dimensional image data generated in S2 into the Control GAN ​​controllable generative adversarial network module to generate a high-resolution HR Image, and match it with the radiation field distribution of the target object generated in S4 to generate a thermal distribution map of the target object.

[0030] In specific implementation, as a preferred embodiment of the present invention, the Control GAN ​​controllable generative adversarial network module takes the two-dimensional image data of the target object distributed on the map as input, adjusts the two-dimensional image according to the resolution in the image attributes, and generates an HR Image high-resolution image; sets an adaptive residual block R to perform dimensional conversion based on the image resolution to achieve multi-scale scaling of the thermal map; matches the target object radiation field distribution with the high-resolution HR Image high-resolution image output by the Control GAN ​​controllable generative adversarial network to generate a thermal distribution map of the target object of the current dimension.

[0031] Example like Figure 1 The present invention provides a method for constructing a multi-scale heat map based on a visual neural network, such as Figure 2 and Figure 3 As shown, this embodiment provides a network structure schematic diagram and importance level determination table of a multi-scale heat map construction method based on a visual neural network.

[0032] Figure 2 The data information acquisition is divided into the target object information acquisition end and the map end. At the target object information acquisition end, the target object information is first input as text data into the CLIP Text pre-training model to obtain the object position coordinate features and attribute features, and the target object attribute features are input into the CLS classification loss function model to analyze the target object type; at the map end, the map end interface is used to obtain the physical world features, and the object coordinate features are matched with the physical world features of the area where they are located based on the longitude and latitude coordinate data to generate the two-dimensional image data of the target object distribution on the map and input it into the CLIP Image pre-training model for optimization calculation. The output of the CLIP Image pre-training model and the target object attribute features are jointly input into the CAM feature visualization module for class activation mapping, and the target object radiation field distribution is generated by the Generator. At the same time, the two-dimensional image data Image of the target object distributed on the map is input into the ControlGAN controllable generative adversarial network module, and the resolution is adjusted as an image attribute to generate a high-resolution HR Image. The dimensional conversion is realized by setting the adaptive residual block R; and the radiation field distribution of the target object is matched with the high-resolution HR Image output by the Control GAN ​​controllable generative adversarial network to generate a thermal distribution map of the target object in the current dimension.

[0033] Figure 3The importance level determination table used in the importance estimation is based on the attribute characteristics of the target object. The table indicates the estimated weights assigned to the target attributes in different situations. The determination depends on whether the target object is highly threatening and the risk logic relationship it is in.

[0034] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0035] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0036] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0037] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0038] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0039] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0040] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for constructing a multi-scale heat map based on a visual neural network, characterized in that: include: S1. Input the target object information into the CLIP Text pre-trained model, obtain the target object location coordinate features and attribute features, and input the target object attribute features into the CLS model to analyze the target object type; S2, fusing and matching the target object position coordinate features obtained in S1 with the physical world features to generate two-dimensional image data of the target object distribution on the map; S3, input the two-dimensional image data obtained in S2 into the CLIP Image pre-training model for optimization calculation; S4, the optimization result in S3 and the attribute features of the target object in S1 are jointly input into the CAM module for class activation mapping, and the generator generates the radiation field distribution of the target object; S5. Input the two-dimensional image data generated in S2 into the Control GAN ​​module to generate a high-resolution HR image, and match it with the radiation field distribution of the target object generated in S4 to generate a thermal distribution map of the target object.

2. The method for constructing a multi-scale heat map based on a visual neural network according to claim 1, characterized in that: The CLIP Text pre-training model takes the text data of the target object information as input to obtain the position coordinate features and attribute features of the target object.

3. The method for constructing a multi-scale heat map based on a visual neural network according to claim 1, characterized in that: The physical world features are obtained by the map interface, and the target object position coordinate features are fused and matched with the physical world features of the area based on the longitude and latitude coordinate data to generate two-dimensional image data of the target object distribution on the map.

4. The method for constructing a multi-scale heat map based on a visual neural network according to claim 1, characterized in that: The CLIP Image pre-training model takes the two-dimensional image data of the target object distributed on the map as input, performs optimization calculation, and provides a neural network mapping framework for the CAM module class activation mapping.

5. The method for constructing a multi-scale heat map based on a visual neural network according to claim 1, characterized in that: The CAM module uses the output of the CLIP Image pre-trained model and the target object attribute features as joint inputs, and uses the spatial information of the class activation map convolutional layer to understand the focus areas of the CLIP Image pre-trained model when making classification decisions to identify the target object area; The focus area reflects the density distribution of the target object, estimates the importance according to the attribute characteristics of the target object, obtains the weight of each feature map, and multiplies each feature map with the corresponding weight to obtain a weighted feature map; After the weighted feature maps are summed, the weighted summation result reflects the density weight distribution of the target object in the physical world of the area where it is located, and a related class activation heat map is obtained. The high response area in the class activation heat map is reflected as the radiation field distribution of the target object.

6. The method for constructing a multi-scale heat map based on a visual neural network according to claim 5, characterized in that: The importance estimation is determined based on whether the attribute characteristics of the target object are highly threatening and the risk logical relationship level thereof.

7. The method for constructing a multi-scale heat map based on a visual neural network according to claim 1, characterized in that: The Control GAN ​​module takes the two-dimensional image data of the target object distribution on the map as input, adjusts the two-dimensional image according to the resolution in the image attribute, and generates a high-resolution HR image; Set the adaptive residual block to perform dimension conversion based on image resolution to achieve multi-scale scaling of heat maps; The radiation field distribution of the target object is matched with the high-resolution HR image output by Control GAN ​​to generate the thermal distribution map of the target object in the current dimension.

Citation Information

Patent Citations

  • Data flow identification method and device

    CN109905328A

  • Binocular image super-resolution reconstruction method based on multi-scale feature fusion

    CN112767253A

  • Aerial image target detection method, equipment and medium

    CN114140683A

  • Multi-target image-text matching model training method and image-text retrieval method and device

    CN114549874A

  • Group pig posture recognition method based on generative adversarial network

    CN115713780A