Window layout method and apparatus therefor

By obtaining a custom layout for the window to be displayed through a custom settings interface, the problem of limited viewing modes caused by fixed window layouts in existing image viewing systems is solved, enabling diverse window layouts and viewing options.

CN114296695BActive Publication Date: 2025-12-23SHANGHAI LIANYING ZHIYUAN MEDICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111604922.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-12-23
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

The existing image viewing system uses a fixed template for window layout, which limits the diversity of viewing modes and prevents users from customizing the window layout.

Method used

A window layout method is provided, which obtains the custom layout of the window to be displayed through a custom settings interface, allowing users to customize the layout and merging operation of sub-windows in the image display interface, thereby realizing diverse viewing modes.

Benefits of technology

By allowing users to customize the layout, they can freely choose and adjust the window layout according to their needs, which solves the problem of limited viewing modes caused by fixed window layouts in existing technologies and provides more viewing options.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114296695B_ABST
    Figure CN114296695B_ABST
Patent Text Reader

Abstract

The application relates to a window layout method and device. The method comprises the following steps: obtaining a custom layout of a to-be-displayed window; the custom layout is used for representing the layout of each sub-window of the to-be-displayed window; displaying the to-be-displayed window and the sub-windows in the to-be-displayed window in an image display interface according to the custom layout; and the sub-windows are used for browsing medical images. The method can solve the problem that the existing window layout can only be selected in a fixed template, and the reading mode is seriously limited.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of image processing, in particular to a window layout method and device thereof. BACKGROUND

[0002] With the development of medical technology, more and more image medical devices have been widely used in hospitals, and image examination has become an essential part of diagnosis and treatment. The image reading system is usually deployed on the computer equipment of the hospital, and the online reading of medical images can be realized by using the image reading system.

[0003] At present, the image reading system can provide a window as a reading window for medical images, but the window layout of most image reading systems is a preset template in the database, and the number and type of templates are usually fixed, which results in that the layout of the window can only be selected in the fixed template, and the reading mode is severely limited. SUMMARY

[0004] Therefore, it is necessary to provide a window layout method and device thereof to solve the problem that the layout of the window can only be selected in the fixed template, which severely limits the reading mode.

[0005] In a first aspect, the present application provides a window layout method, which comprises:

[0006] obtaining a custom layout of a to-be-displayed window; the custom layout is used to represent the layout of each sub-window of the to-be-displayed window.

[0007] displaying the to-be-displayed window and the sub-windows in the to-be-displayed window in an image display interface according to the custom layout; the sub-windows are used to browse medical images.

[0008] In one embodiment, the obtaining of the custom layout of the to-be-displayed window comprises:

[0009] obtaining the custom layout of the to-be-displayed window based on a window configuration item of a custom setting interface.

[0010] In one embodiment, the window configuration item comprises a cell array, and the obtaining of the custom layout of the to-be-displayed window based on the window configuration item of the custom setting interface comprises:

[0011] obtaining one or more cells selected in the cell array.

[0012] determining the custom layout according to the layout of the one or more cells.

[0013] In one of the embodiments, after the acquiring of the one or more cells selected from the cell array, the method further includes:

[0014] In response to a merge operation on at least two cells in the plurality of cells, merging the at least two cells to obtain a merged cell.

[0015] In one of the embodiments, the displaying of the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface according to the custom layout includes:

[0016] Determining, according to the layout of the one or more cells, a position of the sub-window corresponding to each cell in the to-be-displayed window.

[0017] Displaying the to-be-displayed window and the sub-window in the to-be-displayed window based on the position of the sub-window in the to-be-displayed window.

[0018] In one of the embodiments, the window configuration item includes a custom layout information configuration item, and the acquiring of the custom layout of the to-be-displayed window based on the window configuration item of the custom setting interface includes:

[0019] Acquiring custom layout information through the custom layout information configuration item, and determining the custom layout of the to-be-displayed window according to the custom layout information.

[0020] In one of the embodiments, after the displaying of the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface according to the custom layout, the method further includes:

[0021] In response to a merge operation on a plurality of sub-windows, merging the plurality of sub-windows to obtain a merged sub-window.

[0022] In one of the embodiments, the method further includes:

[0023] Determining a target medical image matched with the sub-window, and displaying the target medical image in the sub-window.

[0024] In one of the embodiments, the determining of the target medical image matched with the sub-window includes:

[0025] Determining the target medical image based on an adding operation of a to-be-previewed image in the sub-window.

[0026] In one of the embodiments, the to-be-previewed image is any one of images in a sequence image, and the method further includes:

[0027] Dividing the sub-window into a plurality of display units.

[0028] displaying, by the display unit, one image of the sequence images corresponding to the sub-window.

[0029] In a second aspect, the present application provides a window layout device, which comprises:

[0030] an acquisition module configured to acquire a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0031] a processing module configured to display the to-be-displayed window and a sub-window in the to-be-displayed window in a medical image display interface according to the custom layout acquired by the acquisition module; the sub-window is used to preview a medical image.

[0032] In a third aspect, the present application provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0033] acquiring a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0034] displaying the to-be-displayed window and a sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse a medical image.

[0035] In a fourth aspect, the present application provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the following steps when executed by a processor:

[0036] acquiring a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0037] displaying the to-be-displayed window and a sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse a medical image.

[0038] In a fifth aspect, the present application provides a computer program product. The computer program product comprises a computer program, and the computer program implements the following steps when executed by a processor:

[0039] acquiring a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0040] displaying the to-be-displayed window and a sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse a medical image.

[0041] The window layout method and device described above display the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface according to the acquired custom layout of the to-be-displayed window, wherein the sub-window is used for browsing the medical image. The user is provided with more choices of reading modes through the custom layout, thereby solving the problem that the user can only select the layout of the window in the fixed template in the existing image reading system and is severely limited in reading modes. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0043] Figure 1 Effect diagram of the display form of the text description type template in the prior art;

[0044] Figure 2 Effect diagram of the display form of the icon indication type template in the prior art;

[0045] Figure 3 Structure diagram of the window layout system in an embodiment;

[0046] Figure 4 Flowchart of the window layout method in an embodiment;

[0047] Figure 5 Effect diagram of the medical image display interface in an embodiment;

[0048] Figure 6 Effect diagram of the medical image display interface in an embodiment;

[0049] Figure 7 Flowchart of the generation method of the window thumbnail in an embodiment;

[0050] Figure 8 Effect diagram of the custom setting interface in an embodiment;

[0051] Figure 9 Effect diagram of the custom setting interface in an embodiment;

[0052] Figure 10 Effect diagram of the custom setting interface in an embodiment;

[0053] Figure 11 Fig. 2 is a flowchart of a method for window layout in one embodiment;

[0054] Figure 12 Fig. 4 is a schematic diagram of an effect of a self-defined setting interface in one embodiment;

