Image display method, electronic equipment and computer readable storage medium
By generating a data description file of the image processing results on the computing device and parsing the drawing information on the display device, the problem of complex update of display device programs and insufficient compatibility in the existing technology is solved, and the display and display of multiple algorithm results are realized. Calculate stress sharing.
Patent Information
- Application Number
- CN202410719408.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, when the computing device and the display device are separated, the display strategy needs to be updated frequently, resulting in complex deployment and high threshold. Moreover, the display device program only supports a limited variety of image processing algorithms, making it difficult to display the results of multiple algorithms.
By determining the data description file of the image processing result on the computing device and sending it to the display device, the display device parses the drawing information based on the file and performs graphics drawing, reducing the requirements for the display device application and realizing the results of multiple algorithms. show.
Without changing the display device program, it is possible to display a variety of image processing results, reducing computing pressure, improving the compatibility and scalability of the display device, and reducing deployment complexity.
Smart Images

Figure CN118708142A
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image display method, an electronic device, and a computer-readable storage medium. Background Art
[0002] In the scenario where the computing device and the display device are separated, if the result data calculated on the computing device needs to be displayed on the display device, the computing device needs to pass the required display algorithm to the display device, but the program of the display device can often only support the presentation of the results of a limited number of image processing algorithms. Summary of the invention
[0003] The purpose of the present application is to provide an image display method, an electronic device and a computer-readable storage medium, which can realize the display of an image without updating a complex algorithm on a display device.
[0004] In a first aspect, the present invention provides an image display method, applied to a display device, wherein the display device is connected to a computing device, and the method further includes: receiving a data description file sent by the computing device; receiving algorithm result data sent by the computing device, wherein the data description file includes the distribution of various drawing information carried by the algorithm result data, and the algorithm result data is determined by the computing device based on original image data; based on the data description file, parsing the algorithm result data to obtain various drawing information; based on the drawing information, drawing a target graphic on a target carrier.
[0005] In the above implementation, the computing device determines the data to be displayed, and then the computing device can also send the data description file to the display device. The display device can determine the drawing information carried in the algorithm result data based on the description information in the data description file without changing the original program, so that the graphics can be drawn based on the drawing information. Through this processing method, the requirements for the application in the display device are reduced, and it only needs to be able to interpret the data description file to realize the display of various processing results obtained by the computing device.
[0006] In an optional embodiment, the drawing information includes the number of primitives and primitive shapes; drawing the target graphics on the target carrier based on the drawing information includes: based on the number of primitives and the primitive shapes, drawing the primitive shapes with the number of primitives on the target carrier.
[0007] Based on the above implementation, the shape and quantity of graphic elements can be displayed, and the content that can be displayed by the display device can be increased.
[0008] In an optional embodiment, the drawing information also includes position information of the primitive shapes; drawing the primitive shapes of the number of primitives on the target carrier based on the number of primitives and the primitive shapes includes: based on the number of primitives, the primitive shapes and the position information, drawing the primitive shapes of the number of primitives at the position indicated by the position information of the target carrier.
[0009] In an optional embodiment, the position information includes coordinates of key points of the graphic element; and drawing the target graphics on the target carrier based on the drawing information includes: based on the number of graphic elements, the shape of the graphic element and the coordinates of the key points of the graphic element, drawing the shape of the graphic element of the number of graphic elements at the position indicated by the coordinates of the key points of the target carrier.
[0010] Based on the above implementation, the position of the graphic can be limited, so that the presentation of the target graphic can better express the information it expresses.
[0011] In an optional embodiment, the drawing information also includes graphic attributes, and the graphic attributes include one or more of color, line thickness, and label; drawing the target graphic on the target carrier based on the drawing information includes: based on the graphic attributes, drawing the target graphic that satisfies the graphic attributes on the target carrier.
[0012] In the above implementation, by limiting the attributes of the graphics, the presentation of the graphics on the display device can be made more intuitive and vivid.
[0013] In an optional embodiment, the target carrier includes original image data; the method further includes: obtaining the original image data; drawing the target graphics on the target carrier based on the drawing information includes: drawing the target graphics on the original image data based on the drawing information.
[0014] In an optional embodiment, the drawing information includes original image processing information; and drawing a target graphic on the original image data based on the drawing information includes: processing the original image data based on the original image processing information; and drawing a target graphic on the processed original image data.
[0015] In the above implementation, the original image data can be used as a carrier to present a target graphic on the original image, and the original image data can be marked, so that relevant users can obtain key information of the original image data based on the target graphic.
[0016] In a second aspect, the present invention provides an electronic device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of the method described in any one of the aforementioned implementations.
[0017] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of the aforementioned embodiments are executed.
[0018] In a fourth aspect, the present invention provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the method described in any one of the aforementioned embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of the interaction between a computing device and a display device provided in an embodiment of the present application;
[0021] Figure 2 A block diagram of an electronic device provided in an embodiment of the present application;
[0022] Figure 3 A flowchart of an image display method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
[0024] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0025] At present, when computing devices and display devices are separated, the existing technology often needs to transfer the display policy required by the computing device to the display device each time. If the display policy needs to be changed, the corresponding tasks on the computing device and the display device need to be redeployed. If the redeployment task encounters a more complicated computing device deployment process, it will cause a large workload for the deployment task. At the same time, the display policy is transmitted in binary form, and most of them use a proprietary format. This method has threshold requirements for the display policy maker and is relatively difficult.
[0026] In order to improve the above situation, from the perspective of format compatibility and scalability, proprietary formats or complex standards can be used, which increases the compatibility and scalability issues between the drawing tools of the display device. At present, the programs of display devices often only support the display of a limited number of algorithm results. If more algorithms are to be supported, not only the algorithms need to be imported on the computing device side, but the programs also need to be updated on the display device side. From the perspective of supporting changes in data processing strategies, the algorithm results can be directly drawn in the image on the processing device side, and the image can be sent to the display device for direct display. However, this processing method requires the processing device to perform relatively more computing work, which puts relatively high computing pressure on the processing device.
[0027] Based on the above research, the embodiments of the present application can provide an image display method, an electronic device and a computer-readable storage medium, which can realize the display of graphics without providing multiple programs for displaying different algorithm results in the display device, and the processing device and the display device can share the calculation amount and reduce the calculation pressure on one side.
[0028] To facilitate understanding of this embodiment, the operating environment of an image display method disclosed in the embodiment of the present application is first introduced in detail.
[0029] like Figure 1 , which is a schematic diagram of the interaction between the computing device 110 and the display device 120 provided in an embodiment of the present application. The computing device 110 can establish communication with one or more display devices 120 through a network or a wired connection to perform data communication or interaction. The computing device 110 can be a network server, a database server, etc., and the computing device 110 can also be an edge device, etc. The display device 120 can be a personal computer (PC), a tablet computer, a smart phone, a personal digital assistant (PDA), etc.
[0030] Exemplarily, the computing device 110 may be an edge device, and the display device 120 may be a device having a display. The display device 120 may obtain the algorithm result data of the edge device, and the display device 120 may parse the algorithm result data to draw the content to be displayed.
[0031] Optionally, the computing device 110 may transmit the data to be transmitted to the display device 120 via network transmission.
[0032] Optionally, the computing device 110 may also transmit the data to be transmitted to the display device 120 via a wired connection.
[0033] like Figure 2 , which is a block diagram of an electronic device. The electronic device 200 may include a memory 211 and a processor 213. A person skilled in the art may understand that Figure 2 The structure shown is only for illustration and does not limit the structure of the electronic device 200. For example, the electronic device 200 may further include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations shown.
[0034] The above-mentioned memory 211 and processor 213 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The above-mentioned processor 213 is used to execute the executable module stored in the memory.
[0035] The memory 211 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 211 is used to store programs, and the processor 213 executes the program after receiving the execution instruction. The method executed by the electronic device 200 defined by the process disclosed in any embodiment of the present application can be applied to the processor 213, or implemented by the processor 213.
[0036] The processor 213 may be an integrated circuit chip with signal processing capability. The processor 213 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0037] In this embodiment, Figure 1 The computing device 110 and the display device 120 shown may include Figure 2 Components of the electronic device 200 shown. Of course, based on the different requirements of each device, the computing device 110 and the display device 120 may include more components than the electronic device 200. For example, the computing device 110 may also include components such as a positioning unit and a communication unit. The display device 120 may include a display unit, an input and output unit, and the like.
[0038] The electronic device 200 in this embodiment can be used to execute each step in each method provided in the embodiments of the present application. The implementation process of the image display method is described in detail below through several embodiments.
[0039] See also Figure 3 , is a flowchart of the image display method provided by the embodiment of the present application. The image display method provided by the embodiment of the present application can be applied to a display device, the display device is connected to a computing device, and the steps in the image display method are executed by the display device. Figure 3 The specific process shown is described in detail.
[0040] Step 310: Receive a data description file sent by a computing device.
[0041] Exemplarily, the data description file may be used to describe the distribution of various drawing information carried in the algorithm result data sent by the computing device.
[0042] Optionally, the data description file may describe in text form the distribution of various drawing information carried in the algorithm result data.
[0043] Optionally, the data description file may also agree on the meanings of the numbers in different positions. For example, the first byte may represent the primitive category number. For example, number 1 may represent a circle, number 2 may represent a triangle, number 3 may represent a rectangle, and so on.
[0044] It can be understood that the data description file can specify the meanings expressed by the parameters in the algorithm result data.
[0045] Optionally, the data description file may be a file in yaml format.
[0046] Optionally, before step 310, the method may further include: sending the image processing algorithm to the computing device. The computing device may determine a data description file matching the received image processing algorithm based on the received image processing algorithm.
[0047] Step 320, receiving the algorithm result data sent by the computing device.
[0048] The algorithm result data is determined by the computing device based on the original image data.
[0049] For example, if it is necessary to frame the key in the original image data, the algorithm result data may be data such as the shape of the frame used for the frame selection, the content of the frame selection, the location of the framed object, etc.
[0050] For example, if it is necessary to highlight a local image in the original image data, the algorithm result data may be data such as the position of the local image to be highlighted, the color of the highlight, etc.
[0051] Optionally, the algorithm result data may be the computing device classifying and identifying the original image data based on its classification model to determine the classified objects contained in the original image data.
[0052] In one example, the above-mentioned classification model can be a fruit detection algorithm, which classifies the original image data containing an orange and an apple, and two classification boxes of orange and apple can be given. These two classification boxes can be described by two graphic element examples. Then, the display device should draw two rectangular boxes when displaying, and mark the sides of their corresponding boxes with "orange" and "apple" label strings respectively.
[0053] Optionally, the computing device may include multiple image processing algorithms, and after selecting an image processing algorithm, the computing device may transmit the data description file of the image processing algorithm to the display device. Different image processing algorithms may correspond to different data description files.
[0054] Step 330: parsing the algorithm result data based on the data description file to obtain various drawing information.
[0055] Exemplarily, the meaning expressed by the parameters at each position in the data algorithm result may be determined based on the data description file.
[0056] Optionally, the data algorithm result can be presented in the form of numbers, and numbers at different positions can be used to mark different categories of information. Different numerical values can also represent specific forms under the category. For example, a number at one position can be used to represent the shape of a graphic, and the specific numerical value of the number at the position can be used to represent the specific shape. For example, numbers at multiple positions can be used to represent the coordinates of key points of a graphic, and the specific numerical values of the numbers at the multiple positions can be used to represent the specific positions expressed by the coordinates.
[0057] The drawing information may include elements required for drawing, such as primitive shapes, positions of primitive shapes, etc. Based on different actual drawing requirements, the drawing information may also include more or less information.
[0058] Step 340: Draw a target graphic on the target carrier based on the drawing information.
[0059] Optionally, the target carrier may be a carrier that the target graphic needs to display. For example, if the target graphic needs to be used to mark key information in the original image data, the target carrier may be the original image data. For another example, if the target graphic can be used to depict the outlines of various objects in the original image data, the target carrier may be a blank background.
[0060] Through the above implementation, the computing device and the display device can be separated, and the computing device can perform calculations on the original image data to determine the information of the target graphics; then the display device can draw the graphics; the computing pressure of the computing device and the display device in the image display can be dispersed. In addition, since the computing device determines the data to be displayed, and then the computing device can also send the data description file to the display device, the display device can determine the drawing information carried in the algorithm result data based on the description information in the data description file without changing the original program, so that the graphics can be drawn based on the drawing information. Through this processing method, the requirements for the application in the display device are reduced, and it only needs to be able to interpret the data description file to realize the display of various processing results obtained by the computing device.
[0061] In one implementation, the drawing information includes the number of primitives and the shapes of primitives.
[0062] The above-mentioned step 340 may include: based on the number of primitives and the shape of primitives, drawing primitive shapes of the number of primitives on the target carrier.
[0063] Exemplarily, the data description file may include: the position of the primitive category number in the algorithm result data, the position of the number of primitives in the algorithm result data. For example, the first byte indicates the primitive category number, and the second byte indicates the number of primitives.
[0064] In one example, the purpose of image display is to select fruit frames from the original image data. For example, oranges and apples are given in the original image data. The computing device performs computational processing on the original image data through a detection algorithm, and can determine two classification frames of oranges and apples. If the two classification frames are described by two primitive examples at this time, the display device should draw two classification frames when displaying. Then the algorithm result data determined based on the original image contains the representation information of the two classification frames. In one example, the representation information of the two classification frames can be represented by numbers. The first byte in the algorithm result data represents the primitive category number, which is used to represent the shape of the required classification frame; the second byte in the algorithm result data is used to represent the number of required classification frames. For example, the classification frame can be a rectangular frame. In this example, the value of the first byte in the algorithm result data can be a value representing the rectangular frame, and the value of the second byte in the algorithm result data can be 2.
[0065] Of course, the information represented by the numbers in each position can also be adaptively adjusted. For example, the first byte represents the number of graphic elements, and the second byte represents the graphic element category number.
[0066] Taking the above example, when drawing a target graphic, its target carrier may be the original image data, and a classification box is drawn for the orange and the apple in the original image data respectively.
[0067] Optionally, the drawing information also includes position information of the primitive shapes.
[0068] The above-mentioned step 340 may include: based on the number of graphic elements, the shape of the graphic elements and the position information, drawing the shape of the graphic elements of the number of graphic elements at the position indicated by the position information of the target carrier.
[0069] Exemplarily, the position information may include the distance between the key point of the primitive and the edge of the target carrier; the data description file may include the position of the parameter defining the distance between the key point and the edge of the target carrier in the algorithm result data. For example, the data description file may include the third byte representing the distance between the key point of the primitive and the first edge of the target carrier; the data description file may include the fourth byte representing the distance between the key point of the primitive and the second edge of the target carrier.
[0070] The above step 340 may include: based on the number of primitives, the primitive shapes and the coordinates of the key points of the primitives, drawing the primitive shapes of the number of primitives at the position specified by the distance between the key points of the target carrier and the edge of the target carrier.
[0071] Exemplarily, the position information may also include the distance between the key point of the primitive and the edge of the target graphic. The data description file may include the position of the parameter defining the distance between the key point and the edge of the target graphic in the algorithm result data. For example, the data description file may include the third byte representing the distance between the key point of the primitive and the first edge of the target graphic; the data description file may include the fourth byte representing the distance between the key point of the primitive and the second edge of the target graphic.
[0072] The above step 340 may include: based on the number of primitives, the shape of the primitives and the coordinates of the key points of the primitives, drawing the primitive shapes of the number of primitives at the position specified by the distance between the key points of the target carrier and the edge of the target graphic.
[0073] Exemplarily, the position information includes coordinates of key points of the primitive.
[0074] The above-mentioned step 340 may include: based on the number of primitives, the shape of the primitives and the coordinates of the key points of the primitives, drawing the primitive shapes of the number of primitives at the positions indicated by the coordinates of the key points of the target carrier.
[0075] Exemplarily, the position indicated by the coordinates of the key point may be determined in the target carrier, and then the primitive shape may be drawn.
[0076] Optionally, the data description file may also include the third and fourth bytes being the upper left corner horizontal coordinate x of the first rectangular box, the fifth and sixth bytes being the upper left corner vertical coordinate y of the first rectangular box, the seventh and eighth bytes being the lower right horizontal coordinate x of the first rectangular box, the ninth and tenth bytes being the lower right vertical coordinate y of the first rectangular box, and the eleventh byte being the classification label of the first rectangular box. The second rectangular box description content and the third rectangular box description content may also be included later.
[0077] For example, if the parameter representation in the algorithm result data has multiple rectangular boxes, the data description file may include multiple groups of description contents about the rectangular boxes. The description contents of the rectangular boxes of other groups can refer to the description contents of the first rectangular box mentioned above.
[0078] In other implementations, the classification frame may also be in other shapes, for example, the classification frame may be a circular frame. The data description file may also include the third byte being the abscissa x of the center of the first circular frame, the fourth byte being the ordinate y of the center of the first circular frame, and the fifth byte being the classification label of the first circular frame. The second circular frame description content and the third circular frame description content may also be included later.
[0079] Of course, the classification box can also be other shapes. For example, the number of control points can be provided for the data part of the basic primitive line. For example, the number of control points of a straight line is 0; the number of control points of a curve is the number of inflection points. The control point data and the endpoint data can constitute the basic primitive line. For graphics that cannot be covered by basic primitives, the arrangement and combination of basic primitives can be used to realize the drawing function of complex graphics.
[0080] For example, if a five-pointed star needs to be drawn on a target carrier, it can be combined from basic primitive lines. For example, the endpoint data of each edge of the five-pointed star can be given. Optionally, the basic primitives can also be adaptively expanded. For example, the primitive category number of the five-pointed star is 5, and the first primitive data indicates the number of points in the figure, followed by the coordinates of the five vertices in order, and the order given corresponds to the connection relationship between the points in the figure. The data description file can be configured with descriptions such as the connection relationship and connection order between the five fixed points.
[0081] In order to enrich the presentation state of the graphic element, the drawing information may further include graphic attributes, where the graphic attributes include one or more of color, line thickness, and label.
[0082] The above-mentioned step 340 may include: based on the graphic attributes, drawing a target graphic satisfying the graphic attributes on the target carrier.
[0083] Optionally, on the basis of satisfying the graphic attribute, the aforementioned limited primitive graphics, primitive quantity, graphic position and other information may also be limited. The description of primitive graphics, primitive quantity, and graphic position may refer to the content of the aforementioned implementation method, which will not be repeated here.
[0084] Optionally, when the target graphic includes multiple primitives, the graphic attributes of each primitive may be different. For example, the first primitive is presented in a red thick line frame, and the second primitive is presented in a green thick line frame.
[0085] In this embodiment, the target carrier may include original image data; the image display method may further include: obtaining the original image data.
[0086] Optionally, raw image data transmitted by a computing device may be received.
[0087] Optionally, the original image data may also be obtained from an external hardware storage device by connecting to the external hardware storage device.
[0088] The above step 340 may include: drawing a target graphic on the original image data based on the drawing information.
[0089] Optionally, when drawing the target graphics on the original image data, the target graphics may also be drawn on the original image data based on information such as the number of primitives, primitive shapes, and coordinates of key points of the primitives.
[0090] Optionally, when drawing the target graphics on the original image data, the target graphics may also be drawn on the original image data based on information such as the number of graphics elements, the shapes of graphics elements, the coordinates of key points of graphics elements, and graphics attributes.
[0091] Optionally, the rendering information includes raw image processing information.
[0092] The above-mentioned step 340 may include: processing the original image data based on the original image processing information; and drawing the target graphic on the processed original image data.
[0093] The above-mentioned original processing information may include processing such as enlargement processing and compression processing of the original image data.
[0094] Optionally, different representations of processing modes may be agreed upon in advance, for example, a digital number 1 may be used to represent an enlargement process, a digital number 2 may be used to represent a compression process, and the like.
[0095] The data description file may include the Nth byte number indicating the original image processing information. Therefore, the specific value of the number in the Nth byte of the algorithm result data determines the processing method of the original image data.
[0096] Optionally, the original image processing information may also include processing that does not affect the drawing effect, such as image enhancement and brightness adjustment. It may also include deformation processing such as image stretching, image scaling, and image dedistortion. Since the coordinate information determined based on the data description file is changed due to the deformation processing, only the coordinate points may be adaptively processed.
[0097] Optionally, the original image data may be a depth map output by a depth camera. The display device generates a point cloud map based on the depth information, and may transform the coordinates of key points of the primitive into the point cloud space for presentation.
[0098] In an embodiment of the present application, after separating the algorithm results from the image data, the display device can bypass the computing device side and directly and dynamically present the algorithm result data, such as presenting a classification box in the original image, etc. This implementation method can reduce the image processing pressure on the computing device side.
[0099] In this embodiment, the drawing task and node information are configured by using a data description file in a preset yaml format. Based on this file, the user can adjust the drawing behavior by changing the configuration in the data description file without changing the code on the display device side. Since the drawing logic and task configuration are separated, the image display is easy to manage and the maintenance and iteration process can be simplified.
[0100] In this embodiment, the drawing parameters are defined by the data description file, which provides greater flexibility and can quickly adapt to different drawing requirements. It can also reduce the coding workload caused by changing the drawing requirements. Since the data structure standard is given by the data description file, the configuration of the data structure strategy is supported, and the data structure strategy can be easily changed at any time.
[0101] The data description file can realize a standardized data structure, which can better achieve data consistency between different systems, increase the efficiency of data parsing, and improve the collaborative working ability between different systems or hardware.
[0102] In addition, an embodiment of the present application may also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the image display method described in the above method embodiment are executed.
[0103] The embodiment of the present application may also provide a computer program product of an image display method, including a computer-readable storage medium storing program code, wherein the instructions included in the program code may be used to execute the steps of the image display method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0104] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0106] If the function is implemented in the form of a software function module 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 application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk. It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of more restrictions, the elements defined by the sentence "includes..." do not exclude the presence of other identical elements in the process, method, article or apparatus that includes the elements.
[0107] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0108] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An image display method, characterized in that: Applied to a display device, the display device is connected to a computing device, and the method further comprises: Receiving a data description file sent by the computing device; Receiving algorithm result data sent by the computing device, wherein the data description file includes distribution of various drawing information carried by the algorithm result data, and the algorithm result data is determined by the computing device based on original image data; Based on the data description file, the algorithm result data is parsed to obtain various drawing information; Based on the drawing information, a target graphic is drawn on the target carrier.
2. The method according to claim 1, characterized in that The drawing information includes the number of graphic elements and the shape of graphic elements; Drawing a target graphic on a target carrier based on the drawing information includes: Based on the number of graphic elements and the graphic element shapes, the graphic element shapes with the number of graphic elements are drawn on a target carrier.
3. The method according to claim 2, characterized in that The drawing information also includes position information of the primitive shape; and drawing the primitive shape of the number of primitives on the target carrier based on the number of primitives and the primitive shapes includes: Based on the number of primitives, the primitive shapes and the position information, the primitive shapes of the number of primitives are drawn at the position indicated by the position information of the target carrier.
4. The method according to claim 3, characterized in that The position information includes coordinates of key points of the graphic element; and drawing a target graphic on a target carrier based on the drawing information includes: Based on the number of primitives, the primitive shapes and the coordinates of the key points of the primitives, the primitive shapes of the number of primitives are drawn at the positions indicated by the coordinates of the key points of the target carrier.
5. The method according to any one of claims 1 to 4, characterized in that: The drawing information further includes graphic attributes, and the graphic attributes include one or more of color, line thickness, and label; and drawing a target graphic on a target carrier based on the drawing information includes: Based on the graphic attributes, a target graphic satisfying the graphic attributes is drawn on a target carrier.
6. The method according to claim 1, characterized in that The target carrier includes original image data; The method further comprises: Obtaining the original image data; Drawing a target graphic on a target carrier based on the drawing information includes: drawing a target graphic on the original image data based on the drawing information.
7. The method according to claim 6, characterized in that The drawing information includes original image processing information; Drawing a target graphic on the original image data based on the drawing information includes: Processing the original image data based on the original image processing information; Draw the target graphics on the processed raw image data.
8. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Meteorological information drawing processing method and device, computer equipment and storage medium
CN107577486A
Drawing file processing method, device and equipment and computer readable storage medium
CN115879141A
Generating predicted reactions of a user
US20190146636A1
