Image visualization layout method and apparatus, image analysis system, and storage medium
By calling a preset layout model and analyzing its type, combined with the flexible box layout mode and configuration components, medical images are rendered quickly, solving the problem of long rendering time in traditional methods and achieving efficient image rendering and flexible layout.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI LIANYING ZHIYUAN MEDICAL TECH CO LTD
- Filing Date
- 2020-12-23
- Publication Date
- 2026-07-21
AI Technical Summary
Traditional medical image rendering and layout methods are time-consuming, which affects the efficiency of image analysis.
By calling a preset layout model, analyzing its layout type, and rendering cells according to the layout type, the image display area size is adjusted using a flexible box layout mode, and the layout configuration component is used for updating, thus achieving fast rendering.
It shortens rendering layout time, improves the efficiency of medical image rendering, adapts to different screen sizes, and supports flexible configuration of layout models.
Smart Images

Figure CN115410694B_ABST
Abstract
Description
[0001] This invention patent application is a divisional application of Chinese invention patent application filed on December 23, 2020, with application number 2020115457956 and titled "Image Visualization Layout Method, Apparatus, Image Analysis System and Storage Medium". Technical Field
[0002] This application relates to the field of computer technology, and in particular to an image visualization layout method, apparatus, image analysis system, and storage medium. Background Technology
[0003] The post-processing capabilities of digital imaging equipment enable the full utilization of image information. Through post-processing techniques, multi-view, three-dimensional, near-anatomical, simulated, colorful, dynamic, and more vivid and intuitive imaging information can be obtained. Taking three-dimensional vascular analysis as an example, it analyzes a patient's vascular images through multiple stages, including three-dimensional reconstruction, bone removal, centerline extraction, and analysis, providing doctors with a scientific and effective basis for diagnosing lesions. However, the process of medical image analysis is quite complex, with numerous image rendering scenarios at each stage. Therefore, it is necessary to quickly and efficiently implement a visual layout for medical image analysis applications.
[0004] In traditional technologies, most medical image post-processing applications use a fixed layout. During the rendering process, the specific width and height values of each cell are calculated based on the size of the display area and the layout ratio. Then, the image canvas is drawn based on the width and height pixel values, and the image is rendered to achieve a visual layout for medical image analysis applications.
[0005] However, traditional image rendering layout methods suffer from the problem of long rendering time. Summary of the Invention
[0006] Therefore, it is necessary to provide an image visualization layout method, device, image analysis system, and storage medium that can shorten the rendering layout time in order to address the above-mentioned technical problems.
[0007] An image visualization layout method, the method comprising:
[0008] Call the preset layout model required for the medical image to be analyzed;
[0009] The layout structure of the preset layout model is analyzed to obtain the layout type of the preset layout model;
[0010] Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0011] In one embodiment, if the layout structure corresponding to the layout type of the preset layout model is a cell structure; the step of rendering all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image includes:
[0012] Cell elements are generated based on the cell proportions of the preset layout model;
[0013] Based on the image type and display mode information of the cells in the preset layout model, the image corresponding to the cell element is determined and rendered to obtain the rendered image corresponding to the medical image.
[0014] In one embodiment, if the layout structure corresponding to the layout type of the preset layout model is a sub-layout structure; the step of rendering all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image includes:
[0015] Based on the row and column information of each layer of the preset layout model, flexible box container elements are recursively created for each layer of the preset layout model to obtain the cell elements of the preset layout model.
[0016] Based on the image type and display mode information of the cells in the preset layout model, the image corresponding to the cell element is determined and rendered to obtain the rendered image corresponding to the medical image.
[0017] In one embodiment, the step of recursively creating flexible box container elements for each layer of the preset layout model based on the row and column information of each layer to obtain the cell elements of the preset layout model includes:
[0018] Based on the row and column information of each layer of the preset layout model, create flexible box container elements for each layer of the preset layout model to obtain the substructure of each layer of the preset layout model.
[0019] If the substructure of each layer of the preset layout model is a cell structure, then stop creating the elastic box container element and obtain the cell element of the preset layout model;
[0020] If each layer of the preset layout model includes at least one of the sub-layout structures, then the flexible box container element is recursively created for each layer of the preset layout model's sub-layout structures until each layer of the preset layout model's sub-layout structures are cell structures.
[0021] In one embodiment, the method further includes:
[0022] A flexible box layout mode is used to adjust the size of the image display area on the application page.
[0023] In one embodiment, the preset layout model includes: layout category, number of rows and columns, row-to-column ratio, sub-layout, and cell.
[0024] In one embodiment, the method further includes: invoking a preset layout configuration component to update the preset layout model.
[0025] An image visualization layout device, the device comprising:
[0026] The calling module is used to call the preset layout model required by the medical image to be analyzed;
[0027] The analysis module is used to analyze the layout structure of the preset layout model to obtain the layout type of the preset layout model;
[0028] The rendering module is used to render all cells of the preset layout model according to the layout type of the preset layout model, so as to obtain the rendered image corresponding to the medical image.
[0029] An image analysis system includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0030] Call the preset layout model required for the medical image to be analyzed;
[0031] The layout structure of the preset layout model is analyzed to obtain the layout type of the preset layout model;
[0032] Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0033] In one embodiment, the image analysis system further includes an application page, which includes a toolbar, an image display area, and a configuration panel. The toolbar is used to display preset layout models and preset layout models required by the operator for the medical images to be analyzed. The image display area is used to display the rendered images corresponding to the medical images. The configuration panel is used to customize and edit layout configurations and update the preset layout models.
[0034] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0035] Call the preset layout model required for the medical image to be analyzed;
[0036] The layout structure of the preset layout model is analyzed to obtain the layout type of the preset layout model;
[0037] Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0038] The aforementioned image visualization layout method, device, image analysis system, and storage medium, by calling the preset layout model required for the medical image to be analyzed, analyze the layout structure of the preset layout model, obtain the layout type of the preset layout model, and then render all cells of the preset layout model according to the layout type to obtain the rendered image corresponding to the medical image to be analyzed. Since the rendering process calls the preset layout model required for the medical image to be analyzed, the rendering process and the process of generating the layout model are separated. This enables fast rendering of all cells of the preset layout model, shortens the rendering time, and improves the efficiency of obtaining the rendered image corresponding to the medical image to be analyzed. Attached Figure Description
[0039] Figure 1 This is an application environment diagram of the image visualization layout method in one embodiment;
[0040] Figure 2 This is a flowchart illustrating an image visualization layout method in one embodiment;
[0041] Figure 3 This is a flowchart illustrating an image visualization layout method in one embodiment;
[0042] Figure 4 This is a flowchart illustrating an image visualization layout method in one embodiment;
[0043] Figure 4a This is a flowchart illustrating an image visualization layout method in one embodiment;
[0044] Figure 5 This is a flowchart illustrating an image visualization layout method in one embodiment;
[0045] Figure 6 This is a structural block diagram of an image visualization layout device in one embodiment. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0047] The image visualization layout method provided in this application embodiment can be applied to, for example, Figure 1 The image analysis device shown includes a processor and a memory connected via a system bus. The memory stores a computer program, and the processor executes the computer program to perform the steps of the method embodiments described below. Optionally, the image analysis device may also include a network interface, an image display area, and an input device. The processor of the image analysis device provides computing and control capabilities. The memory of the image analysis device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the image analysis device is used to communicate with external terminals via a network connection. Optionally, the image analysis device may be a server, a personal computer, a personal digital assistant, or other terminal devices, such as tablet computers, mobile phones, etc., or it may be a cloud or remote server. This application embodiment does not limit the specific form of the image analysis device.
[0048] In one embodiment, such as Figure 2 As shown, an image visualization layout method is provided, which can be applied to... Figure 1 Taking the image analysis equipment in the image as an example, the following steps are included:
[0049] S201, call the preset layout model required for the medical image to be analyzed.
[0050] Specifically, the image analysis device calls the preset layout model required for the medical image to be analyzed. Optionally, the preset layout model includes layout category, number of rows and columns, row-to-column ratio, sub-layouts, and cells. The row-to-column ratio refers to the proportion of cells in the row and column directions, respectively. Optionally, sub-layouts can also nest layout categories, row and column information, sub-layouts, and cells, nesting layer by layer until all elements are cells. Each cell contains image information such as image type and display mode. It should be noted that in medical image analysis applications, all default layout models for the three stages of bone removal, centerline extraction, and analysis can be predefined, such as layout models for the head and neck, body, and limbs in the bone removal stage, as well as the initial layout models attached to each stage. These predefined layout models are stored in the image analysis device. When analyzing the medical image to be analyzed, the image analysis device calls the layout model required for the medical image. For example, if the medical image to be analyzed is a bone removal stage image, the image analysis device calls the preset layout model corresponding to the bone removal stage.
[0051] S202, Analyze the layout structure of the preset layout model to obtain the layout type of the preset layout model.
[0052] Specifically, the image analysis device analyzes the layout structure of the aforementioned preset layout model to obtain its layout type. Optionally, the layout type of the preset layout model can be either cell-type or layout-type, where the layout structure corresponding to the cell-type is a cell structure, and the layout structure corresponding to the layout type is a sub-layout structure. After dividing the layout structure corresponding to the layout type, the resulting layout structure corresponds to a cell structure. Optionally, the image analysis device can analyze the layout structure of the preset layout model based on its row and column count and row-to-column ratio to obtain its layout type.
[0053] S203: Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0054] Specifically, the image analysis device renders all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image. Optionally, if the layout structure corresponding to the preset layout model is a cell structure, the image analysis device can directly render all cells of the preset layout model to obtain the rendered image corresponding to the medical image to be analyzed. If the layout structure corresponding to the preset layout model is not a cell structure, the image analysis device can divide the layout structure corresponding to the preset layout model into cell structures, and then render all cells of the preset layout model to obtain the rendered image corresponding to the medical image to be analyzed.
[0055] In the aforementioned image visualization layout method, the image analysis device calls the preset layout model required by the medical image to be analyzed, analyzes the layout structure of the preset layout model, and obtains the layout type of the preset layout model. Then, it renders all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image to be analyzed. Since the preset layout model required by the medical image to be analyzed is called during the rendering process, the rendering process and the process of generating the layout model are separated. This enables the rapid rendering of all cells of the preset layout model, shortens the rendering time, and improves the efficiency of obtaining the rendered image corresponding to the medical image to be analyzed.
[0056] In the scenario described above, where all cells of a preset layout model are rendered according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image to be analyzed, in one embodiment, such as... Figure 3As shown, if the layout type of the preset layout model is cell type, the layout structure corresponding to this cell type is a cell structure, and the above S203 includes:
[0057] S301 generates cell elements based on the cell proportions of the preset layout model.
[0058] Specifically, the image analysis device generates cell elements based on the cell proportions of the aforementioned preset layout model. That is, the image analysis device generates corresponding cell elements based on the number of rows and columns and the row-to-column ratio of the cells in the aforementioned preset layout model. For example, if the cells in the aforementioned preset layout model are 1 row and 4 columns, and each cell has a row proportion of 1 and a column proportion of 1 / 4, then the image analysis device will generate 4 cell elements with a row proportion of 1 and a column proportion of 1 / 4.
[0059] S302, based on the image type and display mode information of the cells in the preset layout model, determine the image corresponding to the cell element and render the cell element to obtain the rendered image corresponding to the medical image.
[0060] Specifically, the image analysis device determines the image corresponding to each cell element based on the image type and display mode information of the cells in the preset layout model, and renders the cell element to obtain the rendered image corresponding to the medical image to be analyzed. It can be understood that the cell contains image information such as image type and display mode. The image analysis device can directly determine the image corresponding to each generated cell element based on the image type and display mode information of the cells in the preset layout model, render the cell element, and obtain the rendered image corresponding to the medical image to be analyzed.
[0061] In this embodiment, if the layout type of the preset layout model is cell type, the image analysis device can directly generate cell elements according to the cell proportion of the preset layout model. Thus, it can quickly determine the image corresponding to the generated cell element based on the image type and display mode information of the cell in the preset layout model, and then quickly render the cell element to obtain the rendered image corresponding to the medical image to be analyzed, thereby improving the efficiency of obtaining the rendered image corresponding to the medical image to be analyzed.
[0062] In the scenario described above, where all cells of a preset layout model are rendered according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image to be analyzed, in one embodiment, such as... Figure 4 As shown, if the layout type of the preset layout model is layout, the layout structure corresponding to this layout type is a sub-layout structure, that is, it has a Sublayout structure; the above S203 includes:
[0063] S401, based on the row and column information of each layer of the preset layout model, recursively create flexible box container elements for each layer of the preset layout model to obtain the cell elements of the preset layout model.
[0064] Specifically, the image analysis device recursively creates flexible box container elements for each layer of the preset layout model based on the row and column information of each layer, thus obtaining the cell elements of the preset layout model. The row and column information of each layer of the preset layout model includes the number of rows and columns and the row-to-column ratio. Optionally, the image analysis device can create flexible box container elements for each layer of the preset layout model based on the row and column information of each layer, thus obtaining the substructures of each layer of the preset layout model. If all the substructures of each layer of the preset layout model are cell structures, the creation of the flexible box container elements is stopped, and the cell elements of the preset layout model are obtained. If each layer of the preset layout model includes at least one of the aforementioned sub-layout structures, the image analysis device creates flexible box container elements for each layer of the preset layout model's sub-layout structures, obtaining the substructure of the next layer corresponding to that sub-layout structure. If the next layer's substructure also includes at least one sub-layout structure, flexible box container elements are created for that next layer's sub-layout structure, until all the substructures of each layer of the preset layout model are cell structures, thus obtaining the cell elements of the preset layout model. For example, such as Figure 4a As shown, for example, a certain layer structure of a preset layout model includes N Sublayout type structures and N cell type structures. The image analysis device will create flexible box elements for the Sublayout type structure, resulting in a substructure of the layer including two Sublayout type structures and two cell type structures. The image analysis device will then create flexible box elements for these two Sublayout type structures, resulting in a cell type substructure. The image analysis device will then stop creating flexible box elements and obtain the cell elements of the preset layout model.
[0065] S402, based on the image type and display mode information of the cells in the preset layout model, determine the image corresponding to the cell element and render the cell element to obtain the rendered image corresponding to the medical image.
[0066] Specifically, the image analysis device determines the image corresponding to each cell element based on the image type and display mode information of the cells in the preset layout model, and renders the cell element to obtain the rendered image corresponding to the medical image to be analyzed. It can be understood that the cell contains image information such as image type and display mode. The image analysis device can directly determine the image corresponding to each generated cell element based on the image type and display mode information of the cells in the preset layout model, render the cell element, and obtain the rendered image corresponding to the medical image to be analyzed.
[0067] In this embodiment, if the layout type of the preset layout model is layout type, the image analysis device first recursively creates flexible box container elements for each layer of the preset layout model according to the row and column information of each layer of the preset layout model, thereby obtaining the cell elements of the preset layout model. Then, according to the image type and display mode information of the cell of the preset layout model, the image corresponding to the generated cell element can be quickly determined. This enables the cell elements to be rendered quickly, and the rendered image corresponding to the medical image to be analyzed can be obtained quickly, thus improving the efficiency of obtaining the rendered image corresponding to the medical image to be analyzed.
[0068] In some scenarios, it is necessary to adjust the size of the application page of the preset layout model so that the size of the image display area of the preset layout model can adapt to the display size of the image analysis device. In one embodiment, the above method further includes: using a flexible box layout mode to adjust the size of the image display area of the application page.
[0069] Specifically, the image analysis device employs a flexible box layout mode to adjust the size of the application page displaying the preset layout model. It's important to note that when adjusting the size of the application page displaying the preset layout model, because of the flexible box layout mode, the image display area and cells will adaptively adjust their width and height, and the image canvas will scale proportionally.
[0070] In this embodiment, the image analysis device adopts a flexible box layout mode, which can adjust the size of the application page displaying the preset layout model. Due to the flexible box layout mode, the width and height of the image display area and the cell can be adaptively adjusted, avoiding the partial obstruction of the image in the display area and ensuring the display effect of the image display area of the preset layout model.
[0071] In some scenarios, it is also necessary to modify the layout model configuration. In one embodiment, the configuration panel of the above application page includes a layout configuration page, which includes an editing area for the layout model diagram.
[0072] Specifically, the configuration panel includes a layout configuration page with an editing area for the layout model diagram; the application page's toolbar includes a list display area for the layout model diagrams. In one embodiment, the image analysis device can also invoke a preset layout configuration component to update the preset layout model. Optionally, the image analysis device can invoke the preset layout configuration component to edit the model diagram in the editing area of the layout model, and / or add a new model diagram in the editing area of the layout model. It is understood that the image analysis device can edit existing layout model diagrams, or add new layout model diagrams in the editing area of the layout model diagram to generate a layout model diagram.
[0073] In this embodiment, the configuration panel includes a layout configuration page, which includes an editing area for the layout model diagram; the toolbar of the application page includes a list display area for the layout model diagram. The image analysis device can call the preset layout configuration components to edit the model diagram in the editing area of the preset layout model, and / or add a new model diagram in the editing area of the layout model diagram, thereby improving the practicality of the layout model.
[0074] To facilitate understanding by those skilled in the art, the image visualization layout method provided in this application is described in detail below. Please refer to [link / reference]. Figure 5 The method may include:
[0075] S1 defines the layout model required for medical image analysis; the preset layout model includes: layout category, number of rows and columns, row-to-column ratio, sub-layouts and cells; the configuration panel of the application page includes a layout configuration page, which includes an editing area for the layout model diagram; the toolbar of the application page includes a list display area for the layout model diagram.
[0076] S2 calls the preset layout model required for the medical image to be analyzed.
[0077] S3 analyzes the layout structure of the preset layout model to obtain the layout type of the preset layout model.
[0078] S4. If the layout type of the preset layout model is cell type, then generate cell elements according to the cell proportion of the preset layout model; determine the image corresponding to the cell element and render the cell element according to the image type and display mode information of the cell in the preset layout model to obtain the rendered image corresponding to the medical image; wherein, the layout structure corresponding to the cell type is a cell structure.
[0079] S5, if the layout type of the preset layout model is layout, then based on the row and column information of each layer of the preset layout model, create flexible box container elements for each layer of the preset layout model to obtain the substructures of each layer of the preset layout model; if the substructures of each layer of the preset layout model are all cell structures, stop creating flexible box container elements and obtain the cell elements of the preset layout model; if the substructures of each layer of the preset layout model include at least one sub-layout structure, then recursively create flexible box container elements for each layer of the preset layout model until the substructures of each layer of the preset layout model are all cell structures; based on the image type and display mode information of the cell of the preset layout model, determine the image corresponding to the cell element and render the cell element to obtain the rendered image corresponding to the medical image; where the layout structure corresponding to the layout type is a sub-layout structure.
[0080] S6 uses a flexible box layout mode to adjust the size of the image display area on the application page.
[0081] S7, call the preset layout configuration component to edit the model diagram in the editing area of the preset layout model, and / or add a new model diagram in the editing area of the preset layout model.
[0082] It should be noted that the descriptions in S1-S7 above can be found in the relevant descriptions in the above embodiments, and their effects are similar, so they will not be repeated here.
[0083] It should be understood that, although Figures 2-5 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 2-5 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0084] In one embodiment, such as Figure 6 As shown, an image visualization layout device is provided, including: a calling module, an analysis module, and a rendering module, wherein:
[0085] The calling module is used to call the preset layout model required by the medical image to be analyzed.
[0086] The analysis module is used to analyze the layout structure of the preset layout model and obtain the layout type of the preset layout model.
[0087] The rendering module is used to render all cells of the preset layout model according to the layout type of the preset layout model, so as to obtain the rendered image corresponding to the medical image.
[0088] Optionally, the preset layout models include: layout category, number of rows and columns, row-to-column ratio, sub-layouts, and cells.
[0089] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0090] Based on the above embodiments, if the layout type of the preset layout model is cell type, and the layout structure corresponding to cell type is cell structure, optionally, the above rendering module includes: a generation unit and a first rendering unit, wherein:
[0091] The generation unit is used to generate cell elements based on the cell proportions of a preset layout model.
[0092] The first rendering unit is used to determine the image corresponding to the cell element based on the image type and display mode information of the cell in the preset layout model, and then render the cell element to obtain the rendered image corresponding to the medical image.
[0093] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0094] Based on the above embodiments, if the layout type of the preset layout model is layout type, and the layout structure corresponding to layout type is a sub-layout structure, optionally, the above rendering module includes: an acquisition unit and a second rendering unit, wherein:
[0095] The cell acquisition function is used to recursively create flexible box container elements for each layer of the preset layout model based on the row and column information of each layer of the preset layout model, thereby obtaining the cell of the preset layout model.
[0096] The second rendering unit is used to determine the image corresponding to the cell element based on the image type and display mode information of the cell in the preset layout model, and then render the cell element to obtain the rendered image corresponding to the medical image.
[0097] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0098] Based on the above embodiments, optionally, the acquisition unit is specifically used to create flexible box container elements for each layer of the preset layout model according to the row and column information of each layer of the preset layout model, so as to obtain the substructure of each layer of the preset layout model; if the substructure of each layer of the preset layout model is a cell structure, the creation of flexible box container elements is stopped, and the cell of the preset layout model is obtained; if the substructure of each layer of the preset layout model includes at least one sub-layout structure, flexible box container elements are recursively created for the sub-layout structure of each layer of the preset layout model until the sub-layout structure of each layer of the preset layout model is a cell structure.
[0099] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0100] Optionally, based on the above embodiments, the device further includes an adjustment module, wherein:
[0101] The adjustment module is used to adjust the size of the image display area on the application page using a flexible box layout mode.
[0102] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0103] Optionally, based on the above embodiments, the device further includes an editing module, wherein:
[0104] The editing module is used to call preset layout configuration components and update the preset layout model.
[0105] The image visualization layout device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0106] Specific limitations regarding the image visualization layout device can be found in the limitations of the image visualization layout method described above, and will not be repeated here. Each module in the aforementioned image visualization layout device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0107] In one embodiment, an image analysis system is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0108] Call the preset layout model required for the medical image to be analyzed;
[0109] The layout structure of the preset layout model is analyzed to obtain the layout type of the preset layout model;
[0110] Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0111] In one embodiment, the image analysis device further includes an application page, which includes a toolbar, an image display area, and a configuration panel. The toolbar is used to display preset layout models and preset layout models required by the operator for the medical images to be analyzed. The image display area is used to display the rendered images corresponding to the medical images. The configuration panel is used to customize and edit layout configurations and update preset layout models.
[0112] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0113] Call the preset layout model required for the medical image to be analyzed;
[0114] The layout structure of the preset layout model is analyzed to obtain the layout type of the preset layout model;
[0115] Render all cells of the preset layout model according to the layout type of the preset layout model to obtain the rendered image corresponding to the medical image.
[0116] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0117] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0118] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. An image visualization layout device, characterized in that, The device includes: The calling module is used to call the preset layout model required by the medical image to be analyzed; The analysis module is used to analyze the layout structure of the preset layout model to obtain the layout type of the preset layout model; the layout type of the preset layout model includes cell type and layout type, the layout structure corresponding to the cell type is cell structure, and the layout structure corresponding to the layout type is sub-layout structure. The rendering module is used to render all cells of the preset layout model according to the layout type of the preset layout model, so as to obtain the rendered image corresponding to the medical image. An adjustment module is used to adjust the size of the application page displaying the preset layout model using a flexible box layout mode, so that the size of the image display area of the preset layout model is adapted to the size of the display screen of the image analysis device; The editing module is used to call a preset layout configuration component to edit the model diagram of the editing area of the preset layout model, and / or to add a new model diagram in the editing area of the layout model.
2. The image visualization layout device according to claim 1, characterized in that, If the layout type of the preset layout model is cell type, the rendering module includes: a generation unit, used to generate cell elements according to the cell proportion of the preset layout model; and a first rendering unit, used to determine the image corresponding to the cell element and render the cell element according to the image type and display mode information of the cell in the preset layout model, so as to obtain the rendered image corresponding to the medical image.
3. The image visualization layout device according to claim 1, characterized in that, If the layout type of the preset layout model is layout, the rendering module includes: an acquisition unit, used to recursively create flexible box container elements for each layer of the preset layout model according to the row and column information of each layer of the preset layout model, to obtain the cell of the preset layout model; and a second rendering unit, used to determine the image corresponding to the cell element according to the image type and display mode information of the cell of the preset layout model, to render the cell element, and to obtain the rendered image corresponding to the medical image.
4. The image visualization layout device according to claim 3, characterized in that, The acquisition unit is specifically used to create flexible box container elements for each layer of the preset layout model based on the row and column information of each layer of the preset layout model, so as to obtain the substructure of each layer of the preset layout model. If the substructures of each layer of the preset layout model are all cell structures, then stop creating flexbox container elements and obtain the cells of the preset layout model; if the substructures of each layer of the preset layout model include at least one sub-layout structure, then recursively create flexbox container elements for the sub-layout structures of each layer of the preset layout model until the sub-layout structures of each layer of the preset layout model are all cell structures.
5. The image visualization layout device according to any one of claims 1-4, characterized in that, The analysis module is used to analyze the layout structure of the preset layout model based on the number of rows and columns and the row-to-column ratio of the preset layout model, and to obtain the layout type of the preset layout model.
6. The image visualization layout apparatus according to any one of claims 1-4, characterized in that, The application page's configuration panel includes a layout configuration page, which includes the editing area.
7. The image visualization layout device according to claim 1, characterized in that, The preset layout model includes: layout category, number of rows and columns, row-to-column ratio, sub-layout, and cell.