[0055] Figure 13 Fig. 3 is a schematic diagram of an effect of a medical image display interface in one embodiment;

[0056] Figure 14 Fig. 4 is a schematic diagram of an effect of a medical image display interface in one embodiment;

[0057] Figure 15 Fig. 5 is a schematic diagram of an effect of a medical image display interface in one embodiment;

[0058] Figure 16 Fig. 2 is a flowchart of a method for generating window thumbnails in one embodiment;

[0059] Figure 17 Fig. 3 is a flowchart of a method for generating window thumbnails in one embodiment;

[0060] Figure 18 Fig. 1 is a schematic diagram of an effect of a window thumbnail in one embodiment;

[0061] Figure 19 Fig. 3 is a schematic diagram of an effect of a medical image display interface in one embodiment;

[0062] Figure 20 Fig. 2 is a schematic diagram of an effect of a window thumbnail in one embodiment;

[0063] Figure 21 Fig. 1 is a block diagram of a window layout device in one embodiment;

[0064] Figure 22 Fig. 1 is a block diagram of an electronic device in one embodiment. DETAILED DESCRIPTION

[0065] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.

[0066] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting thereof. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or", as used herein, refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0067] It is to be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a particular order or hierarchy. These terms are used merely for the purpose of distinguishing between two or more information. For example, without departing from the scope of the present application, a first layout can be termed a second layout, and similarly, a second layout can be termed a first layout. Depending on the context, the word "if' as used herein can be interpreted to mean "when" or "in response to determining".

[0068] At present, the image reading system can provide a window as a reading window of medical images, however, the window layout of most image reading systems is a preset template in the database, and the layout of the window is usually a preset template in the database, and the number and type of the template are usually fixed, such as additional software program upgrade by the developer to maintain and set up, and the user cannot add it by himself.

[0069] At present, the display form of the template mainly includes two types: one is the display form of the text description as shown in Figure 1 , which only introduces the sequence layout and image layout in the window layout, which can only be applied to very simple and intuitive layout; the other is the icon indication display form as shown in Figure 2 , which directly shows the layout in the form of icon, which needs to manufacture icon pictures, and is generally used as the icon indication of the preset window layout template, which is more intuitive than the text description, but needs to prepare icon pictures in advance due to the icon pictures.

[0070] For templates of any display form, the number and type are usually fixed. For example: 1*1, 1*2, 2*1, 2*2, triangular or inverted triangular, etc., the number and type are limited. This results in that the layout of the window can only be selected from the fixed templates, which seriously limits the reading mode.

[0071] Based on the aforementioned technical background and the problems existing in current image reading systems, this application provides a window layout method. Users can customize the display format of the window to be displayed through window configuration options on the device interface to obtain a custom layout for each sub-window within the window to be displayed. Based on this custom layout, the custom layout of the window to be displayed and the sub-windows within it used for browsing medical images can be displayed on the image display interface. Thus, when the pre-built templates in the image reading system cannot meet the user's requirements for window layout, a custom layout can be used to satisfy them.

[0072] For ease of use of this embodiment, see [link to example]. Figure 3 The window layout system 10 shown includes a window layout device 20 and an imaging device 30. The imaging device 30 can capture images of a target object and send the captured images to the window layout device 20, which can then process and display the images. The imaging device 30 can be any one of a digital imaging device, an X-ray computed tomography (CT) imaging device, a magnetic resonance imaging (MRI) device, an ultrasound imaging device, or a nuclear medicine imaging device.

[0073] Typically, the window layout device 20 can be a terminal device; this terminal device can have multiple general-purpose or dedicated computing device environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor devices, distributed computing environments including any of the above devices, etc. This terminal device can have different names, such as user equipment (UE), access device, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent, or terminal device, etc. In this embodiment, the device used to implement the function of the window layout device 20 can be a terminal device, or it can be any device capable of supporting the window layout device 20 in implementing this function, such as a chip system. In this application, the chip system can consist of chips, or it can include chips and other discrete components.

[0074] The following is combined Figure 3 This application provides a detailed description of the window layout method provided in its embodiments. (Refer to...) Figure 4 The method specifically includes the following steps:

[0075] S11. Obtain the custom layout of the window to be displayed; the custom layout is used to represent the layout of each child window of the window to be displayed.

[0076] Optionally, the custom layout of the to-be-displayed window is obtained from a thumbnail display interface that has been created in advance according to the custom layout, or the custom layout of the to-be-displayed window is created through a window configuration item of a custom setting interface.

[0077] In one possible implementation, the custom layout of the to-be-displayed window is obtained from the thumbnail display interface that has been created in advance according to the custom layout, specifically by using a window thumbnail corresponding to the custom layout.

[0078] For example, referring to Figure 5 The medical image display interface 21 is shown. The user triggers the layout control 1 in the medical image display interface 21, and the window layout device 10 displays the thumbnail display interface 11 in response to the triggering operation of the layout control 1. In the thumbnail display interface 11, a thumbnail control 111 corresponding to the window thumbnail of the to-be-displayed window can be selected. The window layout device 10 determines the window thumbnail of the to-be-displayed window in response to the triggering operation of the thumbnail control 111, and the custom layout of the to-be-displayed window can be determined based on the window thumbnail.

[0079] In another possible implementation, the custom layout of the to-be-displayed window is obtained through the window configuration item of the custom setting interface, including: the custom layout control 112 in the thumbnail display interface 11 can be selected, and the window layout device 10 displays the custom setting interface in response to the triggering operation of the custom layout control 112. The user can set the custom layout of the to-be-displayed window based on the window configuration item.

[0080] After the custom layout of the to-be-displayed window is set in the window configuration item, the custom layout of the to-be-displayed window can be saved, and the window thumbnail of the custom layout is generated based on the saving operation and displayed in the thumbnail display interface 11 for subsequent use by the user. Alternatively, the custom layout can be used directly without saving, and the to-be-displayed window and the sub-window in the to-be-displayed window are displayed in the image display interface according to the custom layout. During use, the custom layout of the to-be-displayed window can be saved to generate the window thumbnail of the custom layout and displayed in the thumbnail display interface 11.

[0081] S12, displaying the to-be-displayed window and the sub-window in the to-be-displayed window in the image display interface according to the custom layout; the sub-window is used to browse the medical image.

[0082] For example, referring to Figure 6 When the user selects the custom layout control 112 in the thumbnail display interface 11, the window layout device 10 displays the custom setting interface 12 in response to the triggering operation of the custom layout control 112. Figure 6The thumbnail control 111 corresponding to the window thumbnail of the to-be-displayed window in the thumbnail display interface 11 shown in (a) is selected, the window layout apparatus 10 determines the window thumbnail of the to-be-displayed window in response to the triggering operation on the thumbnail control 111, determines the custom layout of the to-be-displayed window based on the window thumbnail, and displays the to-be-displayed window in the medical image display interface 21 shown in (b). Figure 6 The to-be-displayed window 211 and the sub-window 2111 in the to-be-displayed window are displayed in the medical image display interface 21 shown in (b).

[0083] Further, in the process of magnetic resonance imaging (MRI) imaging, different images can be obtained by changing the influencing factors of MR signals, which are called sequences. For example, T1 sequences can be obtained according to T1 value weighting, and T2 sequences can be obtained according to T2 value weighting. A region of interest can have multiple sequences, and each sequence is composed of many slices. It should be noted that T1 and T2 are physical quantities used to measure electromagnetic waves, and can be used as imaging data for imaging according to T1, which is called "T1 weighted imaging" and is simply referred to as "T1" in clinical work. The same applies to T2.

[0084] Therefore, according to this characteristic of MRI imaging, medical images are divided into sequences and images under each sequence. Each sub-window in the to-be-displayed window is used to display medical images under a sequence. When the sub-window includes one or more display units, it can be understood that the multiple display units under the sub-window simultaneously display multiple medical images under the sequence. The number of display units is the same as the number of medical images simultaneously displayed under the sequence. Of course, the above only exemplarily describes MRI imaging, and in addition to MRI imaging, medical imaging technologies such as computed tomography (CT) and cardiovascular angiography also have the characteristic of dividing medical images into sequences and images under each sequence. Therefore, the embodiments of the present application do not make any limitation on specific medical imaging technologies.

[0085] Based on the above, in an implementation manner, the to-be-displayed window includes a sub-window, and the sub-window can include a display unit window. Correspondingly, the window configuration item includes a custom window configuration item of the sub-window and a custom window configuration item of the display unit window. The custom layout includes a sequence layout, and the sequence layout includes a display unit layout. The window configuration item of the sub-window is used to configure the sequence layout, and the window configuration item of the display unit window is used to configure the display unit layout.

[0086] Specifically, referring to Figure 7 Based on the window configuration item of the custom setting interface, the specific implementation steps of obtaining the custom layout of the to-be-displayed window include:

[0087] S71, receive a first trigger operation on a custom setting interface of the sub-window, and display the first custom setting interface.

[0088] S72, obtain a sequence layout according to a window configuration item of the sub-window in the first custom setting interface.

[0089] Further, on the basis of S71 and S72, obtaining the display unit layout includes the following two modes.

[0090] Mode one specifically includes:

[0091] S731, receive a second trigger operation on a target sequence in the sequence layout, and display a second custom setting interface.

[0092] S732, obtain a display unit layout according to a window configuration item of the display unit window in the second custom setting interface.

[0093] In this embodiment, the second custom setting interface is displayed through the second trigger operation on the target sequence in the sequence layout, and the window configuration item of the display unit window in the displayed second custom setting interface can realize one-time setting of the sequence layout and the window unit layout in the custom layout.

[0094] Mode two specifically includes:

[0095] S741, in response to an enabling operation on the sequence layout, display the to-be-displayed window corresponding to the sequence layout and the sub-window in the to-be-displayed window in the medical image display interface.

[0096] Specifically, S741 includes the following two implementation modes:

[0097] Mode one, receive a confirmation operation on the sequence layout, generate a window thumbnail of the to-be-displayed window, and display the window thumbnail of the to-be-displayed window in a thumbnail display interface. In response to an enabling operation on the window thumbnail of the to-be-displayed window, display the to-be-displayed window corresponding to the window thumbnail of the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface.

[0098] The window thumbnail of the to-be-displayed window includes the window thumbnail of the sequence layout.

[0099] Mode two, receive an enabling operation on the sequence layout in the window configuration item of the sub-window, and display the to-be-displayed window corresponding to the sequence layout and the sub-window in the to-be-displayed window in the medical image display interface.

[0100] S742, receive a custom setting operation on a target sub-window in the sub-window, and display a second custom setting interface.

[0101] S743、According to the window configuration item of the display unit window in the second custom setting interface, the display unit layout is obtained.

[0102] S744、According to the display unit layout and the sequence layout, the custom layout is obtained.

[0103] It should be noted that the steps in the above-mentioned mode two are applicable to all window layouts in which the display unit layout in one sequence is configured on the basis of the sequence layout, and are not limited to the custom layout.

[0104] In this embodiment, by implementing the configuration of the display unit layout in the sub-window, the applicability of the display unit layout configuration can be improved.

[0105] Optionally, the display form of the window configuration item includes the cell array or / and the custom layout configuration item.

[0106] The above-mentioned window layout method displays the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface according to the obtained custom layout of the to-be-displayed window, wherein the sub-window is used for browsing the medical image. By means of the custom layout, the user is provided with more choices of reading modes, thereby solving the problem that in the existing image reading system, the user can only select the layout of the window in the fixed template and is severely limited in reading modes.

[0107] In one embodiment, the window configuration item includes the cell array, and the custom layout of the to-be-displayed window is obtained based on the window configuration item of the custom setting interface, including: obtaining one or more cells selected in the cell array; and determining the custom layout according to the layout of the one or more cells.

[0108] Optionally, the cell array specifically refers to that a plurality of cells are arranged in the form of an array, and an n-row-m-column array can be formed. The embodiments of the present application are not limited to the above-mentioned implementation form of the cell array, and the window configuration item includes a geometric pattern array. The geometric pattern array can be any one of a circular array, a rectangular array or a triangular array in addition to the shape of the above-mentioned cell array. It should be noted that the above-mentioned only exemplarily illustrates the shape of the geometric pattern in the geometric pattern array, and it can also be a trapezoidal array or a parallelogram array, and the embodiments of the present application do not limit the specific shape of the geometric pattern array.

[0109] Specifically, obtaining one or more cells selected in the cell array specifically includes: determining one or more cells according to a frame selection operation in the cell array.

[0110] In actual application, after detecting the box selection operation of the user, the window layout device can obtain a box selection instruction triggered by the box selection operation. The box selection instruction can carry position information of a starting point and position information of a terminal point corresponding to the click operation. Then, the window layout device can generate a rectangular region with a line segment between the starting point and the terminal point as a diagonal, and take the rectangular region as a box selection region, but it is not limited to this.

[0111] The box selection operation is determined by the actual form of the terminal device corresponding to the window layout device. For example, when the terminal device is a computer type terminal device, the box selection operation can be realized by operating the mouse, and the box selection operation can be determined by long pressing the left mouse button, but it is not limited to this. For another example, when the terminal device is a touch type terminal device, after the user clicks several graphic selection buttons in the cell array or long presses a region in the document where the cell array is not located, the terminal device can receive a selection instruction for the cell array. After obtaining the selection instruction, the terminal device can first display a preset first drag selection region frame in the custom device interface. Then, the user can perform touch operations on the first drag selection region frame, such as dragging and / or zooming. In this way, the terminal device can obtain a box selection instruction triggered by the touch operation of the user on the first drag selection region frame. The box selection instruction includes a drag instruction and / or a zoom instruction. Then, the terminal device can move and / or zoom the first drag selection region frame according to the drag instruction and / or the zoom instruction, so as to obtain the box selection region.

[0112] It should be noted that the way of uploading the box selection region for the touch type terminal device can be applied to the computer type terminal device, wherein the related touch operation is replaced by the mouse operation, and the box selection region can also be obtained. In addition, the box selection region can be any one of a rectangular frame, a triangular frame, a polygonal frame and a circular frame, but it is not limited to this. The shape and size of the box selection region can be the same as or different from the shape and size of the region surrounded by the first drag selection region frame, which is reasonable.

[0113] For example, referring to Figure 8 For example, referring to Figure 8 In (a) of FIG. 8, the geometric pattern array 811 in the custom setting interface 81 is a cell array 811, and the user can select the custom layout of each sub-window in the to-be-displayed window by the box selection method.

[0114] For example, referring to Figure 8(b) of FIG. 8A, receiving a marquee operation on the cell array; and determining a marquee region 812 according to the marquee operation; and determining one or more cells according to the cells in the cell array 811 that overlap with the marquee region 812. For example, Figure 8 The marquee region shown in (b) of FIG. 8A contains 4 rows and 6 columns of cells, and after the user clicks the confirmation control, the 4 rows and 6 columns of cells are determined as the custom layout of the subwindows in the to-be-displayed window.

[0115] Further, the generation of the cell array includes creating an n x m (e.g., 8 x 8) table element (i.e., the cell array 811) using a hyper text markup language (HTML) page, assuming that each cell has a size of 1 unit, the size of the cell array 811 is 8 x 8, and the upper left coordinate of the cell array 811 is (0, 0) and the lower right coordinate is (8, 8). The mouse-over event of each cell in the cell array 811 is bound: the left mouse position is recorded, and when the mouse position is placed on the cell, the position information of the cell is recorded as the lower right coordinate of the custom layout, for example, Figure 8 The lower right coordinate of the form is recorded as (6, 4) when the mouse is placed on the fourth row and the sixth column (the position of the arrow) in (b) of FIG. 8A, the row number is 4, and the column number is 6. At this time, the number of sequences corresponding to the subwindows in the custom layout is 24, and each cell represents a sequence.

[0116] Further, after obtaining the one or more cells selected in the graphical array, the method further includes: receiving a merge operation on at least two cells in the plurality of cells, merging the at least two cells to obtain a merged cell; and / or receiving a split operation on a target cell in the one or more cells, splitting the target cell to obtain a split cell.

[0117] Based on the above, determining the custom layout according to the layout of the one or more cells includes: determining the custom layout according to the merged cell and / or the split cell and other cells that have not been subjected to the merge operation and / or the split operation.

[0118] For example, for receiving a merge operation on at least two cells in the plurality of cells, merging the at least two cells to obtain a merged cell, the features of the merged cell are described with reference to Figure 9 For example, the cell is a rectangle, and the features of the merged cell are described with reference to Figure 8 The marquee region shown in (b) of FIG. 8A contains 2 rows and 2 columns (i.e., 2 x 2) of cells, and the merged cell is obtained Figure 9In (a) of FIG. 1, the cell array is shown, and the initial layout of the cells a and b is selected. The merging instruction is triggered by the first preset operation, such as selecting the cells a and b by the left mouse button and triggering the merging instruction by the right mouse button. In response to the merging instruction, the merging control 91 is displayed. The cells a and b are merged by triggering the merging control 91, and the cell c is obtained. Figure 9 In (b) of FIG. 1, the layout 2 of the cell c is shown.

[0119] Further, based on Figure 9 For example, when the window size is 2x2 and the number of sequences is 4, the cells a and b need to be merged when the sequence layout needs to be changed in the window. For example, a medical image sequence needs to be displayed at the positions of the cells a and b. The left mouse button is pressed at the cell a and moved to the position of the cell b, and then released. At this time, the cells a and b are selected. The right mouse button is clicked, and the "merge" in the right mouse button menu is selected. After the cells a and b are merged, the cells a and b are combined into a sequence display space (i.e., the cell c).

[0120] In this process, the left mouse button is pressed to record the starting coordinates, such as the upper left coordinate A(0, 0) of the cell a. The left mouse button is released to record the right lower coordinate B(1, 2) of the cell 2. For example, the cells a and b are merged, and the starting coordinates and the ending coordinates of the sequence are recorded as the coordinates A and the coordinates B. After the cells a and b are merged, the starting coordinates of the sequence are (0, 0), the ending coordinates are (1, 2), and the size of the cell c is 1x2.

[0121] Based on the above example, for receiving a splitting operation of the cell in one or more cells, the split cells are obtained. Referring to Figure 10 In (a) of FIG. 1, the cell array is shown, and the initial layout of the cells a and b is selected. The merging instruction is triggered by the first preset operation, such as selecting the cells a and b by the left mouse button and triggering the merging instruction by the right mouse button. In response to the merging instruction, the merging control 91 is displayed. The cells a and b are merged by triggering the merging control 91, and the cell c is obtained. Figure 10 In (b) of FIG. 1, the layout 2 of the cell c is shown.

[0122] Further, after the user adjusts the sequence layout and clicks to save the sequence layout, the size coordinates of the custom layout window layout are recorded first, and then the coordinates of each sequence are recorded. The recorded coordinates and sizes are used to draw the area of the to-be-displayed window. In the above example, the window size is recorded as 2x2, which contains 4 sequences. The starting coordinates and ending coordinates of the sequences are (0, 0) (1, 1), (1, 0) (2, 1), (2, 0) (3, 1), and (3, 0) (4, 1), respectively, with the upper left corner as the origin, the horizontal X axis to the right as positive, and the vertical Y axis downward as positive. After recording the coordinates of each sequence, the to-be-displayed window is cut and divided into 2x2 sizes, and then each sub-window area size is displayed according to the recorded sequence coordinates.

[0123] Specifically, the data structure of the custom layout is as follows, where each parameter is explained as follows:

[0124] size: window size information;

[0125] seriesList: sequence array information, storing parameter information of each sequence;

[0126] startX: sequence starting x coordinate;

[0127] startY: sequence starting y coordinate;

[0128] finX: sequence end x coordinate;

[0129] finY: sequence end y coordinate;

[0130] imgRows: sequence image layout row information;

[0131] imgCols: sequence image layout column information;

[0132] name: template name;

[0133] avtive: whether the template is set as default

[0134] Part of the program implementation is as follows:

[0135]

[0136]

[0137] It should be noted that the above selection of cells by operating the left mouse button can be achieved by clicking or box selection.

[0138] In this embodiment, the custom layout of the to-be-displayed window can be determined by selecting one or more cells in the cell array, so as to realize diversified display of the to-be-displayed window and the sub-windows of the to-be-displayed window in the medical image display interface.

[0139] In one embodiment, with reference to Figure 11 , based on the implementation manner of determining the custom layout by selecting one or more cells in the cell array, S12 specifically includes:

[0140] S121, determining the position of each cell corresponding sub-window in the to-be-displayed window according to the layout of one or more cells.

[0141] In one embodiment, the position information of the to-be-displayed window in the image display interface is determined, and the position of the sub-window in the to-be-displayed window is determined according to the position information of the to-be-displayed window in the image display interface and the layout of one or more cells.

[0142] In another embodiment, the size of the to-be-displayed window and the position information of the to-be-displayed window in the image display interface are determined, and the size of the sub-window is determined according to the size of the to-be-displayed window and the layout of one or more cells; then, the position of the sub-window in the to-be-displayed window is determined according to the position information of the to-be-displayed window in the image display interface, the size of the to-be-displayed window and the size of the sub-window.

[0143] In one implementation manner, the display area of the to-be-displayed window is determined according to the medical image display interface, and the position of each cell corresponding sub-window in the display area of the to-be-displayed window is determined according to the layout of one or more cells.

[0144] In actual application, the medical image display interface usually contains a target region for displaying medical images, and the target region contains a display area corresponding to the to-be-displayed window. For example, the display area corresponding to the to-be-displayed window can be the same size as the target region, or smaller than the target region. For the case of being smaller than the target region, the size of the target region can be obtained by reducing the size of the target region according to a certain display ratio. After the reduction, the center point of the display area of the to-be-displayed window can coincide with or not coincide with the center point of the target region, for example, the center point of the display area of the to-be-displayed window is located on the left side of the center point of the target region, and the embodiments of the present application do not make any limitation on the size, shape and specific position of the display area of the to-be-displayed window in the target region.

[0145] In one embodiment, after the display area of the to-be-displayed window is determined, the position information of the to-be-displayed window can be obtained, and the position of the sub-window in the display area of the to-be-displayed window is determined according to the position information of the to-be-displayed window and the layout of one or more cells.

[0146] In another embodiment, the size of the child window is determined based on the size of the display area of ​​the window to be displayed and the layout of one or more cells; then, the position of the child window in the display area of ​​the window to be displayed is determined based on the size of the display area of ​​the window to be displayed, the position information of the window to be displayed, and the size of the child window.

[0147] S122. Display the window to be displayed and its child windows based on the position of the child windows in the window to be displayed.

[0148] Based on the above implementation method, further, the window to be displayed and the child windows in the window to be displayed are displayed based on the display area of ​​the window to be displayed and the position of the child windows in the display area of ​​the window to be displayed.

[0149] In this embodiment, the display area of ​​the window to be displayed is determined through the medical image display interface, and the position of the child window corresponding to each cell in the display area of ​​the window to be displayed is determined according to the layout of one or more cells; then, the window to be displayed and the child windows in the window to be displayed are displayed based on the display area of ​​the window to be displayed and the position of each child window, so as to realize the display of medical images in the window to be displayed obtained by a custom layout.

[0150] In one embodiment, considering the limited number of cells that can be displayed by a cell array, this application embodiment also provides another method for creating custom layouts for each sub-window in a window to be displayed through input. Therefore, the window configuration items include custom layout information configuration items. Based on the window configuration items of the custom settings interface, obtaining the custom layout of each sub-window includes: obtaining custom layout information through the custom layout information configuration items; and determining the custom layout of the window to be displayed based on the custom layout information.

[0151] For example, refer to Figure 12 ,like Figure 12 The information input box 813 in the custom settings interface 81 shown allows users to input custom layout information in an n×m format, such as 2×2. After clicking the confirmation control, the 2x2 cell layout will be defined as the custom layout for each child window in the window to be displayed. Alternatively, the custom layout for the child windows in the window to be displayed can also be set through the drop-down control 8131 of the information input box 813. Specifically, after the user triggers the drop-down control 8131, a drop-down menu 8132 is displayed, which shows various custom layout information controls. The user can select the custom layout for each child window in the window to be displayed from the drop-down menu, for example... Figure 8The 2x2 custom layout information is selected, and after the user clicks the confirmation control, the 2x2 cells are determined as the custom layout of the sub-window in the to-be-displayed window.

[0152] In this embodiment, the custom layout information is obtained through the custom layout information configuration item, so as to determine the custom layout, so that the user is not limited to the fixed template when viewing the medical image, and the diversified display of the to-be-displayed window and the sub-window of the to-be-displayed window in the medical image display interface is realized.

[0153] In one embodiment, considering the custom layout of the to-be-displayed window set by the user in the window configuration item of the custom setting interface, when it is found that the layout of the sub-window needs to be changed in the to-be-displayed window displayed in the image display interface during actual application, the layout of the sub-window in the to-be-displayed window can be modified. Therefore, after S12 displays the to-be-displayed window and the sub-window in the to-be-displayed window in the medical image display interface according to the custom layout, the method further includes: in response to a merging operation on multiple sub-windows, merging the multiple sub-windows to obtain a merged sub-window.

[0154] Optionally, multiple sub-windows in the to-be-displayed window can be selected through a marquee operation, or multiple sub-windows in the to-be-displayed window can be selected through a click operation, and a merging operation can be performed on the multiple sub-windows.

[0155] For example, the merging control can be located around the selected area. For example, as shown in FIG. 11, assuming that the to-be-displayed window 211 contains four sub-windows 01, 02, 03, and 04, a corresponding marquee area 121 is generated through a marquee operation on the two sub-windows 01 and 03, and a corresponding merging control 122 can be located at the lower right corner of the marquee area 121. Figure 13 Alternatively, as shown in FIG. 12, the merging control 124 can be located in the operation area 123 of the image display interface 21. Figure 13

[0156] It should be noted that the merging control 122 and the merging control 124 can be simultaneously arranged in the image display interface 21, or one of them can be arranged in the image display interface 21.

[0157] Further, in response to a splitting operation on a sub-window, the sub-window is split to obtain a split sub-window.

[0158] In this embodiment, considering that the user needs to merge multiple sub-windows in the process of using the to-be-displayed window and the sub-window in the to-be-displayed window displayed in the image display interface according to the custom layout, the present embodiment can merge multiple sub-windows in response to a merging operation on the multiple sub-windows to obtain a merged sub-window, so as to browse the medical image in the merged sub-window. The applicability of the window layout is improved.​

[0159] In one embodiment, the window layout method provided by the embodiments of the present application further includes: determining a target medical image matched with the sub-window, and displaying the target medical image in the sub-window.

[0160] Optionally, the target medical image matched with the sub-window is determined according to the priority of the medical images of each sequence in the sub-window.

[0161] For example, Figure 14 As shown, assuming that the to-be-displayed window 211 contains four sub-windows 01, 02, 03 and 04, the priority of the four sub-windows in displaying medical images is 01>02>03>04, and there are eight sequences of medical images 001-008, and the priority of the eight sequences of medical images is 001>002>003>004>005>006>007>008. Then, the medical image of the 001 sequence is displayed in the sub-window 01, the medical image of the 002 sequence is displayed in the sub-window 02, the medical image of the 003 sequence is displayed in the sub-window 03, and the medical image of the 004 sequence is displayed in the sub-window 04. When the medical images of the 005, 006, 007 and 008 sequences need to be displayed, the medical image 001 displayed in the sub-window 01 can be replaced by the medical image 005, the medical image 002 displayed in the sub-window 02 can be replaced by the medical image 006, the medical image 003 displayed in the sub-window 03 can be replaced by the medical image 007, and the medical image 004 displayed in the sub-window 04 can be replaced by the medical image 008 by sliding the sliding control 011 on the right side of the to-be-displayed window 211. It should be noted that the above is only an example of the way in which the four sub-windows display medical images, and the same applies to sub-windows of other quantities, which will not be described here.

[0162] In one implementation, determining the target medical image matched with the sub-window includes: determining the target medical image based on an adding operation on the to-be-previewed image in the sub-window.

[0163] In one example, the adding operation includes a drag operation, and determining the target medical image matched with the sub-window includes: determining the target medical image based on the drag operation on the to-be-previewed image in the sub-window.

[0164] In another example, determining the target medical image based on the adding operation on the to-be-previewed image in the sub-window specifically includes: in response to a triggering operation on an adding control in the sub-window, displaying a folder of medical images, and in response to a selection operation on a to-be-previewed image in the folder, determining the target medical image.

[0165] In this implementation, the target medical image to be displayed in the sub-window can be determined through the adding operation on the to-be-previewed image in the sub-window.

[0166] In one of the embodiments, the image to be previewed is any one of the sequence images, and the window display method provided in the embodiments of the present application further includes: dividing the sub-window into a plurality of display units. One of the sequence images corresponding to the sub-window is displayed through the display units.

[0167] For example, referring to Figure 15 The sub-window 02 is divided into two display units 021 and 022, and two medical images in the sequence images displayed by the sub-window 02 are displayed in the display units 021 and 022. In this way, the corresponding images can be simultaneously displayed according to the plurality of display units contained in the sub-window in the custom layout.

[0168] In the embodiments, the target medical image matched with the sub-window is determined, and the target medical image can be displayed in the sub-window.

[0169] In one of the embodiments, the line information of the window thumbnail can be determined based on the custom layout, and the window thumbnail can be drawn based on the line information. Therefore, referring to Figure 16 .

[0170] S221, determining line information of the window thumbnail according to the custom layout; the line information is used to represent arrangement information of lines required for drawing the window thumbnail.

[0171] Optionally, the line information can include length and position information of the lines; the position information is used to represent the starting position and the ending position of the lines.

[0172] In one implementation, when the custom layout is in a graphical representation, the line information of the custom layout is determined, and the line information used for drawing the window thumbnail is obtained by reducing the custom layout according to a certain ratio.

[0173] In another implementation, when the custom layout is in a data representation, the line information of the custom layout is determined according to the custom layout, and the line information used for drawing the window thumbnail is obtained by reducing the custom layout according to a certain ratio.

[0174] In yet another implementation, when the custom layout is in a data representation (for example, JSON), the line information of the window thumbnail is determined according to the data of the custom layout.

[0175] S222, drawing the window thumbnail by using the line information.

[0176] Optionally, the window thumbnail can also be drawn by another way. When the custom layout is in a graphical representation, the custom layout can be directly reduced according to a certain ratio to obtain the window thumbnail.

[0177] In this embodiment, the line information for drawing window thumbnails by the user is determined by a custom layout, so that window thumbnails can be drawn based on the line information, thereby providing the user with a more intuitive display of the window layout style.

[0178] In one embodiment, when the custom layout includes a sequence layout, the sequence layout can be determined through the custom layout, and the drawing of window thumbnails for the sequence layout can be implemented based on the sequence layout. Therefore, referring to Figure 17 Custom layouts include sequence layouts corresponding to child windows. S221 specifically includes:

[0179] S2211. Based on the sequence layout, determine the sequence line information corresponding to the sub-windows in the drawing window thumbnail.

[0180] Specifically, taking a custom layout containing a sequence layout, a sequence layout not containing a display cell layout, and a sequence layout being a cell array consisting of n rows and m columns as examples, the data structure of the custom layout when stored as data is as follows:

[0181] {

[0182] series:'{"rows":n,"cols":m}',

[0183] imgList:'[{"rows":1,"cols":1},{"rows":1,"cols":1},{"rows":1,"cols":1},{"rows":

[0184] 1,"cols":1}]',……,

[0185] name:'r sequence n×m',

[0186] active:true

[0187] }

[0188] The structure data of the custom layout is represented by an object. The series represents the sequence layout information, and its value is a serialized string of an object. The rows represent the number of rows in each sequence of the sequence layout, and the cols represent the number of columns in the sequence layout. The imgList represents the row and column information of the display unit layout in each sequence. Its value is a serialized string of an array. Each object in the array contains rows and cols information, which represent the number of rows and columns of the custom layout of each sequence, respectively. The name field is the naming information of the custom layout data, and its value is a string. The active field indicates whether the custom layout is set as the default template, and its value is a boolean type data.

[0189] On the basis of S2211, the specific implementation of S222 can include:

[0190] S2212, draw the sequence line in the window thumbnail according to the sequence line information.

[0191] In this embodiment, in the case of containing sequence layout in the custom layout, the sequence line information is determined according to the custom layout, and the sequence line in the window thumbnail is drawn based on the sequence line information, so as to obtain the window thumbnail of the custom layout containing the sequence layout.

[0192] In one of the embodiments, referring to Figure 17 , the sequence layout includes a plurality of display unit layouts corresponding to a plurality of display units for displaying a plurality of medical images in the sequence; the method further includes:

[0193] S2213, obtaining the display unit layout according to the sequence layout.

[0194] According to the display unit layout, the display unit line information corresponding to the display unit in the window thumbnail is determined.

[0195] Specifically, taking the case that the custom layout contains the sequence layout, the sequence layout contains the display unit layout, the sequence layout is a cell array composed of n rows and m columns of cells, and the display unit layout is a cell array composed of x rows and y columns of cells as an example, if the custom layout is stored in a data manner, the data structure thereof is as follows:

[0196] {

[0197] series:'{"rows":n,"cols":m}',

[0198] imgList:'[{"rows":x,"cols":y},{"rows":x,"cols":y},{"rows":x,"cols":y},{""rows":x,"cols":y]',……,

[0199] name:'r sequence n x m',

[0200] active:true

[0201] }

[0202] It should be noted that the above ellipsis is omitted from display, and in actual application, the data structure of the custom layout does not contain the ellipsis. The number of rows and columns in other sequences are displayed at the ellipsis.

[0203] On the basis of S2213, the specific implementation of S222 can include:

[0204] S2214, drawing display unit lines in the window thumbnail using display unit line information.

[0205] For better understanding, refer to Figure 18 , the above S221 and S222 are exemplarily explained, taking the data structure corresponding to the above name test1 as an example, assuming that the sequence layout and the display unit layout corresponding to the graph contained in the custom layout are both cells, here the cell corresponding to the sequence layout is called sequence cell, and the cell corresponding to the display unit is called display unit cell.

[0206] Specifically, the data structure corresponding to test1 is read and parsed, and it is obtained that the rows in the series of the data structure are 2 and the cols are 2, then the sequence cells are calculated as four squares of 2*2, therefore, a thumbnail cell is first drawn, and the thumbnail cell needs to be divided into four sequence cells in the form of 2*2, then 1 horizontal line and 1 vertical line need to be drawn in the thumbnail cell. The thumbnail cell is shown in (a) of Figure 18 , after calculating the number of horizontal lines and vertical lines for drawing the sequence layout, the thumbnail square is equally divided to calculate the height and width of each sequence cell, the positions of the horizontal lines and the vertical lines are obtained, and after the drawing is completed, the sequence cells are shown in (b) of Figure 18 , the cells a, b, c and d, and the positions of the top-left corners of the sequence cells are recorded, the positions of the top-left corners are shown in (c) of Figure 18 , the positions of the top-left corners are circled. The number of display unit cells that should be drawn in each sequence cell is obtained by traversing the number of rows and columns of the display unit layout contained in each sequence in the data structure of the custom layout, i.e. the data in imageList, since the rows and cols of the display unit layout corresponding to the cells a, c and d in the 4 sequence 2*2 are both 1*1, only the rows and cols of the display unit layout corresponding to the cell b are 1*2; at this time, the height and width of the cell b are calculated, and it is known from the data structure that 1*2 two dashed squares need to be drawn in the cell b, according to the key point position of the top-left corner of the cell b calculated in the previous step, the margin of the display unit cell is set, the height and width of the display unit cell are obtained, and the display unit cell is drawn to the cells b1 and b2 according to the height and width, finally the window thumbnail of test1 is shown in (d) of Figure 18 .

[0207] Further, the window thumbnail according to test1 is displayed in the medical image display interface to display the to-be-displayed window, a sub-window of the to-be-displayed window, and a display unit window in the sub-window Figure 19 as shown.

[0208] In this embodiment, the display unit line information is determined according to the sequence layout, and the display unit line in the window thumbnail is drawn by using the display unit line information, so as to obtain the window thumbnail containing the custom layout of the display unit.

[0209] In one of the embodiments, after the window thumbnail of the to-be-displayed window is generated according to the custom layout, the method further includes: obtaining an operation instruction of the window thumbnail in the custom setting interface; performing an operation corresponding to the operation instruction; and the operation instruction includes any one of a naming instruction, a storage instruction, and a display instruction of the window thumbnail.

[0210] Specifically, in response to a confirmation operation of the window thumbnail of the to-be-displayed window, a display instruction is generated, and the window thumbnail of the to-be-displayed window is displayed in the thumbnail display interface according to the display instruction.

[0211] A naming operation of the window thumbnail is received, a naming instruction is generated, and the naming of the window thumbnail is displayed in the thumbnail display interface according to the naming instruction.

[0212] In response to a confirmation operation of the window thumbnail of the to-be-displayed window, a storage instruction is generated, and the layout information corresponding to the window thumbnail of the to-be-displayed window is stored.

[0213] Here, the layout information corresponding to the window thumbnail of the to-be-displayed window is stored in the data structure of the custom layout in the above example.

[0214] Further, with reference to 20, the embodiments of the present application can also modify the naming of the to-be-displayed window, set it as default, and delete it, etc.

[0215] In this embodiment, the window thumbnail is named by obtaining the naming instruction of the window thumbnail in the custom setting interface, so as to be distinguished from other window thumbnails in the subsequent process; the layout information corresponding to the window thumbnail of the to-be-displayed window is stored by obtaining the storage instruction of the window thumbnail in the custom setting interface, so as to be used in the subsequent process; and the window thumbnail of the to-be-displayed window is displayed by obtaining the display instruction of the window thumbnail in the custom setting interface, so as to more intuitively display the style of the window layout.

[0216] It should be understood that, although Figure 4 , 7The steps in the flowcharts of 8, 13-15 are displayed in sequence according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, Figure 4 , 7 At least a part of the steps in 8, 13-15 can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be alternately executed with at least a part of other steps or sub-steps or stages of other steps.

[0217] Figure 21 A structural block diagram of a window layout device 20 of an embodiment. The window layout device 20 includes:

[0218] An acquisition module 201 is configured to acquire a custom layout of a to-be-displayed window. The custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0219] A processing module 202 is configured to display the to-be-displayed window and the sub-windows in the to-be-displayed window in a medical image display interface according to the custom layout acquired by the acquisition module 201. The sub-windows are used to preview medical images.

[0220] In an embodiment, the acquisition module 201 is specifically configured to acquire the custom layout of the to-be-displayed window based on a window configuration item of a custom setting interface.

[0221] In an embodiment, the window configuration item includes a cell array, and the acquisition module 201 is specifically configured to acquire one or more cells selected in the cell array. The custom layout is determined according to the layout of the one or more cells.

[0222] In an embodiment, the acquisition module 201 is further configured to, in response to a merging operation on at least two cells in the plurality of cells, merge the at least two cells to obtain a merged cell.

[0223] In an embodiment, the processing module 202 is specifically configured to determine a display area of the to-be-displayed window according to the medical image display interface. The positions of the sub-windows corresponding to the one or more cells in the display area of the to-be-displayed window are determined according to the layout of the one or more cells. The to-be-displayed window and the sub-windows in the to-be-displayed window are displayed based on the display area of the to-be-displayed window and the position of each sub-window.

[0224] In one of the embodiments, the window configuration item includes a custom layout information configuration item, the obtaining module 201 is specifically configured to obtain custom layout information through the custom layout information configuration item, and determine the custom layout of the to-be-displayed window according to the custom layout information.

[0225] In one of the embodiments, the root obtaining module 201 is specifically configured to, in response to a merging operation on the plurality of sub-windows, merge the plurality of sub-windows to obtain a merged sub-window.

[0226] In one of the embodiments, the processing module 202 is further configured to determine a target medical image matched with the sub-window, and display the target medical image in the sub-window.

[0227] In one of the embodiments, the processing module 202 is specifically configured to determine the target medical image based on an adding operation of the to-be-previewed image in the sub-window.

[0228] In one of the embodiments, the to-be-previewed image is any one of the sequence images, and the processing module 202 is further configured to divide the sub-window into a plurality of display units. One of the sequence images corresponding to the sub-window is displayed through the display unit.

[0229] The specific limitation of the window layout device can be referred to the limitation of the window layout method in the above, which will not be repeated here. Each module in the above window layout device can be realized by software, hardware and combination thereof in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to call and execute the operation corresponding to each module by the processor.

[0230] In one embodiment, a computer device is provided, which can be a server, and its internal structure diagram can be as shown in Figure 22 The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store initial data, and the network interface of the computer device is used to communicate with the external terminal through the network connection. The computer program is executed by the processor to implement an aorta screening method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device. It can also be an external keyboard, touchpad or mouse, etc.

[0231] Those skilled in the art can understand that Figure 22 The structure shown is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0232] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0233] Obtaining a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0234] Displaying the to-be-displayed window and the sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse medical images.

[0235] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the following steps when executed by a processor:

[0236] Obtaining a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0237] Displaying the to-be-displayed window and the sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse medical images.

[0238] In one embodiment, a computer program product is provided, comprising a computer program, and the computer program implements the following steps when executed by a processor:

[0239] Obtaining a custom layout of a to-be-displayed window; the custom layout is used to represent a layout of each sub-window of the to-be-displayed window.

[0240] Displaying the to-be-displayed window and the sub-window in the to-be-displayed window in an image display interface according to the custom layout; the sub-window is used to browse medical images.

[0241] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0242] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0243] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A window layout method, characterized by, The method comprises: obtaining a custom layout of a to-be-displayed window based on a window configuration item of a custom setting interface; the window configuration item comprises a window configuration item of a sub-window and a window configuration item of a display unit window; the window configuration item of the sub-window is used for configuring a sequence layout; the window configuration item of the display unit window is used for configuring a display unit layout; determining the position of a horizontal and vertical bisector corresponding to the sequence layout in a window thumbnail according to the number of rows and the number of columns of the sequence layout in a data structure of the custom layout; the custom layout comprises the sequence layout; the sequence layout comprises the display unit layout; the cell corresponding to the sequence layout is a sequence cell; the cell corresponding to the display unit is a display unit cell; drawing a horizontal and vertical division line according to the position of the horizontal and vertical bisector to generate a sequence cell and record the position of the top-left corner key point of each sequence cell; obtaining the number of display unit cells to be drawn in each sequence cell by traversing the number of rows and the number of columns of the display unit layout contained in each sequence in the data structure of the custom layout; setting the margin of the display unit cell according to the position of the top-left corner key point of each sequence cell to obtain the height and width of the display unit cell; drawing the display unit cell according to the height and width of the display unit cell to obtain a window thumbnail of the custom layout; displaying the to-be-displayed window, the sub-window in the to-be-displayed window and the display unit window in the sub-window in an image display interface according to the window thumbnail; the sub-window is used for browsing medical images matching the sub-window determined according to the priority of a plurality of sequences; each sequence comprises a plurality of medical images; and a plurality of display unit windows under each sub-window are used for displaying a plurality of medical images under the current sub-window sequence.

2. The method of claim 1, wherein, The window configuration item comprises a geometric array.

3. The method of claim 1, wherein, The window configuration item comprises a cell array, and the obtaining of the custom layout of the to-be-displayed window based on the window configuration item of the custom setting interface comprises: obtaining one or more cells selected in the cell array; determining the custom layout according to the layout of the one or more cells.

4. The method of claim 3, wherein, The obtaining of the one or more cells selected in the cell array comprises: determining one or more cells according to a box selection operation in the cell array.

5. The method of claim 4, wherein, The box selection instruction triggered by the box selection operation carries position information of a starting point and position information of a terminal point corresponding to the box selection operation.

6. The method of claim 5, wherein, The method further comprises: generating a rectangular region with a line segment between the starting point and the terminal point as a diagonal according to the position information of the starting point and the position information of the terminal point, and taking the rectangular region as a box selection region.

7. The method of claim 3, wherein, The displaying of the to-be-displayed window, the sub-window in the to-be-displayed window and the display unit window in the sub-window in the image display interface according to the window thumbnail comprises: determining the position of the sub-window corresponding to each cell in the to-be-displayed window according to the layout of the one or more cells. displaying the to-be-displayed window and the sub-window in the to-be-displayed window based on the position of the sub-window in the to-be-displayed window.

8. The method of claim 1, wherein, The window configuration item includes a custom layout information configuration item, and the window configuration item based on the custom setting interface is used to acquire a custom layout of the to-be-displayed window, including: The custom layout information is acquired through the custom layout information configuration item, and the custom layout of the to-be-displayed window is determined according to the custom layout information.

9. The method of claim 1, wherein, After the to-be-displayed window, the sub-window in the to-be-displayed window, and the display unit window in the sub-window are displayed in the image display interface according to the window thumbnail, the method further includes: In response to a merging operation on a plurality of sub-windows, the plurality of sub-windows are merged to obtain a merged sub-window.

10. A window layout apparatus, characterized by, The device includes: The acquisition module is configured to acquire a custom layout of a to-be-displayed window based on a window configuration item of a custom setting interface; the window configuration item includes a window configuration item of a sub-window and a window configuration item of a display unit window; the window configuration item of the sub-window is used to configure a sequence layout; the window configuration item of the display unit window is used to configure a display unit layout; the number of rows and columns of the sequence layout in a data structure of the custom layout is determined according to the position of a horizontal and vertical division line corresponding to the sequence layout in a window thumbnail; the custom layout includes the sequence layout; the sequence layout includes the display unit layout; a cell corresponding to the sequence layout is a sequence cell; a cell corresponding to the display unit is a display unit cell; a horizontal division line and a vertical division line are drawn according to the position of the horizontal and vertical division line, a sequence cell is generated, and the position of an upper-left corner key point of each sequence cell is recorded; the number of display unit cells that should be drawn in each sequence cell is acquired by traversing the number of rows and columns of the display unit layout included in each sequence in the data structure of the custom layout; the margin of the display unit cell is set according to the position of the upper-left corner key point of each sequence cell, the height and width of the display unit cell are obtained, the display unit cell is drawn according to the height and width of the display unit cell, and the window thumbnail of the custom layout is obtained; The processing module is configured to display a to-be-displayed window, a sub-window in the to-be-displayed window, and a display unit window in the sub-window in a medical image display interface according to the window thumbnail acquired by the acquisition module; the sub-window is used to preview medical images matching the sub-window determined according to the priority of a plurality of sequences; each sequence includes a plurality of medical images; and a plurality of display unit windows under each sub-window are used to display a plurality of medical images under a current sub-window sequence.

Citation Information

Patent Citations

  • Method and apparatus for dynamically generating layout of image display interface

    CN107292092A

  • Page layout method and device, electronic equipment and storage medium

    CN112083915A