Method and device for adjusting window width and window position of medical images

By obtaining the equipment type and scanning location information of medical images, determining the target grouping and performing window width and window adjustment, the problem of low window width and window adjustment efficiency in the prior art is solved, and the video reading efficiency is improved.

CN114724684BActive Publication Date: 2025-05-02BEIJING DEWEI WISDOM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210200116.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2025-05-02
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

The window width and window adjustment efficiency of prior art traditional Chinese medicine images is low, resulting in low film reading efficiency.

Method used

By obtaining the device type and scanning location information of the medical image, the target group is determined, and the window width and window position adjustment information of the group are adjusted.

Benefits of technology

The speed of adjusting the window width and window position is improved, the operator's operating steps are reduced, and the film reading efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114724684B_ABST
    Figure CN114724684B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for adjusting the window width and window position of a medical image. The method comprises: obtaining the device type and scanning part information of a target medical image, and determining a target group corresponding to the target medical image based on the device type and scanning part information; determining the window width and window position adjustment information corresponding to the target group; adjusting the window width and window position of the target medical image based on the window width and window position adjustment information corresponding to the target group, and performing corresponding window width and window position adjustment for different groups, thereby improving the speed of adjusting the window width and window position of the medical image and improving the efficiency of the operator in reading the film.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical digital imaging technology, and in particular to a method and device for adjusting window width and window position of medical images. Background Art

[0002] In the field of medical digital imaging, because the image display range is smaller than the image grayscale range, the reader needs to constantly adjust the image display window width and window position to locate the image information in the area of ​​interest that is easy to read. Continuously adjusting the image display window width and window position takes a lot of time. Although the sensitivity of adjusting the window width and window position in the reading software (i.e., the adjustment step length) can be set, it is still a fixed step length, resulting in low efficiency in reading. Therefore, there is an urgent need for a suitable method to increase the speed of adjusting the window width and window position to improve the reading efficiency. Summary of the invention

[0003] The present invention provides a method and device for adjusting the window width and window position of a medical image, which are used to solve the defect of low efficiency of adjusting the window width and window position of a medical image in the prior art and improve the speed of adjusting the window width and window position.

[0004] The present invention provides a method for adjusting window width and window position of medical images, comprising:

[0005] Acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0006] Determine the window width and window position adjustment information corresponding to the target group;

[0007] Based on the window width and window level adjustment information corresponding to the target group, the window width and window level of the target medical image are adjusted.

[0008] The present invention also provides a medical image window width and window position adjustment device, comprising:

[0009] An acquisition module, used to acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0010] An information determination module, used to determine the window width and window position adjustment information corresponding to the target group;

[0011] The adjustment module is used to adjust the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for adjusting the window width and window position of medical images are implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for adjusting the window width and window position of medical images are implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned methods for adjusting the window width and window level of medical images are implemented.

[0015] The present invention provides a method and device for adjusting the window width and window position of a medical image, which determines a target group corresponding to the medical image by acquiring the device type and scanning part information of the medical image, and adjusts the window width and window position of the medical image based on the window width and window position adjustment information corresponding to the target group. The corresponding window width and window position adjustment is performed for different groups, thereby improving the speed of adjusting the window width and window position of the medical image and improving the operator's film reading efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 It is a flow chart of the method for adjusting the window width and window position of medical images provided by the present invention;

[0018] Figure 2 It is a flow chart of obtaining window width and window position operation information of multiple medical images and performing statistical analysis provided by the present invention;

[0019] Figure 3 It is a flow chart of obtaining the window width and window position operation information corresponding to each of the medical images and recording the window width and window position operation information into the data sequence represented by the sequence number corresponding to each of the medical images provided by the present invention;

[0020] Figure 4 The present invention provides a flow chart for performing statistical analysis on the data sequences recorded corresponding to each group number in the at least one group number to obtain the window width and window position adjustment information corresponding to each group represented by the at least one group number;

[0021] Figure 5 It is a flow chart of adjusting the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group provided by the present invention;

[0022] Figure 6 It is a structural schematic diagram of the window width and window position adjustment device for medical images provided by the present invention;

[0023] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] like Figure 1 As shown, the method for adjusting the window width and window level of a medical image includes step 100, step 101 and step 102.

[0026] The medical image window width and window level adjustment method provided in the embodiment of the present invention may be executed by an electronic device or software or a functional module or a functional entity in the electronic device that can implement the medical image window width and window level adjustment method. In the embodiment of the present invention, the electronic device includes but is not limited to a film reading device. It should be noted that the above-mentioned execution subject does not constitute a limitation to the present invention.

[0027] Step 100: Obtain device type and scanning part information of a target medical image, and determine a target group corresponding to the target medical image based on the device type and scanning part information.

[0028] The target medical image may be a Digital Imaging and Communications in Medicine (DICOM) image.

[0029] The electronic device can read information corresponding to the target medical image from the target medical image, such as patient number, scanned part, device type, device name, device manufacturer, current window width and window position, etc.

[0030] The device type and scanning part information of the target medical image are obtained, and the target group corresponding to the target medical image is determined according to the device type and scanning part information of the target medical image.

[0031] Medical images with the same device type and the same scanning part information can be classified into the same group.

[0032] Step 101: Determine window width and window level adjustment information corresponding to the target group.

[0033] It should be noted that the window width and window level adjustment information corresponding to the target group may be obtained by analyzing the operation data of multiple medical images in the target group.

[0034] By analyzing the operation data of multiple medical images in the target group, the operator's operation information on the medical images in the target group can be determined, and the operation information may include at least one of the following: the accumulated average value of window width adjustment, the accumulated maximum value of window width adjustment, the accumulated minimum value of window width adjustment, the accumulated average value of window level adjustment, the accumulated maximum value of window level adjustment, and the accumulated minimum value of window level adjustment.

[0035] Based on the operation information, the window width and window level adjustment information corresponding to the target group can be determined. The window width and window level adjustment information can include the step length of the window width and the step length of the window level, and can also include the initial value of the window width and the initial value of the window level.

[0036] Step 102: Adjust the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group.

[0037] Optionally, adjusting the window width and window level of the target medical image includes the following two cases.

[0038] 1. Adjust the step size of window width and window position.

[0039] The window width adjustment step length of the target medical image may be set to the minimum value or average value of the accumulated window width adjustment; the window level adjustment step length of the target medical image may be set to the minimum value or maximum value of the accumulated window level adjustment.

[0040] For example, the initial window width adjustment step is 20. After statistical analysis, the cumulative minimum value of the window width adjustment of the medical images in the target group is 100, the cumulative maximum value is 200, and the cumulative average value is 135. That is to say, the operator needs to make multiple adjustments to adjust the window width to an appropriate size.

[0041] The window width adjustment step of the target medical image can be set to the minimum value or average value of the accumulated window width adjustment, that is, the operator can be provided with whether to automatically change the window width adjustment step to 100 or 135. In other words, the operator can adjust the window width of the target medical image by 100 or 135 in one operation. After the operator makes one adjustment, the step length of the window position is restored to the default value of 20, and only fine-tuning is required afterwards, which improves the operator's efficiency in reading films.

[0042] 2. Adjust the initial value of the window width and the initial value of the window position.

[0043] The initial value of the window width and the initial value of the window level can be determined based on the window width and window level adjustment information, and the initial window width and initial window level of the target medical image can be automatically set. For example, after opening the image, the window width is automatically adjusted to 850 and the window level is automatically adjusted to 900.

[0044] The window width and window level adjustment method for medical images provided by the embodiment of the present invention determines the target group corresponding to the medical image by acquiring the device type and scanning part information of the medical image, adjusts the window width and window level of the medical image based on the window width and window level adjustment information corresponding to the target group, performs corresponding window width and window level adjustment for different groups, reduces the steps of the operator's operation, improves the speed of adjusting the window width and window level of the medical image, and improves the operator's film reading efficiency.

[0045] In some embodiments, the method for adjusting the window width and window position of a medical image further includes: obtaining window width and window position operation information of a plurality of medical images, and performing statistical analysis. Figure 2 As shown, obtaining window width and window position operation information of multiple medical images and performing statistical analysis includes: step 200, step 201, step 202 and step 203.

[0046] Step 200: Acquire information of a plurality of medical images, wherein the information of the medical images includes at least one of the following: device type, scanning part, patient number, device manufacturer, and current window width and window position.

[0047] When the operator opens the medical image, the electronic device automatically reads the patient number, scanning part, device type, device name, device manufacturer and current window width and window position from the medical image, compiles it into a group number or finds the corresponding group number, and compiles the serial number within the group.

[0048] For example: the patient number is 04011305, the scanning site is the lung, the device type is computed tomography (CT), the device name is CTNS09005, the device manufacturer is NS, the window width is 700, the window position is 600, the group number is LC101014, and the serial number within the group is 211216001.

[0049] Step 201: group the medical images based on the information corresponding to the medical images, and obtain the group number corresponding to the medical images and the serial number within the group number.

[0050] It should be noted that the purpose of grouping multiple medical images is to classify medical images with similar operating habits of operators into the same group, so as to facilitate statistical analysis of window width and window position operation information corresponding to each group and obtain window width and window position adjustment information corresponding to each group.

[0051] Optionally, since operators have similar operating habits for medical images with the same device type and scanning part, the medical images can be grouped according to the device type and scanning part information corresponding to each medical image, and the medical images with the same device type and scanning part information can be grouped into the same group. For example, CT medical images of the lungs correspond to one group, and CT medical images of the brain correspond to another group.

[0052] The intra-group serial number of each medical image within the group number may be determined according to the patient number corresponding to each medical image.

[0053] Step 202: Obtain window width and window level operation information corresponding to each of the medical images, and record the window width and window level operation information into a data sequence represented by a sequence number corresponding to each of the medical images.

[0054] It is understandable that the window width and window position operation information corresponding to each medical image may include multiple operation information, so the multiple operation information is recorded in the form of a data sequence to obtain a data sequence represented by a sequence number corresponding to each medical image.

[0055] In some embodiments, the window width and window level operation information corresponding to each of the medical images includes at least one step of window width and window level operation information.

[0056] In some embodiments, Figure 3 As shown, step 202 includes: step 300, step 301 and step 302.

[0057] Step 300: Receive a first input, where the first input is an operation of adjusting the window width or window level of the medical image at least once.

[0058] It can be understood that the receiving operator adjusts the window width or window level of the medical image.

[0059] Step 301: When a second input is received, determine window width and window level operation information corresponding to a one-step operation based on the first input and the second input.

[0060] The second input is other operations except adjusting the window width or window level, for example, the operator starts to observe the medical image.

[0061] The one-step operation includes adjusting the window width or window level of the medical image at least once.

[0062] Adjusting the window width of the medical image once refers to adjusting the window width size once according to the window width adjustment step of the medical image, including positive adjustment and / or reverse adjustment. For example, the window width of the medical image is 500, and the window width adjustment step of the medical image is 20. Then adjusting the window width of the medical image once can adjust the window width of the medical image to 480 or 520.

[0063] Similarly, adjusting the window level of a medical image once means adjusting the window level size once according to the window level adjustment step of the medical image, including positive adjustment and / or reverse adjustment. For example, the window level of the medical image is 800, and the window level adjustment step of the medical image is 50. Then adjusting the window level of the medical image once can adjust the window level of the medical image to 750 or 850.

[0064] It is understandable that the operation can be divided into multiple steps according to the second input and the first input.

[0065] Optionally, each time a second input is received, it indicates that one operation is completed, and the first input between every two adjacent second inputs is one operation.

[0066] For example, the first input before the second input received for the first time is classified as the first step operation; the first input between the second input received for the first time and the second input received for the second time is classified as the second step operation, and so on, the window width and window position operation information corresponding to each step operation can be determined.

[0067] Step 302: Record the window width and window position operation information corresponding to at least one operation step by step into the data sequence represented by the serial number corresponding to each of the medical images, wherein the window width and window position operation information corresponding to one operation includes the number of window width adjustments, the step length of the window width, the number of window position adjustments and the step length of the window position.

[0068] It can be understood that the data sequence represented by the serial number corresponding to each medical image records at least one step of operation information, and each step of the operation may include one adjustment or multiple adjustments. Therefore, the number of adjustments of the window width in each step of the operation, the step size of each adjustment of the window width, and the number of adjustments of the window position in each step of the operation, and the step size of each adjustment of the window position can be obtained.

[0069] Step 203: When the number of data sequences recorded corresponding to at least one group number reaches a first threshold, statistical analysis is performed on the data sequences recorded corresponding to each group number in the at least one group number to obtain window width and window level adjustment information corresponding to each group represented by the at least one group number.

[0070] The size of the first threshold can be set according to specific circumstances and is not specifically limited here.

[0071] For example, the first threshold is 100, and multiple medical images correspond to 6 group numbers: 001, 002, 003, 004, 005 and 006. The number of data sequences corresponding to these 6 group numbers is 90, 95, 99, 120, 130 and 140 respectively. It can be determined that the data sequences corresponding to the three group numbers 004, 005 and 006 have reached the first threshold. Perform statistical analysis on the 120 data sequences corresponding to the group number 004 to obtain the window width and window position adjustment information corresponding to the group represented by the group number 004; perform statistical analysis on the 130 data sequences corresponding to the group number 005 to obtain the window width and window position adjustment information corresponding to the group represented by the group number 005; perform statistical analysis on the 140 data sequences corresponding to the group number 006 to obtain the window width and window position adjustment information corresponding to the group represented by the group number 006.

[0072] In some embodiments, the window width and window level adjustment information includes a window width adjustment recommended step length sequence and a window level adjustment recommended step length sequence.

[0073] In some embodiments, Figure 4 As shown, in step 203, statistical analysis is performed on the data sequences corresponding to the records of each group number in the at least one group number to obtain the window width and window level adjustment information corresponding to each group represented by the at least one group number, including: step 400, step 401 and step 402.

