Image visualization method, device, equipment and medium

By identifying the correspondence between picture components and data, a visual component framework is generated, which solves the problem of insufficient static image display effect and realizes efficient information display conversion.

CN113849676BActive Publication Date: 2025-08-08TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111125581.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-23
Publication Date
2025-08-08
Estimated Expiration
2041-09-23

AI Technical Summary

Technical Problem

The information display effect of existing static pictures is not rich enough, making it difficult to display information efficiently.

Method used

By identifying the corresponding relationship between components and data in the target picture, select the visual component framework, and generate the visual component for display.

Benefits of technology

The conversion from static pictures to visual forms is realized, which improves the information display effect and efficiency, and avoids the time-consuming and labor-intensive problem of manual configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849676B_ABST
    Figure CN113849676B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose a method, apparatus, device and medium for image visualization, the method for image visualization comprising: obtaining a target image and a description file corresponding to the target image, the description file containing target data corresponding to the target image; identifying components contained in the target image, and determining a correspondence between each of the components and the target data; selecting a visualization component framework corresponding to the components contained in the target image, and determining a correspondence between each of the visualization component frameworks and the target data; generating a visualization component based on each of the visualization component frameworks and the corresponding target data, and displaying the visualization component.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, device, and medium for image visualization. Background Art

[0002] In the prior art, static images can display certain information, but the display scenes or display effects of static images are still not rich enough.

[0003] In view of this, a more effective and efficient information display solution is needed. Summary of the Invention

[0004] The embodiments of this specification provide a method, apparatus, device, and medium for visualizing an image, so as to solve the technical problem of how to present information more effectively and efficiently.

[0005] To solve the above technical problems, the embodiments of this specification provide the following technical solutions:

[0006] The present invention provides a method for visualizing an image, including:

[0007] Obtain a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image;

[0008] Identifying components included in the target image and determining a correspondence between each component and the target data; selecting a visualization component framework corresponding to the components included in the target image and determining a correspondence between each visualization component framework and the target data;

[0009] A visualization component is generated according to each visualization component framework and the corresponding target data, and the visualization component is displayed.

[0010] Optionally, determining the correspondence between each component and the target data includes:

[0011] The order of the components is determined, and the corresponding relationship between the components and the target data is determined according to the order of the components.

[0012] Optionally, determining the order of the components includes:

[0013] Determining the order of the components according to the positions of the components in the target image;

[0014] and / or,

[0015] The order of the components is determined according to the type of the components.

[0016] Optionally, determining the correspondence between the components and the target data according to the order of the components includes:

[0017] Determining the order of each group of data included in the target data;

[0018] According to the order of the components and the order of the groups of data, the corresponding relationship between the components and the groups of data included in the target data is determined.

[0019] Optionally, determining the correspondence between each of the visualization component frameworks and the target data includes:

[0020] For any of the visual component frameworks, the target data corresponding to the visual component framework is the target data corresponding to the component corresponding to the visual component framework.

[0021] Optionally, generating a visualization component according to each visualization component framework and corresponding target data includes:

[0022] For any of the visualization component frameworks, the visualization component framework is associated with corresponding target data to generate a visualization component corresponding to the visualization component framework.

[0023] Optionally, the method further includes:

[0024] Determining component parameters of each component included in the target image;

[0025] Generating a visualization component according to each visualization component framework and corresponding target data includes:

[0026] For any of the visual component frameworks, the visual component framework is associated with corresponding target data; and the visual component framework is rendered according to component parameters of the component corresponding to the visual component framework to generate a visual component corresponding to the visual component framework.

[0027] The embodiment of this specification provides an image visualization device, including:

[0028] An acquisition module, configured to acquire a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image;

[0029] An analysis module is configured to identify components included in the target image and determine a correspondence between each component and the target data; select a visualization component framework corresponding to the components included in the target image and determine a correspondence between each visualization component framework and the target data;

[0030] A generation module is used to generate a visualization component according to each visualization component framework and the corresponding target data, and to display the visualization component.

[0031] The present invention provides an image visualization device, including:

[0032] at least one processor;

[0033] as well as,

[0034] a memory communicatively coupled to the at least one processor;

[0035] in,

[0036] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor, enabling the at least one processor to perform the above-mentioned image visualization method.

[0037] An embodiment of this specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above-mentioned image visualization method is implemented.

[0038] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0039] The above technical solution can automatically generate visualization components based on pictures, thereby converting information display through pictures into information display through visualization, improving the effect and efficiency of information display. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] To more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments of this specification or the description of the prior art. Obviously, the drawings introduced below are only some of the drawings that may be involved in the embodiments described in this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without inventive effort.

[0041] Figure 1 This is a schematic diagram of the execution body of the image visualization method in the first embodiment of this specification.

[0042] Figure 2 It is a flowchart of the image visualization method in the first embodiment of this specification.

[0043] Figure 3 It is a structural diagram of the image visualization device in the second embodiment of this specification. DETAILED DESCRIPTION

[0044] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions of the embodiments of this specification will be clearly and completely described below in conjunction with the drawings of the embodiments of this specification. Obviously, the embodiments described in this specification are only some embodiments of this application, not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0045] In the prior art, images are widely used as a means of displaying information, and people have access to a wide variety of images. Among them, static images, as a common image format, are relatively easy for people to access or obtain. Although static images can display certain information, their display scenarios and effects are still not rich enough.

[0046] The first embodiment of this specification (hereinafter referred to as "embodiment one") provides a method for image visualization. The execution subject of embodiment one can be a terminal (including but not limited to a mobile phone, computer, pad, TV) or a server or an operating system or an application or an image visualization platform or an image visualization system, etc., that is, the execution subject can be various and can be set, used or changed as needed. In addition, a third-party application can also assist the execution subject in executing embodiment one. For example Figure 1 As shown, the image visualization method in Example 1 can be executed by a server, and an application corresponding to the server can be installed on a terminal (held by a user). Data can be transmitted between the terminal or application and the server, and data can be collected, input, or output or page or information processing can be performed (to the user) through the terminal or application, thereby assisting the server in executing the image visualization method in Example 1.

[0047] like Figure 2 As shown, the image visualization method provided in the first embodiment includes:

[0048] S101: (Executing entity) obtains a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image;

[0049] The executive body of Example 1 can obtain the target image and the description file corresponding to the target image. For example, the executive body of Example 1 can display a setting page, and the user can upload an image and a description file through the setting page. The executive body of Example 1 will determine the image uploaded through the setting page as the target image, and the description file uploaded through the setting page as the description file corresponding to the target image. In particular, the setting page can have an "OK" button or an "Upload" button or a similar button, and clicking the button indicates that the user has completed the upload. The executive body of Example 1 can use the image uploaded by the user as the target image, and the description file uploaded by the user as the description file corresponding to the target image after any display of the setting page, and until the button on the setting page that is displayed is clicked.

[0050] Of course, the target image and the description file corresponding to the target image may also be determined by other entities other than the execution entity of the first embodiment, and the execution entity of the first embodiment obtains the target image and the description file corresponding to the target image from the other entities.

[0051] In the first embodiment, the target image may be a JPG, PNG or other format image, and the description file may be a Word, Excel or other format file. The first embodiment does not specifically limit the format of the target image or description file.

[0052] In the first embodiment, the target image includes one or more components (each component included in the target image is hereinafter referred to as a "picture component"), such as a chart component. The description file corresponding to the target image includes target data corresponding to the target image. Generally, the target data corresponding to the target image is the data displayed by the picture component in the target image.

[0053] For example, if the target image contains a chart component (including a bar chart, pie chart, or other chart), and the chart component is used to display certain data, then the data to be displayed by the chart component belongs to the target data corresponding to the target image. For example, if the target image contains a bar chart and a pie chart, which are used to display sales data and product share data, then the sales data and product share data belong to the target data corresponding to the target image. Of course, the target image can also contain other types of image components, and the data displayed by other types of image components also belong to the target data corresponding to the target image.

[0054] S103: (Executing entity) identifying components included in the target image and determining a correspondence between each component and the target data; selecting a visualization component framework corresponding to the components included in the target image and determining a correspondence between each visualization component framework and the target data;

[0055] As described above, the target image may include one or more image components, and the execution subject of the first embodiment may identify each image component included in the target image. The execution subject of the first embodiment may identify each image component using image recognition technology.

[0056] After identifying each image component included in the target image, the execution subject of Example 1 can determine component parameters of each image component included in the target image, wherein the component parameters include but are not limited to one or more of component type (i.e., component name, such as a bar chart component), component color, component position, and component size.

[0057] Since the description document contains target data corresponding to the target image, and the target image contains image components, the execution subject of the first embodiment can determine the correspondence between each image component contained in the target image and the target data in the description document.

[0058] In the first embodiment, determining the correspondence between each image component contained in the target image and the target data may include: determining the order of each component contained in the target image, and determining the correspondence between each image component contained in the target image and the target data based on the order of each image component contained in the target image. Determining the correspondence between each image component contained in the target image and the target data based on the order of each image component contained in the target image may include: determining the order of multiple groups of data contained in the target data; and determining the correspondence between each image component contained in the target image and each group of data contained in the target data based on the order of each image component contained in the target image and the order of the multiple groups of data.

[0059] The execution entity of Example 1 may preset rules and determine the order of the image components contained in the target image according to the preset rules. The preset rules may be component type rules or position rules. The component type rule determines the order of the image components contained in the target image according to the type of each image component. The position rule determines the order of the image components contained in the target image according to the position of each image component in the target image, for example, components at the top are ranked higher. Of course, the preset rules may be other rules.

[0060] In the first embodiment, the target data may include one or more sets of data. The execution subject of the first embodiment may determine, extract, or identify one or more sets of data included in the specification file. For example, the target data is sales data for the months of January to December. The sales data for each month is a set of data, so the target data includes 12 sets of data.

[0061] The execution subject of Example 1 can determine the order of each group of data contained in the target data. For example, if each paragraph in the description document corresponds to a group of data, the data corresponding to the front paragraphs will be sorted first; for another example, if each line in the description document corresponds to a group of data, the data corresponding to the front lines will be sorted first.

[0062] After determining the order of the image components contained in the target image and the order of the groups of data contained in the target data, the correspondence between the image components contained in the target image and the groups of data contained in the target data can be determined based on the order of the image components contained in the target image and the order of the groups of data contained in the target data. For example, the image component with the highest order can correspond to the group of data with the highest order, the component with the second highest order can correspond to the group of data with the second highest order, and so on, with the component with the lowest order corresponding to the group of data with the lowest order.

[0063] The execution subject of Example 1 may pre-store resource data for visualization configuration or visualization display, and the resource data includes various types of visualization component frameworks, including but not limited to visualization chart component frameworks, visualization shape component frameworks (such as shape components in svg format), three-dimensional model component frameworks, visualization connection component frameworks or marking points (marking points are used to display certain preset information or data in preset forms, such as videos, charts, pictures, etc.). The visualization component framework itself may have a visualization effect, but it is not associated with or corresponds to specific data. Based on the visualization component framework, a corresponding visualization component may be formed. For example, a visualization bar chart component framework may only include coordinate axes as a framework, but has a visualization effect, such as a three-dimensional effect.

[0064] After identifying the image components contained in the target image, the execution entity of Example 1 can determine the visual component framework corresponding to the "image components contained in the target image." Specifically, the execution entity of Example 1 can preset the correspondence between image components and visual component frameworks, and based on the correspondence between image components and visual component frameworks, select the visual component framework corresponding to each image component contained in the target image from pre-stored resource data. For example, if the image component is a bar chart component, the bar chart component can correspond to a visual bar chart component framework; for example, if the image component is a pie chart component, the pie chart component can correspond to a visual pie chart component framework.

[0065] After determining the visual component framework corresponding to the "each image component contained in the target image", the execution subject of Example 1 can determine the correspondence between each visual component framework and the above-mentioned target data. Among them, determining the correspondence between each visual component framework and the target data can include: for any visual component framework, the target data corresponding to the visual component framework is the target data corresponding to the image component corresponding to the visual component framework. That is to say, for any visual component framework, the visual component framework corresponds to the same target data as the image component corresponding to the visual component framework; or, the visual component framework corresponds to the same set of data as the image component corresponding to the visual component framework.

[0066] It should be noted that there is no absolute order between “determining the correspondence between each image component contained in the target image and the target data” and “determining the visualization component framework corresponding to each image component contained in the target image”.

[0067] S105: (Executing entity) Generates a visualization component according to each visualization component framework and the corresponding target data, and displays the visualization component.

[0068] After determining the visual component framework corresponding to each image component contained in the target image, and the corresponding relationship between each visual component framework and the target data, the execution subject of Example 1 can generate a visual component based on each visual component framework and the corresponding target data. Among them, generating a visual component based on each visual component framework and the corresponding target data can include the method described in 1.1 or 1.2 (Example 1 is not limited to the method described in 1.1 or 1.2):

[0069] 1.1. For any visual component framework, associate the visual component framework with its corresponding target data to generate a visual component corresponding to the visual component framework.

[0070] For any visual component framework, the visual component framework has a basic shape framework, but has not yet been associated or corresponded to data. After associating the visual component framework with its corresponding target data, a visual component corresponding to the visual component framework is generated to visualize the target data corresponding to the visual component framework. For example, a visual component framework is a visual line chart framework, which has a basic coordinate axis shape; if the target data corresponding to the visual component framework is the sales data from January to December, the visual component framework is associated with its corresponding sales data from January to December, and based on the visual component framework, specific coordinate values are formed on the coordinate axis, and a specific broken line is formed, thereby generating a specific visual line chart with coordinate values and broken lines. The generated visual line chart is the visual component corresponding to the visual component framework, which is used to display the target data corresponding to the visual component framework, that is, the sales data from January to December.

[0071] 1.2. For any visual component framework, associate the visual component framework with corresponding target data; render the visual component framework according to component parameters of the component corresponding to the visual component framework to generate a visual component corresponding to the visual component framework.

[0072] "For any visual component framework, associating the visual component framework with the corresponding target data" is as described in 1.1. As described above, the component parameters of each image component contained in the target image can be determined, so for any visual component framework, the visual component framework can be rendered according to the component parameters of the image component corresponding to the visual component framework. After associating the visual component framework with the corresponding target data and rendering the visual component framework according to the component parameters of the component corresponding to the visual component framework, a visual component corresponding to the visual component framework is generated to visually display the target data corresponding to the visual component framework, and the visual component corresponding to the visual component framework conforms to the component parameters of the component corresponding to the visual component framework.

[0073] For example, a visualization component framework is a visual line chart framework with a basic coordinate axis shape. If the target data corresponding to the visualization component framework is sales data for the months of January to December, then, on the one hand, the visualization component framework is associated with the sales data for the months of January to December, and specific coordinate values are formed on the coordinate axis based on the visualization component framework, forming a specific broken line. On the other hand, assuming that the component parameters of the image component corresponding to the visualization component framework include component color, component position, and component size, the visualization component framework is rendered according to the component parameters of the image component corresponding to the visualization component framework. After the target data association and component parameter rendering, the generated visual line chart is the visualization component corresponding to the visualization component framework, which is used to display the target data corresponding to the visualization component framework, namely, sales data for the months of January to December. Furthermore, the visualization component corresponding to the visualization component framework conforms to the component color and component size included in the component parameters of the image component corresponding to the visualization component framework. When the visualization component corresponding to the visualization component framework is displayed, the position of the visualization component corresponding to the visualization component framework on the display page conforms to the component position included in the component parameters of the image component corresponding to the visualization component framework.

[0074] In particular, the execution entity of Example 1 can determine the order of the visual components based on the order of the image components contained in the target image. Generally, the order of the image components contained in the target image is the same as the order of the visual component frames corresponding to the image components contained in the target image, and the order of the visual components corresponding to the visual component frames is the same as the order of the visual component frames. In this way, the visual components can be dynamically displayed in sequence according to the order of the visual components.

[0075] Since the visualization component framework has visualization effects, the visualization component corresponding to the visualization component framework can retain the visualization effects of the visualization component framework; or, after the visualization framework is rendered using component parameters, the visualization effect of the visualization component corresponding to the visualization component framework may be different from the visualization effect of the visualization component framework, such as color change.

[0076] After generating the visual components corresponding to each visual component framework, each visual component can be displayed through the page of the execution subject or other device of embodiment 1. The generated visual components can be saved as a project, and the execution subject or other device of embodiment 1 obtains the project to display each visual component.

[0077] Since the target data corresponding to each visualization component framework is the target data corresponding to the target image, and the data associated with each visualization component framework is the target data corresponding to each visualization component framework, the data displayed by each visualization component is the target data corresponding to the target image, that is, each visualization component can display the target data to be displayed by the target image in a visual form.

[0078] In embodiment one, a visualization component can be automatically generated based on the target image and displayed. The visualization component can display the data to be displayed by the target image through visualization effects in a visualization scenario, thereby automatically converting information display through images, especially static images, into information display through visualization, thereby improving the effect and efficiency of information display.

[0079] In embodiment one, the image components and component parameters can be automatically identified from the target image, and the component parameters can be applied to the visualization component framework, and the visualization component framework can be rendered to form a visualization component. That is, the component parameters corresponding to the image component can be used as the component parameters of the visualization component, thereby eliminating the need for users to manually configure the parameters of the visualization component, improving information display efficiency, and avoiding time-consuming, labor-intensive, and error-prone manual configuration.

[0080] like Figure 3 As shown, the second embodiment of this specification provides an image visualization device corresponding to the method described in the first embodiment, including:

[0081] An acquisition module 202 is configured to acquire a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image;

[0082] The analysis module 204 is configured to identify components included in the target image and determine a correspondence between each component and the target data; select a visualization component framework corresponding to the components included in the target image and determine a correspondence between each visualization component framework and the target data;

[0083] The generating module 206 is configured to generate a visual component according to each of the visual component frameworks and the corresponding target data, and to display the visual component.

[0084] Optionally, determining the correspondence between each component and the target data includes:

[0085] The order of the components is determined, and the corresponding relationship between the components and the target data is determined according to the order of the components.

[0086] Optionally, determining the order of the components includes:

[0087] Determining the order of the components according to the positions of the components in the target image;

[0088] and / or,

[0089] The order of the components is determined according to the type of the components.

[0090] Optionally, determining the correspondence between the components and the target data according to the order of the components includes:

[0091] Determining the order of each group of data included in the target data;

[0092] According to the order of the components and the order of the groups of data, the corresponding relationship between the components and the groups of data included in the target data is determined.

[0093] Optionally, determining the correspondence between each of the visualization component frameworks and the target data includes:

[0094] For any of the visual component frameworks, the target data corresponding to the visual component framework is the target data corresponding to the component corresponding to the visual component framework.

[0095] Optionally, generating a visualization component according to each visualization component framework and corresponding target data includes:

[0096] For any of the visualization component frameworks, the visualization component framework is associated with corresponding target data to generate a visualization component corresponding to the visualization component framework.

[0097] Optionally, the analysis module 204 is further configured to determine component parameters of each component included in the target image;

[0098] Optionally, generating a visualization component according to each visualization component framework and corresponding target data includes:

[0099] For any of the visual component frameworks, the visual component framework is associated with corresponding target data; and the visual component framework is rendered according to component parameters of the component corresponding to the visual component framework to generate a visual component corresponding to the visual component framework.

[0100] A third embodiment of the present specification provides an image visualization device, comprising:

[0101] at least one processor;

[0102] as well as,

[0103] a memory communicatively coupled to the at least one processor;

[0104] in,

[0105] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor, enabling the at least one processor to perform the method described in the first embodiment.

[0106] A fourth embodiment of this specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the method described in the first embodiment is implemented.

[0107] The above embodiments may be used in combination, and modules with the same name between different embodiments or within the same embodiment may be the same or different modules.

[0108] The foregoing description of specific embodiments of the present disclosure is intended to illustrate a method for performing a multi-tasking process. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0109] The various embodiments in this specification are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the device, apparatus, and non-volatile computer-readable storage medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simplified. For relevant details, refer to the descriptions of the method embodiments.

[0110] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification correspond to each other. Therefore, the apparatus, device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, device, and non-volatile computer storage medium will not be repeated here.

[0111] In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD through their own programming, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

[0112] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.

[0113] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0114] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0115] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0116] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0119] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0120] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0121] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0122] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0123] This specification may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage devices.

[0124] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0125] The foregoing is merely an embodiment of the present invention and is not intended to limit the present application. For those skilled in the art, various modifications and variations may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for image visualization, comprising: Obtain a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image; The target data corresponding to the target image is the data displayed by the image component in the target image; Identifying components included in the target image and determining a correspondence between each component and the target data; selecting a visualization component framework corresponding to the components included in the target image and determining a correspondence between each visualization component framework and the target data; A visualization component is generated according to each visualization component framework and the corresponding target data, and the visualization component is displayed.

2. The method according to claim 1, wherein determining the correspondence between each component and the target data comprises: The order of the components is determined, and the corresponding relationship between the components and the target data is determined according to the order of the components.

3. The method of claim 2, wherein determining the order of each of the components comprises: Determining the order of the components according to the positions of the components in the target image; and / or, The order of the components is determined according to the type of the components.

4. The method according to claim 2, wherein determining the correspondence between the components and the target data according to the order of the components comprises: Determining the order of each group of data included in the target data; According to the order of the components and the order of the groups of data, the corresponding relationship between the components and the groups of data included in the target data is determined.

5. The method according to any one of claims 1 to 4, wherein determining the correspondence between each of the visualization component frameworks and the target data comprises: For any of the visual component frameworks, the target data corresponding to the visual component framework is the target data corresponding to the component corresponding to the visual component framework.

6. The method according to claim 1, wherein generating a visualization component according to each visualization component framework and corresponding target data comprises: For any of the visualization component frameworks, the visualization component framework is associated with corresponding target data to generate a visualization component corresponding to the visualization component framework.

7. The method of claim 1, further comprising: Determining component parameters of each component included in the target image; Generating a visualization component according to each visualization component framework and corresponding target data includes: For any of the visualization component frameworks, associating the visualization component framework with corresponding target data; The visual component framework is rendered according to the component parameters of the component corresponding to the visual component framework to generate a visual component corresponding to the visual component framework.

8. A picture visualization device, comprising: An acquisition module, configured to acquire a target image and a description file corresponding to the target image, wherein the description file includes target data corresponding to the target image; The target data corresponding to the target image is the data displayed by the image component in the target image; An analysis module, configured to identify components contained in the target image and determine a correspondence between each component and the target data; Selecting visual component frameworks corresponding to components included in the target image, and determining corresponding relationships between each visual component framework and the target data; A generation module is used to generate a visualization component according to each visualization component framework and the corresponding target data, and to display the visualization component.

9. A picture visualization device comprising: at least one processor; as well as, a memory communicatively coupled to the at least one processor; in, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the image visualization method according to any one of claims 1 to 7. 10 . A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are capable of implementing the image visualization method according to claim 1 when executed by a processor.

Citation Information

Patent Citations

  • File information extraction method and electronic equipment

    CN112906774A

  • Power grid data visualization method, device, equipment and medium

    CN113127580A