Sequence synchronization processing method and system based on DICOM image
By acquiring and constructing synchronization object data in the image database, the problem of page turn state retention and displaying images in multiple sequences after synchronization operation in the same sequence is solved, and the correct image display and state retention are achieved in the same sequence.
Patent Information
- Application Number
- CN202510585281.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-15
AI Technical Summary
The prior art cannot meet the problem of displaying images of different windows in multiple sequences in the same sequence, and the page turn state after synchronization operation remains displayed, resulting in the image becoming white or black.
By acquiring the acquired image in the preset image database, determining its sequence synchronization status, and constructing and storing synchronization object data, including complete image visual area data and incremental visual area data, the target data is determined based on these data and the preset target image to achieve correct page turn display after synchronization operation.
With data with different windows, moving, rotating, and scaling in the same sequence, after performing synchronization operations, subsequent image information can be displayed correctly and the synchronous operation image status can be retained.
Smart Images

Figure CN120496754A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method and system for sequential synchronization processing based on DICOM images. Background Art
[0002] When displaying all images in a DICOM image sequence, a solution is used to preserve the image display state after page turning and synchronization. Because the cornerstone.js library processes image display based on panes, not images, the pane information of the previous image is directly applied to the next image after page turning, resulting in images turning white or black.
[0003] The current existing technology is more for displaying sequence images of the same viewport, but cannot meet the requirements of retaining the page turning status after performing synchronous operations on multiple sequences of images with different window widths and window positions in the same sequence layout. Summary of the Invention
[0004] In view of the above problems, the present application is proposed to provide a DICOM image-based sequence synchronization processing method and system that overcomes the above problems or at least partially solves the above problems, including:
[0005] A method for sequence synchronization processing based on DICOM images, the method comprising:
[0006] Acquire the collected image in a preset image database;
[0007] Determining whether the acquired images are in a sequence synchronization state;
[0008] When in the sequence synchronization state, storage synchronization object data is constructed based on the acquired image, wherein the data type of the storage synchronization object data includes complete image visible area data and incremental visible area data;
[0009] Target data corresponding to the preset target image is determined according to the complete image visible area data, the incremental visible area data and the preset target image.
[0010] Furthermore, the step of acquiring the captured image in the preset image database includes:
[0011] Determining a DICOM image in the preset image database;
[0012] Determining visible area information according to the DICOM image;
[0013] A target image that is inconsistent with the preset visible area information is determined within the visible area information, and the target image is marked as a captured image.
[0014] Furthermore, the step of determining a target image in the visible area information that is inconsistent with the preset visible area information includes:
[0015] Determining target position information of the visible area information within the visible pane;
[0016] Determining whether there are adjustment attributes according to the target position information, wherein the adjustment attributes at least include scaling, rotation, translation, and window width and window position;
[0017] When the preset visible area information does not contain the adjustment attribute corresponding to the visible area information, it is determined that the target image has the visible area information inconsistent with the preset visible area information.
[0018] Furthermore, when in the sequence synchronization state, the step of constructing and storing synchronization object data according to the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data, comprises:
[0019] determining an identifier corresponding to the collected image based on the collected image;
[0020] generating a sequence identifier based on the identifier;
[0021] Generate and store synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data; and / or,
[0022] Storage synchronization object data is generated according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data.
[0023] Furthermore, the step of generating and storing synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data includes:
[0024] generating first current operation information according to a first image ID and image recording information corresponding to the first image ID;
[0025] Determining whether the first current operation information is in a first synchronization state, wherein the first synchronization state includes synchronization disabled, sequence synchronization, and full synchronization;
[0026] When the first synchronization state is in the synchronization disabled state, determining whether there is a first image ID corresponding to the current operation information in the complete image visible area data, and if so, modifying the complete image visible area data and marking it as a first synchronization operation difference; or
[0027] When the first synchronization state is in the sequence synchronization, a change is made in the complete image visible area data according to the sequence identifier corresponding to the first image ID and marked as a first synchronization operation difference; or
[0028] When the first synchronization state is in the full synchronization, the data of the complete image visible area is modified and marked as a first synchronization operation difference;
[0029] Storage synchronization object data is generated according to the identifier, the sequence identifier, the first image ID, the first synchronization operation difference, and the complete image visible area data.
[0030] Furthermore, the step of generating and storing synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data includes:
[0031] generating second current operation information according to the identifier and the sequence identifier;
[0032] determining whether the second current operation information is in a second synchronization state, wherein the second synchronization state includes sequence synchronization or full synchronization;
[0033] When the second synchronization state is in the sequence synchronization or the full synchronization, determining whether updated data is found in the incremental visible area data by using a sequence identifier;
[0034] If the updated data is found, the incremental visible area data is updated and marked as a second synchronization operation difference; or if the updated data is not found, new data is created in the incremental visible area data and marked as a second synchronization operation difference;
[0035] Storage synchronization object data is generated according to the identifier, the sequence identifier, the second synchronization operation difference, and the incremental visible area data.
[0036] Furthermore, the step of determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image includes:
[0037] Get the current image ID of the preset target image;
[0038] Searching for data in the visible area data of the complete image according to the current image ID;
[0039] When no data is found in the complete image visible area data, searching for the data in the incremental visible area data according to the current image sequence identifier corresponding to the current image ID;
[0040] Target data is generated according to the search data and default data corresponding to the preset target image.
[0041] An embodiment of the present application further discloses a DICOM image-based sequence synchronization processing system, the system comprising:
[0042] An acquisition module is used to acquire a captured image from a preset image database;
[0043] A first determining module is used to determine whether the acquired image is in a sequence synchronization state;
[0044] a second determining module, configured to construct and store synchronization object data according to the acquired image when in the sequence synchronization state, wherein the data types of the stored synchronization object data include complete image visible area data and incremental visible area data;
[0045] The third determining module is configured to determine target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image.
[0046] An embodiment of the present application further discloses a computer device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the steps of the above-mentioned method for sequence synchronization processing based on DICOM images are implemented.
[0047] An embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for sequence synchronization processing based on DICOM images are implemented.
[0048] This application has the following advantages:
[0049] In an embodiment of the present application, relative to the prior art that "cannot satisfy the requirement of retaining the display of the page turning status after performing synchronization operations on multiple sequences of images with different window widths and window positions in the same sequence layout", the present application provides a solution of "a method for retaining the display after sequence synchronization processing based on DICOM images", specifically: "A sequence synchronization processing method based on DICOM images, the method comprising: obtaining an acquired image from a preset image database; determining whether the acquired image is in a sequence synchronization state; when in the sequence synchronization state, constructing and storing synchronization object data based on the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image". By "obtaining an acquired image from a preset image database; determining whether the acquired image is in a sequence synchronization state; and when in the sequence synchronization state, constructing and storing synchronization object data based on the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; and determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image", the problem of "not being able to satisfy the requirement of retaining the display of the page turning status after performing a synchronization operation on multiple sequences of images with different window widths and window positions in the same sequence" is solved, and the effect of "correctly displaying subsequent image information when turning pages after performing a synchronization operation on data with different window widths and window positions, movement, rotation and scaling in the same sequence" is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the description of the present application. 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 any creative work.
[0051] Figure 1 This is a flowchart of a sequence synchronization processing method based on DICOM images provided in one embodiment of the present application;
[0052] Figure 2 This is a structural block diagram of a DICOM image-based sequence synchronization processing system provided by an embodiment of the present application;
[0053] Figure 3 It is a structural diagram of a computer device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0054] To make the objectives, features, and advantages of this application more readily apparent, the present application is further described below in conjunction with the accompanying drawings and specific embodiments. It is apparent that the embodiments described are only a portion of the embodiments of this application, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments in this application without inventive effort are also within the scope of protection of this application.
[0055] It should be noted that the Web side refers to applications or services that are accessed and operated based on a browser.
[0056] cornerstone.js: cornerstone.js is an open source JavaScript library for medical imaging applications.
[0057] Image viewport: The image's position, scale, rotation, translation, window width and position within the pane.
[0058] Sequence synchronization: DICOM image sequence synchronization (Series Synchronization) refers to the synchronization of position, zoom, rotation, translation, window width and window position between different views when viewing multiple DICOM sequences.
[0059] Image examination identifier / image sequence identifier / image ID: This is stored in the image information as a unique value when the device is used to collect patient images. The current image information can be directly obtained later to distinguish data.
[0060] Vue: is a JavaScript framework for building user interfaces.
[0061] Pinia: Pinia is a repository for Vue that allows sharing state across components / pages.
[0062] Reference Figure 1 , shows a flowchart of the steps of a sequence synchronization processing method based on DICOM images provided by an embodiment of the present application;
[0063] A method for sequence synchronization processing based on DICOM images, the method comprising:
[0064] S110, acquiring a captured image from a preset image database;
[0065] S120, determining whether the acquired image is in a sequence synchronization state;
[0066] S130: When in the sequence synchronization state, constructing and storing synchronization object data according to the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data;
[0067] S140: Determine target data corresponding to the preset target image according to the complete image visible area data, the incremental visible area data, and the preset target image.
[0068] In an embodiment of the present application, relative to the prior art that "cannot satisfy the requirement of retaining the display of the page turning status after performing synchronization operations on multiple sequences of images with different window widths and window positions in the same sequence layout", the present application provides a solution of "a method for retaining the display after sequence synchronization processing based on DICOM images", specifically: "A sequence synchronization processing method based on DICOM images, the method comprising: obtaining an acquired image from a preset image database; determining whether the acquired image is in a sequence synchronization state; when in the sequence synchronization state, constructing and storing synchronization object data based on the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image". By "obtaining an acquired image from a preset image database; determining whether the acquired image is in a sequence synchronization state; and when in the sequence synchronization state, constructing and storing synchronization object data based on the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; and determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image", the problem of "not being able to satisfy the requirement of retaining the display of the page turning status after performing a synchronization operation on multiple sequences of images with different window widths and window positions in the same sequence" is solved, and the effect of "correctly displaying subsequent image information when turning pages after performing a synchronization operation on data with different window widths and window positions, movement, rotation and scaling in the same sequence" is achieved.
[0069] Next, a sequence synchronization processing method based on DICOM images in this exemplary embodiment will be further described.
[0070] As described in step S110 , a captured image is obtained from a preset image database.
[0071] In one embodiment of the present invention, the specific process of "obtaining the captured image from the preset image database" in step S110 may be further explained in conjunction with the following description.
[0072] As described in the following steps,
[0073] S210, determining a DICOM image in the preset image database;
[0074] S220, determining visible area information according to the DICOM image;
[0075] S230: Determine a target image in the visible area information that is inconsistent with the preset visible area information, and mark the target image as a captured image.
[0076] It should be noted that the web side is based on cornerstone.js, vue front-end framework and pinia repository and displays DICOM images.
[0077] As an example, sequence synchronization is enabled to perform synchronization operations such as moving, rotating, scaling, and adjusting windows on images with inconsistent basic viewport information.
[0078] As described in step S230, a target image that is inconsistent with the preset visible area information is determined within the visible area information, and the target image is marked as a captured image.
[0079] In one embodiment of the present invention, the specific process of "determining a target image that is inconsistent with the preset visible area information within the visible area information and marking the target image as a captured image" in step S230 can be further explained in combination with the following description.
[0080] As described in the following steps,
[0081] S310: Determine target position information of the visible area information within the visible pane;
[0082] S320: Determine whether there are any adjustment attributes based on the target position information, wherein the adjustment attributes include at least scaling, rotation, translation, and window width and window position;
[0083] S330: When the preset visible area information does not contain the adjustment attribute corresponding to the visible area information, determining a target image whose visible area information is inconsistent with the preset visible area information.
[0084] As an example, when acquiring images, the data of the basic viewport image may be different due to differences in acquisition equipment or acquisition of different parts of the body. Doctors need to view images from different directions, sizes, or contrasts to determine the patient's condition information, and need to rotate, move, scale, and adjust the window width and window position of the image. In the case of sequence synchronization or full image synchronization, it is necessary to ensure that the doctor's operations on the image can be displayed normally on the screen.
[0085] As described in step S130, when in the sequence synchronization state, storage synchronization object data is constructed based on the acquired image, wherein the data type of the storage synchronization object data includes complete image visible area data and incremental visible area data.
[0086] In one embodiment of the present invention, the specific process of step S130 "when in the sequence synchronization state, constructing and storing synchronization object data based on the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data" can be further explained in combination with the following description.
[0087] As described in the following steps,
[0088] S410, determining an identifier corresponding to the collected image according to the collected image;
[0089] S420, generating a sequence identifier according to the identifier;
[0090] S430, generating and storing synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data; and / or,
[0091] S440: Generate storage synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data.
[0092] It should be noted that the pinia repository is used to record the incremental or decrement data generated by each synchronization operation, and the synchronization object data is established and stored with the image check identifier, the sequence identifier as the key, and the synchronization operation difference as the value.
[0093] As an example, two types of data are created: 1. complete image viewport data, and 2. incremental viewport data.
[0094] As described in step S430, storage synchronization object data is generated according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data.
[0095] In one embodiment of the present invention, the specific process of "generating and storing synchronization object data based on the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image and the complete image visible area data" described in step S430 can be further explained in combination with the following description.
[0096] As described in the following steps,
[0097] S510, generating first current operation information according to a first image ID and image recording information corresponding to the first image ID;
[0098] S520: Determine whether the first current operation information is in a first synchronization state, where the first synchronization state includes synchronization disabled, sequence synchronization, and full synchronization;
[0099] S530: When the first synchronization state is in the synchronization disabled state, determining whether a first image ID corresponding to the current operation information exists in the complete image visible area data; if so, modifying the complete image visible area data and marking it as a first synchronization operation difference; or
[0100] S540: When the first synchronization state is in the sequence synchronization, modify the complete image visible area data according to the sequence identifier corresponding to the first image ID and mark it as a first synchronization operation difference; or
[0101] S550: When the first synchronization state is in the full synchronization, modify the data of the complete image visible area and mark it as a first synchronization operation difference;
[0102] S560: Generate and store synchronization object data according to the identifier, the sequence identifier, the first image ID, the first synchronization operation difference, and the complete image visible area data.
[0103] It should be noted that the complete image visible area data is saved with the final key composed of the examination identifier, sequence identifier, and image ID, and the image viewport as the value to build a storage synchronization object; the image is recorded when it is first displayed on the screen, and each subsequent operation of the doctor on the image is recorded.
[0104] In a specific implementation, if the synchronization function is not enabled, it will check whether the image ID of the current operation exists in the complete image visible area data. If so, the complete image visible area data will be modified according to the type of operation.
[0105] In a specific implementation, if sequence synchronization is enabled, the complete image visible area data is searched according to the sequence identifier of the current image, and the complete image visible area data of all images in the same sequence are modified accordingly.
[0106] In a specific implementation, if all synchronization is enabled, corresponding changes are made to all complete image visible area data.
[0107] As described in step S440, storage synchronization object data is generated according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data.
[0108] In one embodiment of the present invention, the specific process of "generating and storing synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image and the incremental visible area data" in step S440 can be further explained in combination with the following description.
[0109] As described in the following steps,
[0110] S610, generating second current operation information according to the identifier and the sequence identifier;
[0111] S620: Determine whether the second current operation information is in a second synchronization state, where the second synchronization state includes sequence synchronization or full synchronization;
[0112] S630: When the second synchronization state is in the sequence synchronization or the full synchronization, determining whether updated data is found in the incremental visible area data by using a sequence identifier;
[0113] S640: If updated data is found, the incremental visible area data is updated and marked as a second synchronization operation difference; or if updated data is not found, new data is created in the incremental visible area data and marked as a second synchronization operation difference;
[0114] S650: Generate storage synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference, and the incremental visible area data.
[0115] It should be noted that the incremental visible area data object uses the check identifier concatenated with the sequence identifier as the key and the incremental data as the value to construct the storage synchronization object data.
[0116] As an example, movement records the difference between the x-axis and y-axis based on the default movement amount; scaling records the ratio of the current scaling to the default scaling; rotation records the difference based on the default rotation amount; and window width and window position records the difference based on the default window width and window position.
[0117] In a specific implementation, when sequence synchronization or full synchronization is turned on, after each doctor's operation, the data is searched for according to the current image sequence identifier in the incremental visible area data according to the synchronization situation. If the data can be found, the data is updated according to the corresponding operation type. If the data is not found, a new data is created.
[0118] As described in step S140 , target data corresponding to the preset target image is determined based on the complete image visible area data, the incremental visible area data, and the preset target image.
[0119] In one embodiment of the present invention, the specific process of "determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image" in step S140 can be further explained in combination with the following description.
[0120] As described in the following steps,
[0121] S710, obtaining the current image ID of the preset target image;
[0122] S720, searching for data in the complete image visible area data according to the current image ID;
[0123] S730: When no data is found in the complete image visible area data, searching for the data in the incremental visible area data according to the current image sequence identifier corresponding to the current image ID;
[0124] S740: Generate target data according to the search data and default data corresponding to the preset target image.
[0125] It should be noted that when turning the page of the sequence, the image page turning conrnerstorenewimage event is listened to based on the cornerstone.js library, and the current check identifier and sequence identifier are matched in the stored synchronization object data, and the incremental and decrement values are processed to obtain the image data after the synchronization operation. Finally, the incremental or decrement data can be applied based on the default data.
[0126] In one specific implementation, after turning a page, the complete image's visible area data is first searched based on the current image ID. If data is found, it is directly applied to the current image. If the corresponding complete image's visible area data cannot be found, data is searched from the incremental visible area data based on the current image sequence identifier. If data is found, the data is adjusted based on the current image's default data to obtain the latest viewport and then applied. Specific application methods include: if the searched data contains movement information, incremental or decremental adjustment is performed based on the default movement data; if rotation is required, incremental or decremental adjustment is performed based on the default data; if scaling is required, the default scaling value is multiplied by the scaling ratio to obtain the new scaling value; if the window width and window position are required, incremental or decremental adjustment is performed based on the default values; and the latest viewport is obtained by combining the above and applied to the current image. If incremental viewport data cannot be found, the default viewport data is directly used.
[0127] Example 1
[0128] In the same sequence, when performing synchronization operations on data with different window widths, window positions, movement, rotation, and scaling, subsequent image information is correctly displayed when turning pages, and the synchronization operation image status is retained.
[0129] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0130] Reference Figure 2 , shows a structural block diagram of a DICOM image-based sequence synchronization processing system provided by an embodiment of the present application;
[0131] A DICOM image-based sequence synchronization processing system, the system comprising:
[0132] An acquisition module 210 is configured to acquire a captured image from a preset image database;
[0133] A first determining module 220 is configured to determine whether the acquired image is in a sequence synchronization state;
[0134] A second determining module 230 is configured to construct and store synchronization object data based on the acquired image when in the sequence synchronization state, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data;
[0135] The third determining module 240 is configured to determine target data corresponding to the preset target image according to the complete image visible area data, the incremental visible area data, and the preset target image.
[0136] In one embodiment of the present invention, the acquisition module 210 includes:
[0137] A first determining submodule is used to determine a DICOM image in the preset image database;
[0138] A second determining submodule is used to determine the visible area information according to the DICOM image;
[0139] The third determining submodule is configured to determine, within the visible area information, a target image that is inconsistent with the preset visible area information, and mark the target image as a captured image.
[0140] In one embodiment of the present invention, the third determining submodule includes:
[0141] A first determining unit, configured to determine target position information of the visible area information within the visible pane;
[0142] A second determining unit is configured to determine whether an adjustment attribute exists according to the target position information, wherein the adjustment attribute includes at least scaling, rotation, translation, and window width and window position;
[0143] A third determining unit is configured to determine a target image whose visual area information is inconsistent with the preset visual area information when the adjustment attribute corresponding to the preset visual area information does not exist in the preset visual area information.
[0144] In one embodiment of the present invention, the second determining module 230 includes:
[0145] a fourth determining submodule, configured to determine an identifier corresponding to the collected image based on the collected image;
[0146] A first generating submodule, configured to generate a sequence identifier based on the identifier;
[0147] A second generating submodule is configured to generate and store synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data; and / or
[0148] The third generating submodule is configured to generate and store synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data.
[0149] In one embodiment of the present invention, the second generating submodule includes:
[0150] a first generating unit, configured to generate first current operation information according to a first image ID and image recording information corresponding to the first image ID;
[0151] a fourth determining unit, configured to determine whether the first current operation information is in a first synchronization state, wherein the first synchronization state includes synchronization disabled, sequence synchronization, and full synchronization;
[0152] a first marking unit configured to, when the first synchronization state is in the synchronization disabled state, determine whether a first image ID corresponding to the current operation information exists in the complete image visible area data, and if so, modify the complete image visible area data and mark it as a first synchronization operation difference; or
[0153] a second marking unit, configured to, when the first synchronization state is in the sequence synchronization, modify the complete image visible area data according to the sequence identifier corresponding to the first image ID and mark the modification as a first synchronization operation difference; or
[0154] a third marking unit, configured to modify the data of the complete image visible area and mark the data as a first synchronization operation difference when the first synchronization state is in the full synchronization state;
[0155] The second generating unit is configured to generate and store synchronization object data according to the identifier, the sequence identifier, the first image ID, the first synchronization operation difference, and the complete image visible area data.
[0156] In one embodiment of the present invention, the third generation submodule includes:
[0157] a third generating unit, configured to generate second current operation information according to the identifier and the sequence identifier;
[0158] a fifth determining unit, configured to determine whether the second current operation information is in a second synchronization state, wherein the second synchronization state includes sequence synchronization or full synchronization;
[0159] a sixth determining unit, configured to determine whether updated data is found in the incremental visible area data by using a sequence identifier when the second synchronization state is in the sequence synchronization or the full synchronization;
[0160] A fourth marking unit is configured to update the incremental visible area data and mark it as a second synchronization operation difference if updated data is found; or to create new data in the incremental visible area data and mark it as a second synchronization operation difference if no updated data is found;
[0161] A third generating unit is configured to generate storage synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference, and the incremental visible area data.
[0162] In one embodiment of the present invention, the third determining module 240 includes:
[0163] The first acquisition submodule is used to obtain the current image ID of the preset target image;
[0164] A first search submodule is configured to search for data in the complete image visible area data according to the current image ID;
[0165] a fifth determining submodule, configured to, when no data is found in the complete image visible area data, search the incremental visible area data according to the current image sequence identifier corresponding to the current image ID to determine the searched data;
[0166] The fourth generating submodule is configured to generate target data according to the search data and default data corresponding to the preset target image.
[0167] Reference Figure 3 , showing a computer device of a DICOM image-based sequence synchronization processing method of the present invention, which may specifically include the following:
[0168] The computer device 12 is a general-purpose computing device. The components of the computer device 12 may include but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0169] The bus 18 represents one or more of several types of bus 18 structures, including a memory bus 18 or memory controller, a peripheral bus 18, an accelerated graphics port, a processor, or a local bus 18 that utilizes any of a variety of bus 18 architectures. Examples of such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus 18, a Micro Channel Architecture (MAC) bus 18, an Enhanced ISA bus 18, an Audio Video Electronics Standards Association (VESA) local bus 18, and a Peripheral Component Interconnect (PCI) bus 18.
[0170] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0171] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"). Although Figure 3 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42 configured to perform the functions of various embodiments of the present invention.
[0172] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in a memory. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules 42, and program data, each of which, or some combination thereof, may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0173] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, a camera, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN)), a wide area network (WAN), and / or a public network (e.g., the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to microcode, device drivers, redundant processing units 16, external disk drive arrays, RAID systems, tape drives, and data backup storage systems 34.
[0174] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28 , such as implementing a DICOM image-based sequence synchronization processing method provided by an embodiment of the present invention.
[0175] That is, when the above-mentioned processing unit 16 executes the above-mentioned program, it realizes: obtaining a captured image in a preset image database; determining whether the captured image is in a sequence synchronization state; when in the sequence synchronization state, constructing and storing synchronization object data based on the captured image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; determining the target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image.
[0176] In an embodiment of the present invention, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a sequence synchronization processing method based on DICOM images as provided in all embodiments of the present application:
[0177] That is, when the program is executed by the processor, it is implemented as follows: obtaining a captured image in a preset image database; determining whether the captured image is in a sequence synchronization state; when in the sequence synchronization state, constructing and storing synchronization object data based on the captured image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data; determining the target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image.
[0178] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0179] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0180] The computer program code for performing the operations of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other.
[0181] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0182] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0183] The above is a detailed introduction to the DICOM image-based sequence synchronization processing method and system provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A method for sequential synchronization processing based on DICOM images, characterized in that: The method comprises: Acquire the collected image in a preset image database; Determining whether the acquired images are in a sequence synchronization state; When in the sequence synchronization state, storage synchronization object data is constructed based on the acquired image, wherein the data type of the storage synchronization object data includes complete image visible area data and incremental visible area data; Target data corresponding to the preset target image is determined according to the complete image visible area data, the incremental visible area data and the preset target image.
2. The method according to claim 1, characterized in that The step of acquiring the collected image in the preset image database includes: Determining a DICOM image in the preset image database; Determining visible area information according to the DICOM image; A target image that is inconsistent with the preset visible area information is determined within the visible area information, and the target image is marked as a captured image.
3. The method according to claim 2, characterized in that The step of determining a target image that is inconsistent with the preset visual area information within the visual area information includes: Determining target position information of the visible area information within the visible pane; Determining whether there are adjustment attributes according to the target position information, wherein the adjustment attributes at least include scaling, rotation, translation, and window width and window position; When the preset visible area information does not contain the adjustment attribute corresponding to the visible area information, it is determined that the target image has the visible area information inconsistent with the preset visible area information.
4. The method according to claim 1, wherein When in the sequence synchronization state, constructing and storing synchronization object data according to the acquired image, wherein the data type of the stored synchronization object data includes complete image visible area data and incremental visible area data, comprises: determining an identifier corresponding to the collected image based on the collected image; generating a sequence identifier based on the identifier; Generate and store synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data; and / or, Storage synchronization object data is generated according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data.
5. The method according to claim 4, characterized in that The step of generating and storing synchronization object data according to the identifier, the sequence identifier, the first image ID corresponding to the acquired image, the first synchronization operation difference corresponding to the acquired image, and the complete image visible area data comprises: generating first current operation information according to a first image ID and image recording information corresponding to the first image ID; Determining whether the first current operation information is in a first synchronization state, wherein the first synchronization state includes synchronization disabled, sequence synchronization, and full synchronization; When the first synchronization state is in the synchronization disabled state, determining whether there is a first image ID corresponding to the current operation information in the complete image visible area data, and if so, modifying the complete image visible area data and marking it as a first synchronization operation difference; or When the first synchronization state is in the sequence synchronization, a change is made in the complete image visible area data according to the sequence identifier corresponding to the first image ID and marked as a first synchronization operation difference; or When the first synchronization state is in the full synchronization, the data of the complete image visible area is modified and marked as a first synchronization operation difference; Storage synchronization object data is generated according to the identifier, the sequence identifier, the first image ID, the first synchronization operation difference, and the complete image visible area data.
6. The method according to claim 4, characterized in that The step of generating and storing synchronization object data according to the identifier, the sequence identifier, the second synchronization operation difference corresponding to the acquired image, and the incremental visible area data comprises: generating second current operation information according to the identifier and the sequence identifier; determining whether the second current operation information is in a second synchronization state, wherein the second synchronization state includes sequence synchronization or full synchronization; When the second synchronization state is in the sequence synchronization or the full synchronization, determining whether updated data is found in the incremental visible area data by using a sequence identifier; If the updated data is found, the incremental visible area data is updated and marked as a second synchronization operation difference; or if the updated data is not found, new data is created in the incremental visible area data and marked as a second synchronization operation difference; Storage synchronization object data is generated according to the identifier, the sequence identifier, the second synchronization operation difference, and the incremental visible area data.
7. The method according to claim 1, characterized in that The step of determining target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data, and the preset target image comprises: Get the current image ID of the preset target image; Searching for data in the visible area data of the complete image according to the current image ID; When no data is found in the complete image visible area data, searching for the data in the incremental visible area data according to the current image sequence identifier corresponding to the current image ID; Target data is generated according to the search data and default data corresponding to the preset target image.
8. A DICOM image-based sequence synchronization processing system, characterized in that: The system comprises: An acquisition module is used to acquire a captured image from a preset image database; A first determining module is used to determine whether the acquired image is in a sequence synchronization state; a second determining module, configured to construct and store synchronization object data according to the acquired image when in the sequence synchronization state, wherein the data types of the stored synchronization object data include complete image visible area data and incremental visible area data; The third determining module is configured to determine target data corresponding to the preset target image based on the complete image visible area data, the incremental visible area data and the preset target image.
9. A computer device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Image display method and apparatus
CN107066184A
Display of a medical image
CN111183451A
Image display processing method and system, storage medium and mobile terminal
CN111343335A
Image display method, device and equipment and computer readable storage medium
CN117193608A
Image processing method and related equipment
CN118820625A