[0074] Step 400: For any data sequence of records corresponding to a group of numbers, based on the window width and window level operation information corresponding to each operation step, determine the window width adjustment cumulative value and the window level adjustment cumulative value corresponding to each operation step.

[0075] It can be understood that each group number corresponds to at least one medical image, each medical image corresponds to a serial number, and the data sequence represented by the serial number records at least one step of operation information of the medical image, that is, each group number corresponds to at least one data sequence.

[0076] For a data sequence of records corresponding to any group number, the accumulated value of window width adjustment and the accumulated value of window level adjustment corresponding to each step of operation in the data sequence are determined.

[0077] For example, group number 004 corresponds to 120 data sequences, of which the first data sequence corresponds to three-step operation information, and in the first step of the operation, 5 window width adjustments are performed, each with a step length of 40, and a total of 6 window level adjustments are performed, each with a step length of 20. It can be determined that the cumulative window width adjustment value corresponding to the first step of the operation of the first data sequence is 200, and the cumulative window width adjustment value is 120. By analogy, the cumulative window width adjustment value and the cumulative window level adjustment value corresponding to each step of the operation in each data sequence corresponding to any group number can be determined.

[0078] Step 401: Based on the accumulated value of window width adjustment and the accumulated value of window level adjustment corresponding to each step of operation, determine the recommended step length of window width adjustment and the recommended step length of window level adjustment corresponding to each step of operation.

[0079] Optionally, the average value, maximum value and minimum value of the accumulated values ​​of the window width adjustment of the same synchronous operation corresponding to any group number can be calculated, and then the recommended window width adjustment step length corresponding to the step operation can be determined according to the average value, maximum value and minimum value.

[0080] For example, the accumulated window width adjustment values ​​corresponding to the 120 first-step operations can be determined from the 120 data sequences corresponding to the group number 004, so that the average value of the accumulated window width adjustment values ​​of the first-step operation is determined to be 135, the minimum value is 100, and the maximum value is 200, that is, the recommended step length of the window width adjustment for the first-step operation of the group number 004 is 100 or 135; the accumulated window level adjustment values ​​corresponding to the 120 first-step operations can be determined from the 120 data sequences corresponding to the group number 004, so that the average value of the accumulated window level adjustment values ​​of the first-step operation is determined to be 250, the minimum value is 200, and the maximum value is 400, so the recommended step length of the window level adjustment for the first-step operation of the group number 004 can be determined to be 200 or 400.

[0081] Step 402: Based on the recommended window width adjustment step length and the recommended window level adjustment step length corresponding to each operation step, determine the recommended window width adjustment step length sequence and the recommended window level adjustment step length sequence corresponding to each group represented by the at least one group number.

[0082] It is understandable that the medical images in each group may correspond to multiple operations, and each operation step may correspond to a recommended step length for window width adjustment and a recommended step length for window level adjustment.

[0083] Therefore, a window width adjustment recommended step length sequence corresponding to a group includes a window width adjustment recommended step length corresponding to each operation step, and a window level adjustment recommended step length sequence corresponding to a group includes a window level adjustment recommended step length corresponding to each operation step.

[0084] The window width and window level adjustment method for medical images provided by an embodiment of the present invention groups multiple medical images, obtains a data sequence according to operation information of the medical images, and performs statistical analysis on the data sequence recorded corresponding to the group number when the data sequence recorded corresponding to the group number reaches a first threshold value, obtains window width and window level adjustment information corresponding to the group represented by the group number, and uses the window width and window level adjustment information to adjust the window width and window level of the corresponding group, thereby improving the speed of adjusting the window width and window level and improving the operator's film reading efficiency.

[0085] In some embodiments, step 101 includes:

[0086] The recommended window width adjustment step sequence and the recommended window level adjustment step sequence corresponding to the target group are determined from the recommended window width adjustment step sequences and the recommended window level adjustment step sequences corresponding to the respective groups represented by the at least one group number.

[0087] Optionally, at least one group number includes a group number corresponding to a target medical image, that is, the number of data sequences recorded corresponding to the group number corresponding to the target medical image has reached a first threshold, and window width and window level adjustment information corresponding to a target group corresponding to the target medical image is obtained through statistical analysis. The window width and window level adjustment information corresponding to the target group includes a window width adjustment recommended step length sequence and a window level adjustment recommended step length sequence corresponding to the target group.

[0088] The window width and window level adjustment method for medical images provided by an embodiment of the present invention groups multiple medical images, obtains a data sequence according to operation information of the medical images, and performs statistical analysis on the data sequence recorded corresponding to the group number when the data sequence recorded corresponding to the group number reaches a first threshold value, obtains window width and window level adjustment information corresponding to the group represented by the group number, and uses the window width and window level adjustment information to adjust the window width and window level of the corresponding group, thereby improving the speed of adjusting the window width and window level and improving the operator's film reading efficiency.

