CN113742506B - Image display method and computer device - Google Patents
Image display method and computer device Download PDFInfo
- Publication number
- CN113742506B CN113742506B CN202111055512.4A CN202111055512A CN113742506B CN 113742506 B CN113742506 B CN 113742506B CN 202111055512 A CN202111055512 A CN 202111055512A CN 113742506 B CN113742506 B CN 113742506B
- Authority
- CN
- China
- Prior art keywords
- image
- sequence
- image display
- layout
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/20—ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Radiology & Medical Imaging (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to an image display method and computer equipment. After receiving an image display request for displaying an image of an image frame corresponding to an image sequence, acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on an image display requirement of the image sequence, and then displaying the image frame corresponding to the image sequence by using the target image display layout. The method displays the image frames of the image sequence in a self-defined display layout without displaying according to a pre-defined fixed layout, so that the layout mode of the image is more flexible, and the diversity and the intelligence of the image display mode are improved.
Description
Technical Field
The embodiment of the application relates to the technical field of image processing, in particular to an image display method and computer equipment.
Background
With the development of computer technology and the popularization of the internet, the image processing technology has reached an unprecedented height, and the application field of the image processing technology also covers a plurality of industries and has a trend of continuously expanding the influence range.
Generally, when a user performs image processing or browses images on a workstation, the images need to be displayed by using different image layouts according to personal preference or different use scenes. However, the image layout in the related art is relatively rigid and inflexible.
Disclosure of Invention
The embodiment of the application provides an image display method and computer equipment, which can enable an image layout mode to be more flexible.
In a first aspect, an embodiment of the present application provides an image display method, including:
receiving an image display request of an image sequence;
Acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence;
And displaying the image picture according to the target image display layout.
In one embodiment, the obtaining, according to the image display request, the target image display layout corresponding to the image sequence includes:
Acquiring a configuration file of a target image display layout according to the image display request;
and loading the target image display layout according to the configuration file.
In one embodiment, the configuration process of the configuration file includes:
responding to the newly-built layout request, and displaying a layout setting page, wherein the layout setting page comprises an effect display area and a parameter setting area;
Displaying a preview image picture corresponding to the parameter values of the data attribute parameters in the effect display area according to the parameter values of the data attribute parameters input by a user in the parameter setting area;
And if the preview image frames meet the image display requirement, saving the parameter values of all the data attribute parameters in the layout setting page and the corresponding preview image frames as configuration files.
In one embodiment, the effect display area includes a plurality of display unit areas, and each display unit area displays a different or same image frame.
In one embodiment, 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.
In one embodiment, the data attribute parameter includes a mode/sequence parameter, a parameter value of the mode/sequence parameter is a preset sequence checking rule, and the sequence checking rule is used for checking whether the image sequence meets a preset operation rule.
In one embodiment, 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 meets a sequence checking rule;
and if the image sequence meets the sequence checking rule, executing the step of displaying the preview image picture corresponding to the parameter value of each data attribute parameter in the effect display area.
In one embodiment, the method further comprises:
responding to the editing rule request, displaying a sequence rule editing page, wherein the sequence rule editing page comprises editing options of a sequence checking rule, and the editing options comprise image sequence information and preset operation rules;
and generating a sequence checking rule according to the corresponding information of each editing option input by the user.
In one embodiment, the operation rule includes a plurality of preset rule matching values, a relationship operation and an association operation;
The sequence checking rule is used for obtaining the operation result of the association operation of each relation operation Boolean value of the image sequence, each relation operation Boolean value represents the result obtained by respectively carrying out relation operation on the image sequence information and a plurality of preset rule matching values, and the operation result represents whether the image sequence information meets the operation rule or not.
In a second aspect, an embodiment of the present application provides an image display apparatus, including:
the receiving module is used for receiving an image display request of the image sequence;
The system comprises an acquisition module, a target image display layout, a display module and a display module, wherein the acquisition module is used for acquiring a target image display layout corresponding to an image sequence according to an image display request;
And the display module is used for displaying the image picture according to the target image display layout.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program when executed by the processor causes the processor to perform the method steps provided in the embodiment of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method steps provided by the embodiments of the first aspect described above.
According to the image display method and the computer device provided by the embodiment of the application, after an image display request for displaying the image display of the image frame corresponding to the image sequence is received, a target image display layout corresponding to the image sequence is obtained according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence, and then the image frame corresponding to the image sequence is displayed by the target image display layout. In the method, when the image frames of the image sequence are displayed, the display is performed based on the target image display layout, and the target image display layout is created by a user based on the image display requirement of the image sequence, which is equivalent to the fact that when the image frames of the image sequence are displayed, the user can construct the required image display layout according to the actual display requirement of the image sequence, so that the image frames of the image sequence are displayed by the self-defined display layout without being displayed according to the pre-defined fixed layout, thereby enabling the layout mode of the image to be more flexible and improving the diversity and the intelligence of the image display mode.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of an application environment of an image display method according to an embodiment;
FIG. 2 is a flow chart of an image display method according to an embodiment;
FIG. 3 is a schematic diagram of an image display layout according to one embodiment;
FIG. 4 is a schematic diagram of an image display layout according to another embodiment;
FIG. 5 is a flowchart of an image display method according to another embodiment;
FIG. 6 is a flowchart of an image display method according to another embodiment;
FIG. 7 is a flowchart of another embodiment of an image display method;
FIG. 8 is a schematic diagram of a display layout provided in another embodiment;
FIG. 9 is a schematic diagram of a display layout provided in another embodiment;
FIG. 10 is a schematic diagram of a profile generation process for a display layout provided in one embodiment;
FIG. 11 is a flowchart of another embodiment of an image display method;
FIG. 12 is a schematic diagram of a sequence check rule provided in one embodiment;
FIG. 13 is a schematic diagram of a sequence check rule set-up flow provided in one embodiment;
FIG. 14 is a flowchart of an image display method according to another embodiment;
FIG. 15 is a flowchart of another embodiment of an image display method;
FIG. 16 is a schematic diagram of an image display device according to an embodiment;
fig. 17 is a schematic diagram of a structure of a computer device provided in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the image display method provided by the embodiment of the application, the image display can be displayed in a special image application program, and the application program can run in computer equipment, wherein the computer equipment comprises, but is not limited to, various medical equipment, personal computers, notebook computers, smart phones, tablet computers, portable wearable equipment and the like. The internal architecture of the computer device is shown in fig. 1, where a processor is used to provide computing and control capabilities. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database is used for storing relevant data of the feature classification process. The network interface is used to communicate with other devices external through a network connection. The computer program is executed by a processor to implement an image display method.
The embodiment of the application provides an image display method and computer equipment, which can enable an image layout mode to be more flexible. The following describes in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems by means of examples and with reference to the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. In the following, the method for displaying an image according to the embodiment of the present application is described with respect to the execution subject being a computer device. The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application.
In one embodiment, as shown in fig. 2, an image display method is provided, and the embodiment relates to a specific process that after receiving an image display request of an image sequence, a computer device obtains a target image display layout corresponding to the image sequence according to the image display request, and then displays an image frame according to the target image display layout, where the embodiment includes the following steps:
S101, receiving an image display request of an image sequence.
The image display request of the image sequence refers to a request triggered when the image sequence is displayed in an image display application program of the computer device. Naturally, after receiving the image display request, the computer device needs to display the image frame corresponding to the image sequence.
In one embodiment, the request is triggered by a user in the image display application program through the interface of the computer device, wherein the triggering mode includes but is not limited to external input device clicking, voice control, touch screen triggering and the like.
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 the image acquisition device, the display request of the image sequence is automatically triggered according to the preset program, or if the number of the received image sequences reaches a certain threshold value after the computer device receives the image sequence transmitted by the image acquisition device, and/or when the application program is in an idle state, the display request of the image sequence is automatically triggered according to the preset program. The embodiment of the application does not limit the triggering mode of the image display request.
S102, acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence.
The display requirements required for each image sequence before display can be predetermined, wherein the image display requirements include, but are not limited to, display size, display area, display type, display content, etc., and any requirement for determining the image display effect is not limited in this embodiment of the present application.
Based on the display requirement of the image sequence, the image sequence display layout can be created in the image display application program, and naturally, the image sequence display layout is the target image display layout corresponding to the image sequence. The image display layout can be understood as the planning and arrangement of the display mode and display style of the images, so that the image display effect of the image sequence is matched with the display requirement of the image sequence. It should be understood that in practical application, for the same image sequence, there may be a plurality of requirements for layout display, and then, for the plurality of requirements for layout display of the same image sequence, different image display layouts may be preset respectively.
For example, referring to fig. 3, fig. 3 is a schematic diagram of an image display layout, where the image display layout includes four display areas, namely, a display area 1, a display area 2, a display area 3, and a display area 4, and the display area 1 displays a sagittal plane image of the head and a coronal plane image of the head displayed in the display area 2, and the display area 3 displays a CT image of the abdomen and a CT image of the upper body displayed in the display area 3.
Referring to fig. 4, fig. 4 is a schematic diagram of another image display layout, and fig. 4 includes 9 display areas, each of which displays images of different angles and different portions. It should be understood that fig. 3 and fig. 4 are only examples of different image display layouts, and the embodiments of the present application are not limited thereto.
The image display layout of the image sequence is created and then stored, wherein the storage can be performed by using the identification of the image sequence, so that based on the stored image display layout, the computer equipment can accurately and rapidly position the image display layout of the image sequence, thereby obtaining the corresponding target image display layout.
S103, displaying an image picture according to the target image display layout.
After the target image display layout corresponding to the image sequence is obtained, the computer equipment displays the image picture of the image sequence on the display interface of the image display application program of the computer equipment according to the target image display layout.
According to the image display method provided by the embodiment of the application, after an image display request for displaying the image display of the image frame corresponding to the image sequence is received, a target image display layout corresponding to the image sequence is obtained according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence, and then the image frame corresponding to the image sequence is displayed by the target image display layout. In the method, when the image frames of the image sequence are displayed, the display is performed based on the target image display layout, and the target image display layout is created by a user based on the image display requirement of the image sequence, which is equivalent to the fact that when the image frames of the image sequence are displayed, the user can construct the required image display layout according to the actual display requirement of the image sequence, so that the image frames of the image sequence are displayed by the self-defined display layout without being displayed according to the pre-defined fixed layout, thereby enabling the layout mode of the image to be more flexible and improving the diversity and the intelligence of the image display mode.
Based on the above embodiment, an embodiment is provided for the process of acquiring the target image display layout corresponding to the image sequence according to the image display request, as shown in fig. 5, and the embodiment includes the following steps:
S201, according to the image display request, a configuration file of the target image display layout is obtained.
The configuration file is a file configured by a user according to the display requirement of the image, and the file is generated when the user creates the image display layout according to the display requirement of the image sequence.
In general, in determining the display layout of the image sequence, different display parameters are determined according to the display requirement of the image sequence, for example, the number and the size of the display areas, or the type of images, the display format, the window width, the window level, and the like displayed in the display areas, where the window width may be a CT value range displayed on the CT image, and tissues and lesions within the CT value range are displayed in different analog gray scales. The window level is the center position of the window, the same window width is the same, and CT values in the CT value ranges are different due to different window levels, for example, the window width is 100H, when the window level is 0H, the CT value ranges are-50 to +50H, and when the window level is +35H, the CT value ranges are-15 to +85H. The configuration file includes, but is not limited to, the above-listed display parameters, other parameter information affecting the image frames of the image sequence, and the like.
Alternatively, the configuration file for the computer device to obtain the target visual display layout may be invoked in a database or disk. For example, the configuration file of the target image display layout is stored in the database or the disk with a preset identifier, and after receiving the image display request, the computer device obtains the configuration file of the target image display layout from the database or the disk according to the preset identifier.
S202, loading a target image display layout according to the configuration file.
Based on the obtained configuration file of the target image display layout, the computer equipment can obtain relevant display parameters required by the image picture of the image sequence from the configuration file, and then the target image display layout of the image sequence can be determined.
According to the embodiment, the configuration file is acquired so as to acquire the target image display layout, so that the acquisition efficiency and accuracy of the target image display layout are ensured.
As shown in fig. 6, in combination with the above embodiment, an image display method is provided, in this embodiment, taking image display application software as an example, the embodiment includes:
S11, starting image display application software.
S12, checking whether a custom layout configuration file exists.
S13, if yes, reading the self-defined layout configuration file.
S14, if not, setting the default layout as the display layout of the current image sequence.
S15, setting the display layout of the current image sequence according to the layout configuration file.
S16, displaying the image picture of the current image sequence by applying the determined display layout.
In this embodiment, after the user starts the image display application software, the computer device checks whether a custom layout configuration file exists, where the custom layout configuration file is set by the user at any time according to the actual display requirement. If the image is present, the computer device displays the image of the image sequence in the display layout determined by the acquired layout configuration file, and if the image is not present, the computer device displays the image of the image sequence in the default display layout. Therefore, when displaying the image frames of the image sequence, a user can construct a required image display layout according to the actual display requirement of the image sequence, and the image frames of the image sequence are displayed in a self-defined display layout without displaying according to a pre-defined fixed layout, so that the layout mode of the image is more flexible, and the diversity and the intelligence of the image display mode are improved. The implementation principle and process of each step in this embodiment are the same as those in other embodiments, and reference may be made to the description of other embodiments, which are not repeated here.
Based on any of the foregoing embodiments, an embodiment is provided for a process of generating a configuration file of a target image display layout. As shown in fig. 7, in one embodiment, the configuration process of the configuration file includes the following steps:
S301, responding to a newly built layout request, displaying a layout setting page, wherein the layout setting page comprises an effect display area and a parameter setting area.
In one scenario, the creation of the target image display layout may be actively initiated by a user to achieve matching of the actual display requirements when displaying the image frames of the image sequence.
For example, the user may trigger a new layout button in an image display application program of the computer device, and after receiving the request for new layout, the computer device pops up a layout setting page in the interface, where the layout setting page is a window for implementing user-defined setting of the image display layout.
The layout setting page may include an effect display area and a parameter setting area. As shown in fig. 8, the left area is an effect display area, and the right area is a parameter setting area.
The effect display area is used for displaying image frames corresponding to the image sequence, the image frame effect graph corresponding to the current parameter can be displayed according to different parameters set by a user, the parameter setting area is used for displaying settable parameters, and the user can edit any parameter in the parameter setting area.
In one embodiment, the effect display area includes a plurality of display unit areas, and each display unit area displays a different or same image frame. For example, different sectional images of the same image sequence or different layer sectional images of the same image sequence. With continued reference to fig. 8, in the effect display area in fig. 8, for example, four display unit areas are displayed, and each display area may display the same or different image frames, for example, a sagittal plane image of the head, a coronal plane image of the head, a CT image of the abdomen, a CT image of the upper body, and the like may be displayed in each display unit area.
S302, displaying a preview image picture 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.
According to the layout setting page described above, the user starts setting parameters in the parameter setting area, for example, the user inputs parameter values of the respective data attribute parameters.
The data attribute parameter refers to a related parameter when any one of the data display units displays an image frame, and for example, the data attribute parameter may be a parameter such as a study number, a drawing type, a window width, a window level, a mode, an azimuth, a zoom, and the like.
The study number refers to an inspection number in an image sequence, for an object to be diagnosed, multiple inspections of the study can be performed, one inspection corresponds to one inspection information (Study Instance UID), one inspection study can contain sequences of multiple part detections, one sequence corresponds to one sequence information, images of the same sequence refer to image files produced by the same equipment and generated by the same inspection of the same object to be diagnosed. The rendering type may be a display format, three-dimensional, two-dimensional, volume rendering, etc., curved surface reconstruction (Curved Planar Reformation, CPR), etc. The window width and level can be referred to in the description of the foregoing embodiments, and will not be described in detail. Orientation refers to the different azimuthal viewing angles of cross section, side, bottom, rear, etc.
In one embodiment, the data attribute parameters include a mode/sequence parameter, wherein parameter values of the mode/sequence parameter are preset sequence verification rules, and the sequence verification rules are used for verifying whether the image sequence meets preset operation rules.
A sequence check rule may be preset, where the sequence check rule may check whether the current image sequence meets a preset operation rule, where the sequence check rule needs to be set by a user according to an actual requirement, and of course, if the sequence check rule does not need to be updated, the user does not need to set the sequence check rule before each image frame is displayed, but if the sequence check rule needs to be updated, the user needs to set the sequence check rule before triggering the image frame of the current image sequence.
The sequence checking rule is used as a parameter value corresponding to the mode/sequence parameter, and the mode/sequence parameter also belongs to one parameter of the data attribute parameters, so that a user can input the parameter value of the mode/sequence parameter of the current image sequence when setting the parameter value of the data attribute parameter in the parameter setting area.
After receiving the parameter values of the data attribute parameters input by the user in the parameter setting area, the computer equipment correspondingly displays a preview image picture corresponding to the parameter values of the data attribute parameters in the effect display area in real time.
In the foregoing, a plurality of display unit areas may be set in the effect display area, and each display unit area may display the same or different image frames, then it may be understood that when setting parameter values of data attribute parameters, different data attribute parameters may be set correspondingly for different display unit areas.
In one embodiment, the parameter value of each data attribute parameter is a unit data attribute parameter value set in any display unit region, and correspondingly, in the effect display region, displaying the preview image picture corresponding to the parameter value of each data attribute parameter comprises displaying the preview image picture corresponding to the unit data attribute parameter value in the display unit region.
After the unit data attribute parameter values are set for each display unit area, the unit data attribute parameter values are displayed based on the unit data attribute parameter values when the corresponding display unit areas are displayed, so that the preview picture in the display unit area is matched with the unit data attribute parameter values.
For example, as shown in fig. 9, after the user inputs the parameter value of the element data attribute parameter of the middle display element area (white border area) in the parameter setting area, the user displays the corresponding preview screen in the middle display element area in the effect display area in real time. The parameter value of the selected mode/sequence parameter in the parameter setting area in fig. 9 is T1, and T1 is the sequence verification rule.
S303, if the preview image meets the image display requirement, the parameter values of each data attribute parameter in the layout setting page and the corresponding preview image are saved as configuration files.
According to the preview image displayed in the effect display area, it is checked whether the preview image meets the display requirement determined by the beginning of the image sequence. Optionally, if the computer device receives a confirmation instruction that the preview image frame triggered by the user meets the image display requirement, it is determined that the current preview image frame meets the image display requirement.
Then, the computer device may save the parameter values of the unit data attribute parameters corresponding to the display unit areas set in the current layout setting page and the preview image frame in each display unit area, so as to facilitate the step of determining the target image display layout. For example, such parameter information and the like may be stored in a configuration file in XML format, JSON, TXT, and the like in a disk of the computer device.
As shown in fig. 10, an embodiment of generating a configuration file of an image display layout is provided, which includes:
S21, receiving a newly built display layout request.
S22, popping up a setting window of the display layout.
S23, receiving the image sequence layout set by the user in the setting window of the display layout.
S24, selecting any display unit window to set the image layout of the corresponding display unit window.
S25, setting attribute parameters of the display unit window.
S26, whether each display unit window is set to the attribute parameters.
S27, if yes, identifying the name of the newly-built image display layout, and if not, executing S24.
S28, storing the newly-built image display layout into an xml file to a disk.
The stored xml file is the configuration file of the image display layout.
In this embodiment, the computer device responds to the newly created layout request, displays a layout setting page including an effect display area and a parameter setting area, displays a preview image picture corresponding to the parameter value of each data attribute parameter in the layout setting page and a corresponding preview image in the image display requirement of the effect display area according to the parameter value of each data attribute parameter input by a user in the parameter setting area, and if the preview image picture meets the picture, saves the parameter value of each data attribute parameter in the layout setting page and the corresponding preview image as a configuration file. In the method, the generated configuration file is triggered based on the condition that the display layout requirement of the user on the image sequence exists, and the user can self-define the display parameters of the image display layout according to the display requirement of the image sequence, so that the image display layout meets the display requirement better, and the accuracy of the image display layout is improved.
In one embodiment, as shown in fig. 11, the setting process of the sequence checking rule includes the following steps:
s401, a sequence rule editing page is displayed in response to an editing rule request, the sequence rule editing page comprises editing options of a sequence checking rule, and the editing options comprise image sequence information and preset operation rules.
The sequence check rule can be edited, and after the computer equipment receives the request of editing rule, a sequence rule editing page is displayed in the interface. The editing rule request may be triggered by the user through a preset control manner, for example, the control manner includes, but is not limited to, a voice manner, a touch screen click manner, an external input device input manner, a limb motion, a brain activity signal, and the like.
Taking an example that the rule editing request is realized by a user in the computer equipment in a clicking manner, the user clicks an edit rule key in an image display application program interface of the computer equipment in a clicking manner, the rule editing request is triggered, the computer equipment ejects a sequence rule editing page in the interface after receiving the rule editing request, the sequence rule editing page comprises at least one edit option of a sequence check rule, and the sequence check rule can be edited by editing the edit option.
The editing options comprise image sequence information and preset operation rules. The image sequence information represents attribute information of the sequence itself, such as a sequence keyword, a tag identifier (tagID), etc. of the image sequence, and information in the image sequence information is an example, which is not limited in the embodiment of the present application.
Specifically, the sequence key word is a name representing the sequence checking rule, and a name is defined for each sequence checking rule, so that the sequence key word can be conveniently selected and used when the image display layout is created.
TagID, which is set by the user, is a unique identification of the image sequence, and is one of input sources in the sequence checking rule operation method. The label value (tagvalue) of the image sequence can be determined according to tagID of the set image sequence, and tagvalue is the scanning protocol of the image sequence. Wherein tagvalue is readable from a digital imaging and Communications in medicine (DIGITAL IMAGING AND Communications IN MEDICINE, DICOM) file in which the scanning protocol for each image sequence is recorded. For example, if the user sets tagID of the image sequence to 0008103E, then searches DICOM for the image sequence with ID 0008103E according to 0008103E, and reads which protocol the image sequence is scanned by, the scanning protocol is tagvalue. It will be appreciated that reading which protocol each sequence is scanned from is equivalent to a screening condition, e.g., by scanning protocol, or by image type, or by image number, by patient information, etc.
In one embodiment, the operation rule comprises a plurality of preset rule matching values, a relation operation and an association operation, a sequence checking rule is used for obtaining operation results of the association operation of each relation operation Boolean value of the image sequence, each relation operation Boolean value represents a result obtained by respectively carrying out the relation operation on the image sequence information and the plurality of preset rule matching values, and the operation results represent whether the image sequence information meets the operation rule or not.
The relation operation can be an operation of inclusion and equality, the rule matching values can be multiple, the value to be matched for each sequence checking rule can be multiple, and the relation operation can be an operation of and, or, equal, not and the like. Also, the specific operation manner in each operation rule is an example, which is not limited in the embodiment of the present application.
Specifically, the relation operation represents the operation method between tagvalue and the rule matching value read in tagID, and since the method comprises two operations, namely including and equal to the two operations, the method can be selected by a user in specific selection, for example, the rule matching value comprises uservalue1 and uservalue2, the relation operation can be tagvalue including uservalue1, tagvalue equal to uservalue2, and the like, and it is understood that the method is only one example.
Rule matching value, which is user-defined and is one of input sources in the rule operation method, can be recorded as uservalue, for example. In practical applications, there may be a plurality of values uservalue, uservalue, uservalue, etc., which are not limited in this embodiment of the present application.
The related operation means representing the operation mode when the image is laid out, and the operation means between the results obtained after the operation of the modes designated by the plurality of relation of the related operation means, and the related operation can be any operation such as and, or, equal, not, and the like, and can be selected by a user according to the actual requirement when the related operation is actually applied.
For example, take two results as examples:
Result1 is a result obtained by performing one of "relational operations" on tagvalue and uservalue1, and may be expressed as Boolean value: wire or False.
Another result2 is the result of tagvalue and uservalue by one of the "relational operations", which can also be expressed as Boolean value: wire or False.
The "associative operation" refers to the manner of operation between result 1and result 2. For example, one of the results 1and 2, 1 or 2, 1and 2, etc. is selected.
Further, the final result obtained by the "correlation" operation may be indicative of whether a certain image sequence satisfies the sequence check rule. That is, when the sequence checking rule checks the image sequence, whether the image sequence passes or not can be determined according to the final result obtained after the final obtained 'association operation' operation.
As shown in fig. 12, fig. 12 illustrates a set sequence checking rule, including three sequences of checking rules, namely, T1, t1_ce, and t1_fse. The sequence key in fig. 12 is the name of each image sequence as described in the previous embodiments. In fig. 12, the protocol scan information with the sequence key T1 indicating the read 0008103E sequence must include a T1 rule and a sag rule. The protocol scan information of the sequence whose sequence key t1_ce is the read 0008103E must be T1 or CE rule, and the protocol scan information of the sequence whose sequence key t1_fse is the read 0008103E must be T1 and FSE rule cannot be provided.
Taking the sequence key word as T1 in FIG. 12 as an example, tagvalue is a value read according to tag 0008103E (namely the rule matching value), the relation is contains, uservalue is T1, the relation is AND, uservalue is sag, the operation mode of the sequence checking rule of T1 is (tagvalue Contains T1) AND (tagvalue Contains sag), if the final operation result is true, the sequence meets the rule named T1, otherwise, the sequence does not meet the rule.
S402, generating a sequence check rule according to the corresponding information of each editing option input by the user.
After the computer device displays the sequence rule editing page, the sequence rule editing page correspondingly displays editing options such as the image sequence information and preset operation rules, and according to the editing options, a user can input corresponding information such as sequence keywords, tagID, reading values of tagID and the like, and selected relation operation, association operation and the like in the editing options through a computer device interface.
It can be understood that the process of the user inputting the corresponding information of each editing option in the sequence rule editing page is equivalent to the process of setting the parameters of the sequence verification rule according to the actual display requirement of the image sequence. The computer device generates a sequence check rule according to the corresponding information of each editing option input by the user and stores the sequence check rule, for example, in an XML format.
Referring to fig. 13, a flowchart of an embodiment for editing and generating a sequence check rule is shown, which includes:
S31, receiving a layout verification rule setting request.
S32, popping up a setting window of a sequence checking rule.
S33, receiving rule parameters set by a user.
S34, storing the rule as an XML file.
In this embodiment, the computer device responds to the request for editing rule, displays a sequence rule editing page, where the sequence rule editing page includes editing options of the sequence verification rule, and the editing options include image sequence information and preset operation rules, so that the user can correspondingly input corresponding information of each editing option in the sequence rule editing page, and after receiving the corresponding information of each editing option input by the user, the computer device can generate the sequence verification rule. Because the rule editing authority is opened for the user, and the corresponding editing options are set for the rule editing, the determining mode and the setting mode of each editing option can be input and selected by the user, so that the setting of the sequence checking rule is more accurate and the setting mode is more flexible.
In some scenarios, after setting the sequence verification rule of the image sequence, it is further required to check whether the current image meets the set sequence verification rule, based on which, in one embodiment, as shown in fig. 14, the method includes the following steps:
S501, checking whether the image sequence meets a sequence checking rule.
S502, if the image sequence meets the sequence checking rule, executing the step of displaying the preview image picture corresponding to the parameter value of each data attribute parameter in the effect display area.
The embodiment may be executed before displaying the preview image corresponding to the parameter value of each data attribute parameter in the effect display area.
In practical application, based on a preset sequence verification rule, the computer equipment can directly call the sequence verification rule to verify the image sequence, if the verification is passed, the image sequence meets the operation rule set by the user, and if the verification is not passed, the image sequence does not meet the operation rule set by the user. Further, when the image sequence satisfies the sequence verification rule, the computer may continue to execute the step of displaying the preview image corresponding to the parameter value of each data attribute parameter in the effect display area in the step S302.
In the embodiment of the application, firstly, the image sequence is checked according to the set sequence check rule, and only if the check is passed, the step of displaying the preview image picture corresponding to the parameter value of each data attribute parameter is executed. The resource waste caused by the condition that the sequence checking rule is not met only after the step of displaying the preview image picture corresponding to the parameter value of each data attribute parameter is executed is avoided, so that the equipment resource is saved.
In addition, as shown in fig. 15, an embodiment of the present application further provides an image display method, which includes the following steps:
s41, in response to the editing rule request, displaying a sequence rule editing page.
The sequence rule editing page comprises editing options of a sequence checking rule, wherein the editing options comprise image sequence information and preset operation rules.
S42, generating a sequence check rule according to the corresponding information of each editing option input by the user.
S43, responding to the newly built layout request, displaying a layout setting page, wherein the layout setting page comprises an effect display area and a parameter setting area.
S44, checking whether the image sequence meets a sequence checking rule.
And S45, if the image sequence meets the sequence verification rule, displaying a preview image picture 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.
And S46, if the preview image frame meets the image display requirement, saving the parameter values of all the data attribute parameters in the layout setting page and the corresponding preview image frame as configuration files.
S47, receiving an image display request of the image sequence, wherein the image display request is used for requesting to display an image picture corresponding to the image sequence.
S48, according to the image display request, acquiring a configuration file of the target image display layout.
S49, loading the target image display layout according to the configuration file.
The implementation principle and process of each step in this embodiment can be referred to the previous description of any image display method embodiment, and will not be repeated here.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of the steps or stages in other steps or others.
In one embodiment, as shown in fig. 16, an embodiment of the present application provides an image display apparatus, which includes a receiving module 10, an acquiring module 11 and a display module 12, wherein,
A receiving module 10, configured to receive an image display request of an image sequence;
the acquisition module 11 is used for acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence;
the display module 12 is used for displaying the image picture according to the target image display layout.
In one embodiment, the acquiring module 11 includes:
The acquisition unit is used for acquiring a configuration file of the target image display layout according to the image display request;
And the loading unit is used for loading the target image display layout according to the configuration file.
In one embodiment, the apparatus further comprises:
the layout display module is used for responding to the newly-built layout request and displaying a layout setting page, wherein the layout setting page comprises an effect display area and a parameter setting area;
the preview display module is used for displaying a preview image picture 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 a user in the parameter setting area;
And the storage module is used for storing the parameter values of each data attribute parameter in the layout setting page and the corresponding preview image picture as configuration files if the preview image picture meets the image display requirement.
In one embodiment, the effect display area includes a plurality of display unit areas, and each display unit area displays a different or same image frame.
In one embodiment, the parameter value of each data attribute parameter is a unit data attribute parameter value set in any display unit area;
Correspondingly, the preview display module is further used for displaying a preview image picture corresponding to the unit data attribute parameter value in the display unit area.
In one embodiment, the data attribute parameter includes a mode/sequence parameter, a parameter value of the mode/sequence parameter is a preset sequence checking rule, and the sequence checking rule is used for checking whether the image sequence meets a preset operation rule.
In one embodiment, the apparatus further comprises:
the checking module is used for checking whether the image sequence meets a sequence checking rule;
And the preview display module is used for executing the step of displaying the preview image picture corresponding to the parameter value of each data attribute parameter in the effect display area if the image sequence meets the sequence checking rule.
In one embodiment, the apparatus further comprises:
The rule editing display module is used for responding to the request of editing rules and displaying a sequence rule editing page, wherein the sequence rule editing page comprises editing options of sequence checking rules, and the editing options comprise image sequence information and preset operation rules;
And the generating module is used for generating a sequence checking rule according to the corresponding information of each editing option input by the user.
In one embodiment, the operation rule includes a plurality of preset rule matching values, a relationship operation and an association operation, a sequence checking rule is used for obtaining operation results of the association operation by each relationship operation boolean value of the image sequence, each relationship operation boolean value represents results obtained by respectively carrying out the relationship operation on the image sequence information and the plurality of preset rule matching values, and the operation results represent whether the image sequence information meets the operation rule.
For specific limitations of the image display device, reference may be made to the above limitations of the image display method, and details thereof are not repeated herein. The modules in the image display device may be all or partially implemented by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 17. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured 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 computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an image display method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 17 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
Receiving an image display request of an image sequence, wherein the image display request is used for requesting to display an image picture corresponding to the image sequence;
Acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence;
And displaying the image picture according to the target image display layout.
The computer device provided in the foregoing embodiments has similar implementation principles and technical effects to those of the foregoing method embodiments, and will not be described herein in detail.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Receiving an image display request of an image sequence, wherein the image display request is used for requesting to display an image picture corresponding to the image sequence;
Acquiring a target image display layout corresponding to the image sequence according to the image display request, wherein the target image display layout is created by a user based on the image display requirement of the image sequence;
And displaying the image picture according to the target image display layout.
The foregoing embodiment provides a computer readable storage medium, which has similar principles and technical effects to those of the foregoing method embodiment, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111055512.4A CN113742506B (en) | 2021-09-09 | 2021-09-09 | Image display method and computer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111055512.4A CN113742506B (en) | 2021-09-09 | 2021-09-09 | Image display method and computer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113742506A CN113742506A (en) | 2021-12-03 |
| CN113742506B true CN113742506B (en) | 2025-01-24 |
Family
ID=78737746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111055512.4A Active CN113742506B (en) | 2021-09-09 | 2021-09-09 | Image display method and computer device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113742506B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102022123045A1 (en) * | 2022-09-09 | 2024-03-14 | Schölly Fiberoptic GmbH | Method and system for displaying image data |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106814987A (en) * | 2016-12-13 | 2017-06-09 | 海纳医信(北京)软件科技有限责任公司 | Display methods and device |
| CN112667173A (en) * | 2020-12-23 | 2021-04-16 | 深圳开立生物医疗科技股份有限公司 | Medical image printing method and device, medical equipment and readable storage medium |
| CN112837790A (en) * | 2021-01-27 | 2021-05-25 | 海纳医信(北京)软件科技有限责任公司 | Display method and device of image inspection information |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009205470A (en) * | 2008-02-28 | 2009-09-10 | Brother Ind Ltd | Print control unit and program |
| CN103425652A (en) * | 2012-05-16 | 2013-12-04 | 深圳市蓝韵网络有限公司 | Method for realizing compatible browsing of medical pictures in PACS (picture archiving and communication system) |
| JP5889223B2 (en) * | 2013-01-29 | 2016-03-22 | ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー | Display device and image display system |
| US9454798B2 (en) * | 2013-08-23 | 2016-09-27 | Adobe Systems Incorporated | Systems and methods of automatic image sizing |
| US9952301B2 (en) * | 2014-03-11 | 2018-04-24 | Hologic, Inc. | System and method for selecting and modifying a hanging protocol for displaying MRI information |
| CN105447070B (en) * | 2015-06-15 | 2019-04-16 | 浙江格林蓝德信息技术有限公司 | Medical image diagosis method and system |
| JP7118584B2 (en) * | 2016-11-01 | 2022-08-16 | キヤノンメディカルシステムズ株式会社 | Medical image diagnostic device, medical imaging device and medical image display device |
| EP3388962A1 (en) * | 2017-04-11 | 2018-10-17 | Siemens Healthcare GmbH | Control method of a medical imaging system |
| WO2019230246A1 (en) * | 2018-05-31 | 2019-12-05 | Cimaホールディングス株式会社 | Image management system and program |
| CN112017759A (en) * | 2019-05-31 | 2020-12-01 | 通用电气精准医疗有限责任公司 | Method and system for selecting scanning protocol and medium storing corresponding program |
| CN110716705A (en) * | 2019-09-18 | 2020-01-21 | 广州魅视电子科技有限公司 | Screen distribution management method for seat system |
| CN113744843B (en) * | 2021-09-07 | 2024-07-26 | 上海联影医疗科技股份有限公司 | Medical image data processing method, device, computer equipment and storage medium |
-
2021
- 2021-09-09 CN CN202111055512.4A patent/CN113742506B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106814987A (en) * | 2016-12-13 | 2017-06-09 | 海纳医信(北京)软件科技有限责任公司 | Display methods and device |
| CN112667173A (en) * | 2020-12-23 | 2021-04-16 | 深圳开立生物医疗科技股份有限公司 | Medical image printing method and device, medical equipment and readable storage medium |
| CN112837790A (en) * | 2021-01-27 | 2021-05-25 | 海纳医信(北京)软件科技有限责任公司 | Display method and device of image inspection information |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113742506A (en) | 2021-12-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111192356A (en) | Display method, apparatus, device and storage medium for region of interest | |
| CN109346158A (en) | Ultrasonic image processing method, computer equipment and readable storage medium storing program for executing | |
| CN109117760B (en) | Image processing method, apparatus, electronic device and computer readable medium | |
| CN111916184B (en) | Medical examination image downloading method and device and computer equipment | |
| CN108536467B (en) | Code positioning processing method, device, terminal device and storage medium | |
| CN111951278B (en) | Medical image segmentation method and computer readable storage medium | |
| CN115115724A (en) | Image processing method, image processing device, computer equipment and storage medium | |
| CN113742506B (en) | Image display method and computer device | |
| CN119205492B (en) | Image style translation method, system, computer device and storage medium | |
| CN112102235A (en) | Human body part recognition method, computer device, and storage medium | |
| CN111243052A (en) | Image reconstruction method, apparatus, computer equipment and storage medium | |
| CN114723723A (en) | Medical image processing method, computer device and storage medium | |
| CN117576645B (en) | Parking space detection method and device based on BEV visual angle and computer equipment | |
| CN114266760B (en) | Parameter determination method, device, computer equipment and storage medium | |
| US20190287225A1 (en) | Patch validity test | |
| CN119091091A (en) | Model display method, device, system, computer equipment and storage medium | |
| CN119810030A (en) | Target contour detection method, device, computer equipment and storage medium | |
| CN115880249B (en) | Image-based object segmentation method, device, equipment and medium | |
| CN112330707A (en) | Image processing method, image processing device, computer equipment and storage medium | |
| HK40083150A (en) | Image based object segmentation method, device, equipment and medium | |
| US20240177300A1 (en) | Method, apparatus and system for image-to-image translation | |
| CN118366154B (en) | Image processing method, apparatus, device, storage medium, and program product | |
| CN111461991B (en) | Image drawing method, image drawing device, computer equipment and storage medium | |
| CN111651131B (en) | Image display method and device and computer equipment | |
| CN118710981A (en) | Image classification method, device, equipment and storage medium thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |