Image display method and computer device

By obtaining and loading the user -defined image display layout configuration file, the problem of rigidity layout in the existing technology has been solved, and a more flexible and diverse image display effect is achieved.

CN113742506BActive Publication Date: 2025-01-24SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111055512.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-09
Publication Date
2025-01-24
Estimated Expiration
2041-09-09

AI Technical Summary

Technical Problem

The image layout method in the prior art is relatively rigid and not flexible enough, and it is difficult to meet the display needs of users according to their personal preferences or different usage scenarios.

Method used

By receiving the image display request of the image sequence, the target image display layout created by the user based on the image display requirement of the image sequence is obtained, and the image screen is displayed according to the layout. The method includes obtaining a configuration file of a target image display layout, loading the configuration file to determine the image display layout, and displaying the image with a customized layout in the display interface.

Benefits of technology

The flexibility of the image layout method is realized, allowing users to customize the image display layout according to actual needs, thereby improving the diversity and intelligence of the image display mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113742506B_ABST
    Figure CN113742506B_ABST
Patent Text Reader

Abstract

The present application relates to an image display method and a computer device. After receiving an image display request for displaying an image screen corresponding to an image sequence, a target image display layout corresponding to the image sequence is obtained according to the image display request. The target image display layout is created by a user based on the image display requirements of the image sequence, and then the image screen corresponding to the image sequence is displayed with the target image display layout. The method displays the image screen of the image sequence with a customized display layout, without displaying it according to a predefined fixed layout, thereby making the layout of the image more flexible and improving the diversity and intelligence of the image display method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of image processing technology, and in particular, to an image display method and a computer device. Background Art

[0002] With the development of computer technology and the popularization of the Internet, image processing technology has reached an unprecedented level. Its application areas have also covered many industries and have a trend of continuing to expand its scope of influence.

[0003] Generally, when users process images or browse images on a workstation, they need to use different image layouts to display images according to their personal preferences or different usage scenarios. However, the image layout methods in the related art are relatively rigid and not flexible enough. Summary of the invention

[0004] The embodiments of the present application provide an image display method and a computer device, which can make the image layout more flexible.

[0005] In a first aspect, an embodiment of the present application provides an image display method, the method comprising:

[0006] receiving an image display request for an image sequence;

[0007] According to the image display request, the target image display layout corresponding to the image sequence is obtained; the target image display layout is created by the user based on the image display requirements of the image sequence;

[0008] The image screen is displayed according to the target image display layout.

[0009] In one embodiment, the step of obtaining a target image display layout corresponding to an image sequence according to an image display request includes:

[0010] According to the image display request, obtain the configuration file of the target image display layout;

[0011] According to the configuration file, load the target image display layout.

[0012] In one embodiment, the configuration process of the configuration file includes:

[0013] In response to the new layout request, a layout setting page is displayed; the layout setting page includes an effect display area and a parameter setting area;

[0014] According to the parameter values ​​of the data attribute parameters input by the user in the parameter setting area, a preview image screen corresponding to the parameter values ​​of the data attribute parameters is displayed in the effect display area;

[0015] If the preview image screen meets the image display requirements, the parameter values ​​of each data attribute parameter in the layout setting page and the corresponding preview image screen are saved as a configuration file.

[0016] In one embodiment, the effect display area includes a plurality of display unit areas, and each display unit area displays a different or the same image frame.

[0017] In one of the embodiments, the parameter value of each of the above data attribute parameters is a unit data attribute parameter value set in any display unit area;

[0018] Accordingly, in the above effect display area, a preview image screen corresponding to the parameter value of each data attribute parameter is displayed, including:

[0019] In the display unit area, a preview image screen corresponding to the unit data attribute parameter value is displayed.

[0020] In one of the embodiments, the data attribute parameters include modality / sequence parameters; the parameter value of the modality / sequence parameter is a preset sequence verification rule; the sequence verification rule is used to check whether the image sequence satisfies the preset operation rule.

[0021] In one of the embodiments, before displaying the preview image corresponding to the parameter value of each data attribute parameter in the effect display area, the method further includes:

[0022] Check whether the image sequence meets the sequence verification rules;

[0023] If the image sequence satisfies the sequence verification rule, a step of displaying a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area is performed.

[0024] In one embodiment, the method further comprises:

[0025] In response to the edit rule request, a sequence rule editing page is displayed; the sequence rule editing page includes editing options for sequence verification rules; the editing options include image sequence information and preset operation rules;

[0026] Generate sequence verification rules based on the corresponding information of each editing option input by the user.

[0027] In one embodiment, the above-mentioned operation rules include a plurality of preset rule matching values, relational operations and association operations;

[0028] The sequence verification rule is used to obtain the result of the association operation of each relational operation Boolean value of the image sequence; each relational operation Boolean value represents the result obtained after the image sequence information is respectively subjected to relational operation with multiple preset rule matching values; the operation result indicates whether the image sequence information satisfies the operation rule.

[0029] In a second aspect, an embodiment of the present application provides an image display device, the device comprising:

[0030] A receiving module, used for receiving an image display request of an image sequence;

[0031] The acquisition module is used to acquire the target image display layout corresponding to the image sequence according to the image display request; the target image display layout is created by the user based on the image display requirements of the image sequence;

[0032] The display module is used to display the image according to the target image display layout.

[0033] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method steps provided in the embodiment of the first aspect above.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method steps provided in the embodiment of the first aspect above are performed.

[0035] An image display method and computer device provided in an embodiment of the present application, after receiving an image display request for displaying an image screen corresponding to an image sequence, obtains a target image display layout corresponding to the image sequence according to the image display request, and the target image display layout is created by the user based on the image display requirements of the image sequence, and then displays the image screen corresponding to the image sequence with the target image display layout. In this method, when displaying the image screen of the image sequence, it is displayed based on the target image display layout, and the target image display layout is created by the user based on the image display requirements of the image sequence, which is equivalent to, when displaying the image screen of the image sequence, the user can construct the required image display layout according to the actual display requirements of the image sequence, so that the image screen of the image sequence is displayed with a customized display layout, without the need to display it according to a predefined fixed layout, thereby making the layout of the image more flexible and improving the diversity and intelligence of the image display method. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 1 A diagram of an application environment of an image display method provided in an embodiment;

[0038] Figure 2 A schematic diagram of a flow chart of an image display method provided in an embodiment;

[0039] Figure 3 A schematic diagram of an image display layout provided in an embodiment;

[0040] Figure 4 A schematic diagram of an image display layout provided in another embodiment;

[0041] Figure 5 A schematic flow chart of an image display method provided in another embodiment;

[0042] Figure 6 A schematic flow chart of an image display method provided in another embodiment;

[0043] Figure 7 A schematic flow chart of an image display method provided in another embodiment;

[0044] Figure 8 A schematic diagram of a display layout provided in another embodiment;

[0045] Fig. 9 A schematic diagram of a display layout provided in another embodiment;

[0046] Fig.10 A schematic diagram of a configuration file generation process for a display layout provided in one embodiment;

[0047] Fig.11 A schematic flow chart of an image display method provided in another embodiment;

[0048] Fig.12 A schematic diagram of a sequence verification rule provided in an embodiment;

[0049] Fig.13 A schematic diagram of a sequence verification rule setting process provided in an embodiment;

[0050] Fig.14 A schematic flow chart of an image display method provided in another embodiment;

[0051] Fig.15 A schematic flow chart of an image display method provided in another embodiment;

[0052] Fig.16 is a schematic structural diagram of an image display device provided in an embodiment;

[0053] Fig.17 A schematic diagram of the structure of a computer device provided in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0055] The image display method provided in the embodiment of the present application can be displayed in a dedicated image application, and the application can be run in a computer device, and the computer device includes but is not limited to various medical devices, personal computers, laptops, smart phones, tablet computers and portable wearable devices. The internal structure of the computer device is as follows: Figure 1 As shown, the processor in the internal structure is used to provide computing and control capabilities. The memory 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 is used to store relevant data of the feature classification process. The network interface is used to communicate with other external devices through a network connection. When the computer program is executed by the processor, an image display method is implemented.

[0056] The embodiments of the present application provide an image display method and a computer device, which can make the image layout more flexible. The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems will be described in detail below through embodiments and in combination with the drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that when describing the image display method provided in the embodiments of the present application below, the execution subject is a computer device. The technical solution in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments.

[0057] In one embodiment, Figure 2As shown, an image display method is provided. This embodiment relates to a specific process in which a computer device receives an image display request of an image sequence, obtains a target image display layout corresponding to the image sequence according to the image display request, and then displays the image screen according to the target image display layout; the embodiment includes the following steps:

[0058] S101, receiving an image display request for an image sequence.

[0059] The image display request of the image sequence refers to a request triggered when the image sequence needs to be displayed in the image display application of the computer device. Naturally, after receiving the image display request, the computer device needs to display the image screen corresponding to the image sequence.

[0060] In one embodiment, the request is triggered by a user in an image display application through a computer device interface; wherein the triggering method includes but is not limited to external input device clicks, voice control, touch screen triggering, etc., and the embodiment of the present application does not limit the triggering method.

[0061] In another embodiment, the request is triggered according to a preset automatic program; for example, if the computer device receives an image sequence transmitted by an image acquisition device, a display request for the image sequence is automatically triggered according to a preset program; or, after the computer device receives an image sequence transmitted by an image acquisition device, if the number of received image sequences reaches a certain threshold, and / or the application is in an idle state, a display request for the image sequence is automatically triggered according to a preset program. The embodiment of the present application does not limit the triggering method of the image display request.

[0062] S102, according to the image display request, obtaining a target image display layout corresponding to the image sequence; the target image display layout is created by the user based on the image display requirement of the image sequence.

[0063] The display requirements of each image sequence before display can be determined in advance, wherein the image display requirements include but are not limited to display size, display area, display type, display content, etc. Any requirement that determines the image display effect is acceptable, and the embodiments of the present application do not limit this.