[0089] In some embodiments, Figure 5 As shown, step 102 includes: step 500, step 501, step 502 and step 503.

[0090] Step 500: For a target step operation, determine a target window width adjustment step of a target medical image corresponding to the target step operation from a recommended window width adjustment step sequence corresponding to the target group, and determine a target window level adjustment step of a target medical image corresponding to the target step operation from a recommended window level adjustment step sequence corresponding to the target group.

[0091] It should be noted that the target step operation may be any operation performed on the target medical image, and the target window width adjustment step length and the target window level adjustment step length corresponding to the target step operation may be determined by the received second input of the target medical image.

[0092] For example, when the second input of the operator is not received, it is determined that the current operation is the first step of the target medical image. The window width adjustment step length corresponding to the first operation is determined from the window width adjustment recommended step length sequence corresponding to the target group as the target window width adjustment step length of the target medical image; the window level adjustment step length corresponding to the first operation is determined from the window level adjustment recommended step length sequence corresponding to the target group as the target window level adjustment step length of the target medical image.

[0093] When a second input from the operator is received, it is determined that the current step is the second step, and by analogy, the target window width adjustment step length and the target window level adjustment step length corresponding to each step operation of the target medical image can be determined.

[0094] Step 501: Generate prompt information based on the target window width adjustment step and the target window level adjustment step, and display the prompt information through a prompt interface.

[0095] It is understandable that the prompt information on the display interface can provide the operator with the option of whether to adjust the current window width adjustment step to the target window width adjustment step and whether to adjust the current window level adjustment step to the target window level adjustment step.

[0096] For example, when the target window width adjustment step length is determined to be 100 and the target window level adjustment step length is determined to be 200, a prompt message is generated: Do you want to set the window width adjustment step length to 100? Do you want to set the window level adjustment step length to 200?

[0097] Step 502: When the third input is received, the window width adjustment step length of the target medical image is set to the target window width adjustment step length, and the window level adjustment step length of the target medical image is set to the target window level adjustment step length.

[0098] The third input may be in at least one of the following ways:

[0099] First, the third input may be a touch operation, including but not limited to a click operation, a slide operation, and a press operation.

[0100] In this implementation, receiving the third input from the operator may be receiving a touch operation from the operator in the display area of ​​the display screen.

[0101] Secondly, the third input may be a physical key input.

[0102] In this embodiment, a physical key corresponding to the step size setting is provided on the body of the electronic device, and receiving the third input from the operator may be receiving the third input from the operator by pressing the corresponding physical key.

[0103] Of course, in other embodiments, the third input may also be in other forms, including but not limited to voice input, etc., which can be determined according to actual needs and is not limited to this in the embodiments of the present application.

[0104] When the third input is received, the window width adjustment step length of the target medical image is set as the target window width adjustment step length, and the window level adjustment step length of the target medical image is set as the target window level adjustment step length.

[0105] Step 503: When the fourth input is received, the window width or window level of the target medical image is adjusted according to the target window width adjustment step length or the target window level adjustment step length.

[0106] The fourth input is an operation for determining to adjust the window width or window level of the target medical image. It is understandable that the fourth input is an operation for confirming the adjustment, but does not indicate the step length of the adjustment, which is determined according to the window width adjustment step length and the window level adjustment step length of the target medical image set in step 502, that is, when the fourth input is received, the window width or window level of the target medical image is adjusted according to the target window width adjustment step length and the target window level adjustment step length.

[0107] It should be noted that after the operator makes an adjustment, the step size of the window position returns to the default value, and only fine-tuning is required thereafter.

[0108] The method for adjusting the window width and window level of a medical image provided by an embodiment of the present invention determines the target window width adjustment step of a target medical image corresponding to the target step operation from a window width adjustment recommended step sequence corresponding to a target group, determines the target window level adjustment step of the target medical image corresponding to the target step operation from a window level adjustment recommended step sequence corresponding to the target group, and adjusts the window width and window level for each step operation, thereby improving the accuracy of setting the window width adjustment step and window level adjustment step of the medical image, improving the speed of adjusting the window width and window level, and improving the operator's film reading efficiency.

[0109] The window width and window level adjustment device for medical images provided by the present invention is described below. The window width and window level adjustment device for medical images described below and the window width and window level adjustment method for medical images described above can be referred to each other.

[0110] like Figure 6 As shown, the medical image window width and window level adjustment device 600 includes: an acquisition module 610 , an information determination module 620 and an adjustment module 630 .

[0111] An acquisition module 610 is used to acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0112] An information determination module 620 is used to determine the window width and window level adjustment information corresponding to the target group;

[0113] The adjustment module 630 is used to adjust the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group.

[0114] Optionally, the medical image window width and window level adjustment device 600 further includes a statistical analysis module for:

[0115] Acquire information of a plurality of medical images, wherein the information of the medical images includes at least one of the following: device type, scanning site, patient number, device manufacturer, and current window width and window position;

[0116] Based on the information corresponding to each of the medical images, each of the medical images is grouped to obtain a group number corresponding to each of the medical images and a sequence number within the group number;

[0117] Acquire window width and window position operation information corresponding to each of the medical images, and record the window width and window position operation information into a data sequence represented by a sequence number corresponding to each of the medical images;

[0118] When the number of data sequences recorded corresponding to at least one group number reaches a first threshold, statistical analysis is performed on the data sequences recorded corresponding to each group number in the at least one group number to obtain window width and window level adjustment information corresponding to each group represented by the at least one group number.

[0119] Optionally, the window width and window position operation information corresponding to each of the medical images includes at least one step of window width and window position operation information;

[0120] The step of obtaining the window width and window position operation information corresponding to each of the medical images, and recording the window width and window position operation information into a data sequence represented by a sequence number corresponding to each of the medical images, comprises:

[0121] receiving a first input, wherein the first input is an operation of adjusting a window width or a window level of the medical image at least once;

[0122] In the case of receiving a second input, determining window width and window position operation information corresponding to a one-step operation based on the first input and the second input, wherein the second input is an operation other than adjusting the window width or the window position, and the one-step operation includes adjusting the window width or the window position of the medical image at least once;

[0123] The window width and window position operation information corresponding to at least one operation is recorded step by step in a data sequence represented by a serial number corresponding to each of the medical images, wherein the window width and window position operation information corresponding to one operation includes the number of window width adjustments, the step length of the window width, the number of window position adjustments and the step length of the window position.

[0124] Optionally, the window width and window level adjustment information includes a window width adjustment recommended step length sequence and a window level adjustment recommended step length sequence;

[0125] The step of performing statistical analysis on the data sequences recorded corresponding to each group number in the at least one group number to obtain the window width and window level adjustment information corresponding to each group represented by the at least one group number includes:

[0126] For any data sequence of records corresponding to a group of numbers, based on the window width and window level operation information corresponding to each step of operation, determine the window width adjustment cumulative value and the window level adjustment cumulative value corresponding to each step of operation;

[0127] Based on the accumulated value of window width adjustment and the accumulated value of window level adjustment corresponding to each step of operation, determining the recommended step length of window width adjustment and the recommended step length of window level adjustment corresponding to each step of operation;

[0128] Based on the recommended window width adjustment step length and the recommended window level adjustment step length corresponding to each step of the operation, determining a recommended window width adjustment step length sequence and a recommended window level adjustment step length sequence corresponding to each group represented by the at least one group number;

[0129] The window width adjustment recommended step length sequence corresponding to one group includes the window width adjustment recommended step length corresponding to each operation step, and the window level adjustment recommended step length sequence corresponding to one group includes the window level adjustment recommended step length corresponding to each operation step.

[0130] Optionally, the determining window width and window level adjustment information corresponding to the target group includes:

[0131] The recommended window width adjustment step sequence and the recommended window level adjustment step sequence corresponding to the target group are determined from the recommended window width adjustment step sequences and the recommended window level adjustment step sequences corresponding to the respective groups represented by the at least one group number.

[0132] Optionally, adjusting the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group includes:

[0133] For a target step operation, determining a target window width adjustment step of a target medical image corresponding to the target step operation from a window width adjustment recommended step sequence corresponding to the target group, and determining a target window level adjustment step of a target medical image corresponding to the target step operation from a window level adjustment recommended step sequence corresponding to the target group;

[0134] Generate prompt information based on the target window width adjustment step length and the target window level adjustment step length, and display the prompt information through a prompt interface;

[0135] When receiving the third input, setting the window width adjustment step length of the target medical image to the target window width adjustment step length, and setting the window level adjustment step length of the target medical image to the target window level adjustment step length;

[0136] When the fourth input is received, the window width or window level of the target medical image is adjusted according to the target window width adjustment step or the target window level adjustment step, and the fourth input is an operation for determining to adjust the window width or window level of the target medical image.

[0137] The medical image window width and window position adjustment device provided by the present invention can achieve Figure 1-Figure 5 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0138] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the window width and window level adjustment method of the medical image, and the method includes:

[0139] Acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0140] Determine the window width and window position adjustment information corresponding to the target group;

[0141] Based on the window width and window level adjustment information corresponding to the target group, the window width and window level of the target medical image are adjusted.

[0142] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0143] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the medical image window width and window level adjustment method provided by the above methods, the method includes:

[0144] Acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0145] Determine the window width and window position adjustment information corresponding to the target group;

[0146] Based on the window width and window level adjustment information corresponding to the target group, the window width and window level of the target medical image are adjusted.

[0147] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for adjusting the window width and window level of a medical image provided by the above methods is implemented, and the method comprises:

[0148] Acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information;

[0149] Determine the window width and window position adjustment information corresponding to the target group;

[0150] Based on the window width and window level adjustment information corresponding to the target group, the window width and window level of the target medical image are adjusted.

[0151] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0152] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for adjusting window width and window position of medical images, characterized in that: include: Acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information; Determine the window width and window position adjustment information corresponding to the target group; the window width and window position adjustment information corresponding to the target group is obtained by analyzing the operation data of multiple medical images in the target group, and the operation information of the operator on the medical images in the target group is determined by analyzing the operation data of multiple medical images in the target group, and the operation information includes at least one of the following: the accumulated average value of window width adjustment, the accumulated maximum value of window width adjustment, the accumulated minimum value of window width adjustment, the accumulated average value of window position adjustment, the accumulated maximum value of window position adjustment and the accumulated minimum value of window position adjustment; Adjusting the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group; Before determining the window width and window level adjustment information corresponding to the target group, the method further includes: Acquire information of a plurality of medical images, wherein the information of the medical images includes at least one of the following: device type, scanning site, patient number, device manufacturer, and current window width and window position; Based on the information corresponding to each of the medical images, each of the medical images is grouped to obtain a group number corresponding to each of the medical images and a serial number within the group number; medical images with the same device type and the same scanning part information are grouped into the same group; Obtaining window width and window position operation information corresponding to each of the medical images, and recording the window width and window position operation information into a data sequence represented by a sequence number corresponding to each of the medical images; the window width and window position operation information corresponding to each medical image includes multiple operation information, and the multiple operation information is recorded in the form of a data sequence to obtain a data sequence represented by a sequence number corresponding to each medical image; When the number of data sequences recorded corresponding to at least one group number reaches a first threshold, statistical analysis is performed on the data sequences recorded corresponding to each group number in the at least one group number to obtain window width and window level adjustment information corresponding to each group represented by the at least one group number; the window width and window level operation information corresponding to each medical image includes at least one step of window width and window level operation information; The step of obtaining the window width and window position operation information corresponding to each of the medical images, and recording the window width and window position operation information into a data sequence represented by a sequence number corresponding to each of the medical images, comprises: receiving a first input, wherein the first input is an operation of adjusting a window width or a window level of the medical image at least once; In the case of receiving a second input, determining window width and window position operation information corresponding to a one-step operation based on the first input and the second input, wherein the second input is an operation other than adjusting the window width or the window position, and the one-step operation includes adjusting the window width or the window position of the medical image at least once; Recording the window width and window position operation information corresponding to at least one operation step by step into the data sequence represented by the sequence number corresponding to each of the medical images, wherein the window width and window position operation information corresponding to the one operation step includes the number of window width adjustment, the step length of the window width, the number of window position adjustment and the step length of the window position; The window width and window level adjustment information includes a window width adjustment recommended step length sequence and a window level adjustment recommended step length sequence; The step of performing statistical analysis on the data sequences recorded corresponding to each group number in the at least one group number to obtain the window width and window level adjustment information corresponding to each group represented by the at least one group number includes: For any data sequence of records corresponding to a group of numbers, based on the window width and window level operation information corresponding to each step of operation, determine the window width adjustment cumulative value and the window level adjustment cumulative value corresponding to each step of operation; Based on the accumulated value of window width adjustment and the accumulated value of window level adjustment corresponding to each step of operation, determining the recommended step length of window width adjustment and the recommended step length of window level adjustment corresponding to each step of operation; Based on the recommended window width adjustment step length and the recommended window level adjustment step length corresponding to each step of the operation, determining a recommended window width adjustment step length sequence and a recommended window level adjustment step length sequence corresponding to each group represented by the at least one group number; The window width adjustment recommended step length sequence corresponding to one group includes the window width adjustment recommended step length corresponding to each operation step, and the window level adjustment recommended step length sequence corresponding to one group includes the window level adjustment recommended step length corresponding to each operation step.

2. The method for adjusting window width and window position of medical images according to claim 1, characterized in that: The determining of the window width and window level adjustment information corresponding to the target group includes: The recommended window width adjustment step sequence and the recommended window level adjustment step sequence corresponding to the target group are determined from the recommended window width adjustment step sequences and the recommended window level adjustment step sequences corresponding to the respective groups represented by the at least one group number.

3. The method for adjusting window width and window position of medical images according to claim 2, characterized in that: The adjusting the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group includes: For a target step operation, determining a target window width adjustment step of a target medical image corresponding to the target step operation from a window width adjustment recommended step sequence corresponding to the target group, and determining a target window level adjustment step of a target medical image corresponding to the target step operation from a window level adjustment recommended step sequence corresponding to the target group; Generate prompt information based on the target window width adjustment step length and the target window level adjustment step length, and display the prompt information through a prompt interface; When receiving the third input, setting the window width adjustment step length of the target medical image to the target window width adjustment step length, and setting the window level adjustment step length of the target medical image to the target window level adjustment step length; When the fourth input is received, the window width or window level of the target medical image is adjusted according to the target window width adjustment step or the target window level adjustment step, and the fourth input is an operation for determining to adjust the window width or window level of the target medical image.

4. A device for adjusting window width and window position of medical images, characterized in that: include: An acquisition module, used to acquire the device type and scanning part information of the target medical image, and determine the target group corresponding to the target medical image based on the device type and scanning part information; An information determination module is used to determine the window width and window position adjustment information corresponding to the target group; the window width and window position adjustment information corresponding to the target group is obtained by analyzing the operation data of multiple medical images in the target group, and the operation information of the operator on the medical images in the target group is determined by analyzing the operation data of multiple medical images in the target group, and the operation information includes at least one of the following: an average value of the accumulated window width adjustment, a maximum value of the accumulated window width adjustment, a minimum value of the accumulated window width adjustment, an average value of the accumulated window position adjustment, a maximum value of the accumulated window position adjustment, and a minimum value of the accumulated window position adjustment; An adjustment module, configured to adjust the window width and window level of the target medical image based on the window width and window level adjustment information corresponding to the target group; A statistical analysis module is used to obtain information of multiple medical images, wherein the information of the medical images includes at least one of the following: device type, scanning site, patient number, device manufacturer and current window width and window position; based on the information corresponding to each of the medical images, each of the medical images is grouped to obtain a group number corresponding to each of the medical images and a sequence number within the group number; medical images with the same device type and the same scanning site information are divided into the same group; window width and window position operation information corresponding to each of the medical images is obtained, and the window width and window position operation information is recorded in a data sequence represented by a sequence number corresponding to each of the medical images; the window width and window position operation information corresponding to each medical image includes multiple operation information, and the multiple operation information is recorded in the form of a data sequence to obtain a data sequence represented by a sequence number corresponding to each medical image; when the number of data sequences recorded corresponding to at least one group number reaches a first threshold, statistical analysis is performed on the data sequences recorded corresponding to each of the at least one group number to obtain window width and window position adjustment information corresponding to each group represented by the at least one group number; The window width and window position operation information corresponding to each of the medical images includes at least one step of window width and window position operation information; The step of obtaining the window width and window position operation information corresponding to each of the medical images, and recording the window width and window position operation information into a data sequence represented by a sequence number corresponding to each of the medical images, comprises: receiving a first input, wherein the first input is an operation of adjusting a window width or a window level of the medical image at least once; In the case of receiving a second input, determining window width and window position operation information corresponding to a one-step operation based on the first input and the second input, wherein the second input is an operation other than adjusting the window width or the window position, and the one-step operation includes adjusting the window width or the window position of the medical image at least once; Recording the window width and window position operation information corresponding to at least one operation step by step into the data sequence represented by the sequence number corresponding to each of the medical images, wherein the window width and window position operation information corresponding to the one operation step includes the number of window width adjustment, the step length of the window width, the number of window position adjustment and the step length of the window position; The window width and window level adjustment information includes a window width adjustment recommended step length sequence and a window level adjustment recommended step length sequence; The step of performing statistical analysis on the data sequences recorded corresponding to each group number in the at least one group number to obtain the window width and window level adjustment information corresponding to each group represented by the at least one group number includes: For any data sequence of records corresponding to a group of numbers, based on the window width and window level operation information corresponding to each step of operation, determine the window width adjustment cumulative value and the window level adjustment cumulative value corresponding to each step of operation; Based on the accumulated value of window width adjustment and the accumulated value of window level adjustment corresponding to each step of operation, determining the recommended step length of window width adjustment and the recommended step length of window level adjustment corresponding to each step of operation; Based on the recommended window width adjustment step length and the recommended window level adjustment step length corresponding to each step of the operation, determining a recommended window width adjustment step length sequence and a recommended window level adjustment step length sequence corresponding to each group represented by the at least one group number; The window width adjustment recommended step length sequence corresponding to one group includes the window width adjustment recommended step length corresponding to each operation step, and the window level adjustment recommended step length sequence corresponding to one group includes the window level adjustment recommended step length corresponding to each operation step.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for adjusting the window width and window level of a medical image as claimed in any one of claims 1 to 3 are implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for adjusting the window width and window level of a medical image as claimed in any one of claims 1 to 3 are implemented.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for adjusting the window width and window level of a medical image as claimed in any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Automatic window width and window level extraction method based on neural network

    CN103310227A

  • Image processing method and device

    CN110197206A