[0064] Based on the display requirements of the image sequence, the image sequence display layout can be created in the image display application. Naturally, the image sequence display layout is the target image display layout corresponding to the image sequence. Among them, the image display layout can be understood as the planning and arrangement of the display method and display style of the image, so that the image display effect of the image sequence matches the display requirements of the image sequence. It should be understood that in actual application, for the same image sequence, it may have multiple layout display requirements, so different image display layouts can be pre-set for the multiple layout display requirements of the same image sequence.

[0065] For example, see Figure 3 As shown, Figure 3 : is a schematic diagram of an image display layout, which includes four display areas: display area 1, display area 2, display area 3, and display area 4. Display area 1 displays a sagittal image of the head, display area 2 displays a coronal image of the head, display area 3 displays a CT image of the abdomen, and display area 4 displays a CT image of the upper body.

[0066] See also Figure 4 As shown, Figure 4 A schematic diagram of another image display layout is shown in FIG. Figure 4 It includes 9 display areas, each of which displays images from different angles and parts. It is understandable that Figure 3 and Figure 4 These are merely examples of different types of image display layouts, and the embodiments of the present application are not limited thereto.

[0067] The image display layout of the image sequence is saved after being created, wherein the image sequence identification may be used for saving. Thus, based on the saved image display layout, the computer device can accurately and quickly locate the image display layout of the image sequence, thereby acquiring the corresponding target image display layout.

[0068] S103, displaying the image frame according to the target image display layout.

[0069] After acquiring the target image display layout corresponding to the image sequence, the computer device displays the image pictures of the image sequence with the target image display layout on the display interface of its image display application.

[0070] The image display method provided in the embodiment of the present application, after receiving an image display request for displaying an image screen corresponding to an image sequence, obtains a target image display layout corresponding to the image sequence according to the image display request, and the target image display layout is created by the user based on the image display requirements of the image sequence, and then displays the image screen corresponding to the image sequence with the target image display layout. In this method, when displaying the image screen of the image sequence, it is displayed based on the target image display layout, and the target image display layout is created by the user based on the image display requirements of the image sequence, which is equivalent to, when displaying the image screen of the image sequence, the user can construct the required image display layout according to the actual display requirements of the image sequence, so that the image screen of the image sequence is displayed with a customized display layout, and there is no need to display it according to a predefined fixed layout, thereby making the layout of the image more flexible and improving the diversity and intelligence of the image display method.

[0071] Based on the above embodiment, an embodiment is provided to illustrate the process of obtaining the target image display layout corresponding to the image sequence according to the image display request. Figure 5 As shown, this embodiment includes the following steps:

[0072] S201, acquiring a configuration file of a target image display layout according to an image display request.

[0073] The configuration file is a file configured by the user according to the image display requirements. The file is generated when the user creates an image display layout according to the display requirements of the image sequence.

[0074] Usually, when determining the display layout of an image sequence, different display parameters are determined according to the display requirements of the image sequence, such as the number and size of the display area, or the image type, display format, window width, window position, etc. displayed in the display area. The window width here can be the CT value range displayed on the CT image, and the tissues and lesions within this CT value range are displayed in different simulated grayscales. The window position is the center position of the window. For the same window width, the CT values ​​of the CT value range included are also different due to different window positions; for example, the window width is 100H, when the window position is 0H, the CT value range is -50 to +50H; if the window position is +35H, the CT value range is -15 to +85H. Therefore, the configuration file includes but is not limited to the display parameters listed above, as well as other parameter information that affects the image screen of the image sequence.

[0075] Optionally, the computer device may retrieve the configuration file of the target image display layout from a database or disk. For example, the configuration file of the target image display layout is stored in the database or disk with a preset identifier, and after receiving the image display request, the computer device retrieves the configuration file of the target image display layout from the database or disk according to the preset identifier.

[0076] S202, loading the target image display layout according to the configuration file.

[0077] Based on the acquired configuration file of the target image display layout, the computer device can obtain relevant display parameters required for the image frames of the image sequence from the configuration file, and can determine the target image display layout of the image sequence.

[0078] In this embodiment, the target image display layout is obtained by obtaining the configuration file, thereby ensuring the acquisition efficiency and accuracy of the target image display layout.

[0079] like Figure 6 As shown, in combination with the above embodiments, an image display method is provided. In this embodiment, an image display application software is taken as an example. The embodiment includes:

[0080] S11, start the image display application software.

[0081] S12, checking whether there is a customized layout configuration file.

[0082] S13: If yes, read the custom layout configuration file.

[0083] S14: If not, set the default layout as the display layout of the current image sequence.

[0084] S15, setting the display layout of the current image sequence according to the layout configuration file.

[0085] S16, applying the determined display layout to display the image frames of the current image sequence.

[0086] In this embodiment, after the user starts the image display application software, the computer device checks whether there is a custom layout configuration file, which is set by the user at any time according to the actual display requirements. If it exists, the computer device displays the image screen of the image sequence according to the display layout determined by the obtained layout configuration file. If it does not exist, the computer device displays the image screen of the image sequence with the default display layout. In this way, when displaying the image screen of the image sequence, the user can construct the required image display layout according to the actual display requirements of the image sequence. In this way, the image screen of the image sequence is displayed with a custom display layout, and there is no need to display it according to a predefined fixed layout, thereby making the layout of the image more flexible and improving the diversity and intelligence of the image display method. The implementation principle and process of each step in this embodiment are the same as those in other embodiments. Please refer to the description of other embodiments, and no further description will be given here.

[0087] Based on any of the above embodiments, an embodiment is provided to illustrate the process of generating a configuration file of a target image display layout. Figure 7 As shown, in one embodiment, the configuration process of the above configuration file includes the following steps:

[0088] S301, in response to a new layout request, displaying a layout setting page; the layout setting page includes an effect display area and a parameter setting area.

[0089] In one scenario, the creation of the target image display layout may be actively initiated by the user, so that the image display of the image sequence matches the actual display requirements.

[0090] For example, a user can trigger a new layout button in an image display application of a computer device. After the computer device receives the request for a new layout, a layout setting page pops up in the interface. The layout setting page is a window for users to customize the image display layout.

[0091] The layout setting page may include an effect display area and a parameter setting area. Figure 8 As shown, Figure 8 In the figure, the left area is the effect display area, and the right area is the parameter setting area.

[0092] The effect display area is used to display the image screen corresponding to the image sequence. It can display the image screen effect diagram corresponding to the current parameters according to different parameters set by the user. The parameter setting area displays the configurable parameters, and the user can edit any parameter in the parameter setting area.

[0093] In one embodiment, the effect display area includes a plurality of display unit areas, each display unit area displays different or the same image pictures. For example, different cross-sectional images of the same image sequence, or different layer cross-sectional images of the same image sequence. Please continue to refer to Figure 8 As shown, Figure 8 Taking the four display unit areas displayed in the effect display area as an example, each display area can display the same or different image pictures. For example, each display unit area can respectively display a sagittal image of the head, a coronal image of the head, a CT image of the abdomen, a CT image of the upper body, etc.

[0094] S302: Displaying a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area according to the parameter value of each data attribute parameter input by the user in the parameter setting area.

[0095] According to the above layout setting page, the user starts to set parameters in the parameter setting area, for example, the user inputs parameter values ​​of various data attribute parameters.

[0096] Data attribute parameters refer to the relevant parameters of an image displayed by any data display unit. For example, data attribute parameters may be study number, drawing type, window width and position, mode, orientation, zoom and other attribute parameters.

[0097] Among them, the study number refers to the examination number in the image sequence. For a diagnosis and treatment object, multiple examination studies can be performed, and one examination corresponds to one examination information (Study Instance UID). One examination study can contain sequences of multiple part detections, and one sequence corresponds to one sequence information. Images of the same sequence refer to image files produced by the same equipment and belonging to the same examination of the same diagnosis and treatment object. The drawing type can be display format, three-dimensional, two-dimensional, volume rendering, etc., curved planar reformation (CPR) and other types. The window width and window position can refer to the description of the aforementioned embodiment, which will not be repeated here. Azimuth refers to different azimuth viewing angles such as cross section, side, upward view, and rear view.

[0098] In one embodiment, the data attribute parameters include modality / sequence parameters; the parameter value of the modality / sequence parameter is a preset sequence verification rule; the sequence verification rule is used to check whether the image sequence satisfies the preset operation rule.

[0099] A sequence verification rule can be set in advance, and the sequence verification rule can check whether the current image sequence meets the preset operation rules. The sequence verification rule needs to be set by the user according to actual needs. Of course, if the sequence verification rule does not need to be updated, the user does not need to set the sequence verification rule before displaying the image screen each time. However, if the sequence verification rule needs to be updated, the user needs to set it before triggering the image screen of the current image sequence. The embodiment of the present application does not limit this.

[0100] The sequence verification rule is used as the parameter value corresponding to the modality / sequence parameter, and the modality / sequence parameter is also a parameter in the data attribute parameter. Therefore, the user can enter the parameter value of the modality / sequence parameter of the current image sequence when setting the parameter value of the data attribute parameter in the parameter setting area: sequence verification rule.

[0101] After receiving the parameter values ​​of the data attribute parameters input by the user in the parameter setting area, the computer device displays the preview image screen corresponding to the parameter values ​​of the data attribute parameters in real time in the effect display area.

[0102] As mentioned earlier, multiple display unit areas can be set in the effect display area, and each display unit area can display the same or different image pictures. It can be understood that when setting the parameter values ​​of the data attribute parameters, different data attribute parameters can be set correspondingly for different display unit areas.

[0103] In one embodiment, the parameter value of each data attribute parameter is the unit data attribute parameter value set in any display unit area; accordingly, in the above-mentioned effect display area, a preview image screen corresponding to the parameter value of each data attribute parameter is displayed, including: in the display unit area, a preview image screen corresponding to the unit data attribute parameter value is displayed.

[0104] After the unit data attribute parameter value is specifically set for each display unit area, the display in the corresponding display unit area is also based on this unit data attribute parameter value, ensuring that the preview screen in the display unit area matches the unit data attribute parameter value.

[0105] For example, see Fig. 9 As shown, after a user enters the parameter value of a unit data attribute parameter in the middle display unit area (the area with a white border) in the parameter setting area, a corresponding preview screen is displayed in real time in the middle display unit area in the effect display area. Fig. 9 The parameter value of the modal / sequence parameter selected in the parameter setting area is T1, and T1 is the above-mentioned sequence verification rule.

[0106] S303: If the preview image screen meets the image display requirement, the parameter value of each data attribute parameter in the layout setting page and the corresponding preview image screen are saved as a configuration file.

[0107] According to the preview image displayed in the effect display area, it can be checked whether the preview image meets the display requirements determined at the beginning of the image sequence. Optionally, if the computer device receives a confirmation instruction triggered by the user that the preview image meets the image display requirements, it is determined that the current preview image meets the image display requirements.

[0108] Next, the computer device can save the parameter values ​​of the data attribute parameters of each unit corresponding to each display unit area set in the current layout setting page, as well as the preview image screen in each display unit area, to facilitate the above-mentioned step of determining the target image display layout. For example, these parameter information can be saved as a configuration file in XML format, JSON, TXT, etc. and stored in the disk of the computer device.

[0109] like Fig.10 As shown, an embodiment of a configuration file for generating an image display layout is provided, and the embodiment includes:

[0110] S21, receiving a request for creating a new display layout.

[0111] S22, a setting window for displaying the layout pops up.

[0112] S23, receiving the image sequence layout set by the user in the display layout setting window.

[0113] S24, selecting any display unit window to set the image layout of the corresponding display unit window.

[0114] S25, setting the property parameters of the display unit window.

[0115] S26, whether each display unit window is set to the above-mentioned attribute parameters.

[0116] S27, if yes, identify the name of the newly created image display layout; if no, execute S24.

[0117] S28, saving the newly created image display layout as an XML file to disk.

[0118] The saved XML file is the configuration file of the image display layout.

[0119] In this embodiment, the computer device responds to the new layout request, displays a layout setting page including an effect display area and a parameter setting area, and displays the preview image screen corresponding to the parameter value of each data attribute parameter in the layout setting page and the corresponding preview image according to the parameter value of each data attribute parameter input by the user in the parameter setting area in the effect display area. If the preview image screen meets the screen, the parameter value of each data attribute parameter in the layout setting page and the corresponding preview image are saved as a configuration file. In this method, the generated configuration file is triggered when the user has a display layout requirement for the image sequence, and the user can customize the display parameters of the image display layout according to the display requirement of the image sequence, so that the image display layout is more in line with the display requirement and the accuracy of the image display layout is improved.

[0120] In one embodiment, if Fig.11 As shown, the process of setting the above sequence verification rules includes the following steps:

[0121] S401, in response to a rule editing request, displaying a sequence rule editing page; the sequence rule editing page includes editing options for sequence verification rules; the editing options include image sequence information and preset operation rules.

[0122] The above sequence verification rules can be edited. After the computer device receives the edit rule request, the sequence rule editing page is displayed in the interface. The edit rule request can be triggered by the user through a preset control method, for example, the control method includes but is not limited to voice method, touch screen click method, external input device input method, body movement, brain activity signal, etc.

[0123] Taking the example of a user implementing a rule editing request by clicking in a computer device, the user clicks the edit rule button in the image display application interface of the computer device, which triggers the rule editing request. After the computer device receives the rule editing request, a sequence rule editing page pops up in the interface. The sequence rule editing page includes at least one editing option for a sequence verification rule. The sequence verification rule can be edited by editing the editing option.

[0124] The editing options include image sequence information and preset operation rules. The image sequence information represents the attribute information of the sequence itself, such as the sequence keyword and tag ID of the image sequence. The information in the image sequence information is an example and is not limited in the embodiment of the present application.

[0125] Specifically, the sequence keyword represents the name of the sequence verification rule. A name is defined for each sequence verification rule, which can be conveniently selected for use when creating an image display layout.

[0126] TagID: set by the user, it is the unique identifier of the image sequence and one of the input sources in the sequence verification rule operation method. According to the set tagID of the image sequence, the tag value of the image sequence (recorded as tagvalue) can be determined, and tagvalue is the scanning protocol of the image sequence. Among them, tagvalue can be read from the Digital Imaging and Communications in Medicine (DICOM) file, and the DICOM file records the scanning protocol of each image sequence. For example, the user sets the tagID of the image sequence to 0008103E, and then searches for the image sequence with ID 0008103E in DICOM according to 0008103E, and reads which protocol the image sequence is scanned by, then the scanning protocol is the tagvalue. It can be understood that reading which protocol each sequence is scanned by is equivalent to a screening condition, for example, filtering by scanning protocol, or filtering by image type, or filtering by number of images, filtering by patient information, and so on.

[0127] In one embodiment, the operation rules include multiple preset rule matching values, relational operations and association operations; a sequence verification rule is used to obtain the operation results of the association operation of each relational operation Boolean value of the image sequence; each relational operation Boolean value represents the result obtained after the image sequence information is respectively subjected to relational operations with multiple preset rule matching values; the operation result indicates whether the image sequence information satisfies the operation rules.

[0128] Among them, relational operations can be: operations of inclusion and equality; there can be multiple rule matching values, and each sequence verification rule can have multiple values ​​to match; association operations can be: and, or, equal, not, etc. Similarly, the specific operation method in each operation rule is an example, and the embodiments of this application do not limit this.

[0129] Specifically, relational operation: represents the operation method between the tagvalue read in the above tagID and the rule matching value. Because it includes two operations, including and equal to, it can be selected by the user in the specific selection. For example, the rule matching value includes uservalue1 and uservalue2, then the relational operation can be tagvalue includes uservalue1, tagvalue is equal to uservalue2, etc. It can be understood that this is just an example.

[0130] Rule matching value: The rule matching value is user-defined and is one of the input sources in the rule operation method. For example, it can be recorded as uservalue. In actual applications, there can be multiple values: uservalue1, uservalue2, uservalue3, etc., which are not limited in the embodiments of the present application.

[0131] Associative operation: represents the operation method when the image is laid out; the associative operation refers to the operation method between the results obtained after multiple "relationships" are specified. Similarly, the associative operation can be any of the operations such as and, or, equal, not, etc. In actual application, the user can choose according to actual needs.

[0132] For example, take these two results:

[0133] One result result1 is: the result of computing tagvalue and uservalue1 through a certain operation method in "relational operation", which can be represented as a Boolean value: true or False.

[0134] Another result result2 is: the result of computing tagvalue and uservalue2 through a certain operation method in "relational operation". Similarly, it can be expressed as a Boolean value: true or False.

[0135] Then "associative operation" refers to the operation method between result result1 and result result2. For example, it can be result1 and result2, result1 or result2, or one of result1 and result2.

[0136] Furthermore, the final result obtained after the "association operation" operation can represent whether a certain image sequence satisfies the sequence verification rule. That is, when the sequence verification rule verifies the image sequence, whether the verification image sequence passes can be determined based on the final result obtained after the "association operation" operation.

[0137] like Fig.12 As shown, Fig.12 The example shows a set sequence verification rule, including three sequence verification rules: T1, T1_CE, and T1_FSE. Fig.12 The sequence keywords in are the names of each image sequence as described in the previous embodiment. Fig.12The sequence keyword T1 means that the protocol scan information of the sequence 0008103E must contain T1 rules and sag rules. The sequence keyword T1_CE means that the protocol scan information of the sequence 0008103E must contain T1 or CE rules; the sequence keyword T1_FSE means that the protocol scan information of the sequence 0008103E must contain T1 and no FSE rules.

[0138] by Fig.12 Taking the sequence keyword T1 as an example, in the sequence verification rule named T1: tagvalue is the value read according to tag0008103E (that is, the matching value of the above rule); the relationship is contains; uservalue1 is T1; the association is AND; the value of uservalue2 is sag; then the operation method of the sequence verification rule of T1 is: (tagvalue Contains T1) AND (tagvalue Contains sag); if the final operation result is true, then this sequence satisfies the rule named T1, otherwise it does not satisfy it.

[0139] S402: Generate sequence verification rules according to corresponding information of each editing option input by the user.

[0140] After the computer device displays the sequence rule editing page, the sequence rule editing page displays the above-mentioned image sequence information, preset operation rules and other editing options. According to these editing options, the user can enter the corresponding information in these editing options through the computer device interface, such as sequence keywords, tagID, tagID reading value, etc., as well as selected relational operations, association operations, etc.

[0141] It can be understood that the process of the user inputting the corresponding information of each editing option on the sequence rule editing page is equivalent to the process of the user setting the parameters of the sequence verification rule according to the actual display requirements of the image sequence. The computer device generates the sequence verification rule according to the corresponding information of each editing option input by the user, and saves it, for example, in XML format.

[0142] See also Fig.13 FIG. 1 is a flow chart of an embodiment of editing and generating sequence verification rules, and the embodiment includes:

[0143] S31, receiving a layout verification rule setting request.

[0144] S32, a setting window for sequence verification rules pops up.

[0145] S33, receiving rule parameters set by the user.

[0146] S34, saving the rules as an XML file.

[0147] In this embodiment, the computer device responds to the edit rule request and displays a sequence rule editing page, which includes editing options for sequence verification rules. The editing options include image sequence information and preset operation rules. In this way, the user can enter the corresponding information of each editing option in the sequence rule editing page. After the computer device receives the corresponding information of each editing option input by the user, the sequence verification rule can be generated. Because the rule editing authority is open to the user, and the editing of the rule is set with corresponding editing options, the determination method and setting method of each editing option can be input and selected by the user, so that the setting of the sequence verification rule is more accurate and the setting method is more flexible.

[0148] In some scenarios, after setting the sequence verification rules of the above-mentioned image sequence, it is necessary to further check whether the current image meets the set sequence verification rules. Based on this, in one embodiment, Fig.14 As shown, the following steps are included:

[0149] S501, checking whether the image sequence satisfies the sequence verification rule.

[0150] S502: If the image sequence satisfies the sequence verification rule, a step of displaying a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area is executed.

[0151] This embodiment may be executed in the effect display area before displaying a preview image corresponding to the parameter value of each data attribute parameter.

[0152] In actual applications, based on the pre-set sequence verification rules, the computer device can directly call the sequence verification rules to verify the image sequence. If the verification passes, it means that the image sequence meets the operation rules set by the user; if the verification fails, it means that the image sequence does not meet the operation rules set by the user. Further, when the image sequence meets the sequence verification rules, the computer can continue to perform the step of displaying the preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area in the above step S302.

[0153] In the embodiment of the present application, the image sequence is first verified according to the set sequence verification rule, and the step of displaying the preview image screen corresponding to the parameter value of each data attribute parameter is executed only after the verification is passed. This avoids the waste of resources caused by the situation that the sequence verification rule is not met after the step of displaying the preview image screen corresponding to the parameter value of each data attribute parameter is executed, thereby saving equipment resources.

[0154] In addition, if Fig.15As shown, the embodiment of the present application also provides an image display method, which includes the following steps:

[0155] S41, in response to a rule editing request, displaying a sequence rule editing page.

[0156] The sequence rule editing page includes editing options for sequence verification rules; the editing options include image sequence information and preset operation rules.

[0157] S42, generating a sequence verification rule according to the corresponding information of each editing option input by the user.

[0158] S43, in response to the new layout request, displaying a layout setting page; the layout setting page includes an effect display area and a parameter setting area.

[0159] S44, checking whether the image sequence satisfies the sequence verification rule.

[0160] S45, if the image sequence meets the sequence verification rule, according to the parameter value of each data attribute parameter input by the user in the parameter setting area, a preview image screen corresponding to the parameter value of each data attribute parameter is displayed in the effect display area.

[0161] S46, if the preview image screen meets the image display requirement, the parameter value of each data attribute parameter in the layout setting page and the corresponding preview image screen are saved as a configuration file.

[0162] S47, receiving an image display request of an image sequence; the image display request is used to request display of an image screen corresponding to the image sequence.

[0163] S48, acquiring a configuration file of a target image display layout according to the image display request.

[0164] S49, loading the target image display layout according to the configuration file.

[0165] The implementation principles and processes of each step in this embodiment can be found in the description of any of the previous image display method embodiments, and will not be repeated here.

[0166] It should be understood that, although the various steps in the flow chart of the above-described embodiment are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flow chart of the above-described embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.

[0167] In one embodiment, Fig.16 As shown, an embodiment of the present application provides an image display device, which includes: a receiving module 10, an acquisition module 11 and a display module 12; wherein,

[0168] The receiving module 10 is used to receive an image display request of an image sequence;

[0169] The acquisition module 11 is used to acquire the target image display layout corresponding to the image sequence according to the image display request; the target image display layout is created by the user based on the image display requirements of the image sequence;

[0170] The display module 12 is used to display the image according to the target image display layout.

[0171] In one embodiment, the acquisition module 11 includes:

[0172] An acquisition unit, used for acquiring a configuration file of a target image display layout according to an image display request;

[0173] The loading unit is used to load the target image display layout according to the configuration file.

[0174] In one embodiment, the apparatus further comprises:

[0175] A layout display module, used to display a layout setting page in response to a new layout request; the layout setting page includes an effect display area and a parameter setting area;

[0176] A preview display module, used to display a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area according to the parameter value of each data attribute parameter input by the user in the parameter setting area;

[0177] The saving module is used to save the parameter values ​​of each data attribute parameter in the layout setting page and the corresponding preview image screen as a configuration file if the preview image screen meets the image display requirements.

[0178] In one embodiment, the effect display area includes a plurality of display unit areas, and each display unit area displays a different or the same image frame.

[0179] In one embodiment, the parameter value of each of the above data attribute parameters is a unit data attribute parameter value set in any display unit area;

[0180] Correspondingly, the preview display module is also used to display a preview image screen corresponding to the unit data attribute parameter value in the display unit area.

[0181] In one embodiment, the above-mentioned data attribute parameters include modality / sequence parameters; the parameter value of the modality / sequence parameter is a preset sequence verification rule; the sequence verification rule is used to check whether the image sequence satisfies the preset operation rule.

[0182] In one embodiment, the apparatus further comprises:

[0183] A verification module is used to verify whether the image sequence meets the sequence verification rules;

[0184] The preview display module is used to execute the step of displaying a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area if the image sequence meets the sequence verification rule.

[0185] In one embodiment, the apparatus further comprises:

[0186] A rule editing and displaying module is used to display a sequence rule editing page in response to a rule editing request; the sequence rule editing page includes editing options for sequence verification rules; the editing options include image sequence information and preset operation rules;

[0187] The generation module is used to generate sequence verification rules according to the corresponding information of each editing option input by the user.

[0188] In one embodiment, the above-mentioned operation rules include multiple preset rule matching values, relational operations and association operations; sequence verification rules are used to obtain the operation results of the association operation of each relational operation Boolean value of the image sequence; each relational operation Boolean value represents the result obtained after the image sequence information is respectively subjected to relational operations with multiple preset rule matching values; the operation result indicates whether the image sequence information satisfies the operation rules.

[0189] For the specific definition of the image display device, please refer to the definition of the image display method above, which will not be repeated here. Each module in the above-mentioned image display device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0190] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.17 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an image display method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

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

[0192] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0193] Receive an image display request for an image sequence; the image display request is used to request display of an image screen corresponding to the image sequence;

[0194] According to the image display request, the target image display layout corresponding to the image sequence is obtained; the target image display layout is created by the user based on the image display requirements of the image sequence;

[0195] The image screen is displayed according to the target image display layout.

[0196] The above embodiment provides a computer device, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0197] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0198] Receive an image display request for an image sequence; the image display request is used to request display of an image screen corresponding to the image sequence;

[0199] According to the image display request, the target image display layout corresponding to the image sequence is obtained; the target image display layout is created by the user based on the image display requirements of the image sequence;

[0200] The image screen is displayed according to the target image display layout.

[0201] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0202] Those of ordinary skill 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, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database 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 memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0203] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0204] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An image display method, characterized in that: The method comprises: receiving an image display request for an image sequence; According to the image display request, at least one target image display layout corresponding to the image sequence is obtained; the target image display layout is created by the user based on the image display requirements of the image sequence; the target image display layout is created according to the parameter values ​​of multiple data attribute parameters, the data attribute parameters include modality / sequence parameters; the parameter values ​​of the modality / sequence parameters are preset sequence verification rules; the sequence verification rules are used to check whether the image sequence meets the preset operation rules; the operation rules include multiple preset rule matching values, relational operations and association operations; the rule matching value is a user-defined scanning protocol, the relational operation includes operations of inclusion and equality, and the association operation includes and, or, equal, and not; the sequence verification rule is used to obtain the operation results of the association operation of each relational operation Boolean value of the image sequence, the each relational operation Boolean value represents the result obtained after the image sequence information and the multiple preset rule matching values ​​are respectively subjected to relational operations, the image sequence information represents the attribute information of the image sequence itself, and the image sequence information includes the label identification of the image sequence; The image frame is displayed according to the target image display layout.

2. The method according to claim 1, characterized in that: The acquiring, according to the image display request, a target image display layout corresponding to the image sequence comprises: According to the image display request, obtaining a configuration file of the target image display layout; According to the configuration file, the target image display layout is loaded.

3. The method according to claim 2, characterized in that The configuration process of the configuration file includes: In response to a new layout request, a layout setting page is displayed; the layout setting page includes an effect display area and a parameter setting area; According to the parameter values ​​of the data attribute parameters input by the user in the parameter setting area, in the effect display area, a preview image screen corresponding to the parameter values ​​of the data attribute parameters is displayed; If the preview image screen meets the image display requirement, the parameter value of each of the data attribute parameters in the layout setting page and the corresponding preview image screen are saved as the configuration file.

4. The method according to claim 3, characterized in that: The effect display area includes a plurality of display unit areas, and each of the display unit areas displays a different or the same image picture.

5. The method according to claim 4, characterized in that The parameter value of each data attribute parameter is a unit data attribute parameter value set in any display unit area; Accordingly, in the effect display area, a preview image screen corresponding to the parameter value of each data attribute parameter is displayed, including: In the display unit area, a preview image screen corresponding to the unit data attribute parameter value is displayed.

6. The method according to claim 3, characterized in that Before displaying the preview image corresponding to the parameter value of each data attribute parameter in the effect display area, the method further includes: Checking whether the image sequence satisfies the sequence verification rule; If the image sequence satisfies the sequence verification rule, a step of displaying a preview image screen corresponding to the parameter value of each data attribute parameter in the effect display area is performed.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a rule editing request, a sequence rule editing page is displayed; the sequence rule editing page includes editing options for the sequence verification rule; the editing options include image sequence information and preset operation rules; The sequence verification rule is generated according to the corresponding information of each editing option input by the user.

8. The method according to any one of claims 1 to 6, characterized in that: The operation result indicates whether the image sequence information satisfies the operation rule.

9. The method according to any one of claims 1 to 6, characterized in that: The data attribute parameters also include one or more of study number, drawing type, window width and window position, mode, orientation, and zoom.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Display method and display device

    CN106814987A

  • Medical image printing method and device, medical equipment and readable storage medium

    CN112667173A

  • Method and device for displaying image examination information

    CN112837790A