Data processing method, device, computer and storage medium
By analyzing the video stream data during the CT inspection, we can determine whether the user's protection complies with the specifications, and solve the problem of inaccurate protection monitoring in the existing technology, and improve the radiation protection effect in CT inspection.
Patent Information
- Application Number
- CN202111295047.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-11-03
AI Technical Summary
In the prior art, the monitoring of protective measures during CT inspection has the problem of high labor costs and inaccurate labor, resulting in the risk of insufficient radiation protection or missed inspection and missed inspection.
By obtaining video stream data during the CT inspection, analyzing the intersection image area of the user's image and the protective object image, combining the preset proportional threshold and duration threshold, we can judge whether the user's protection complies with the protection specifications, and send warning information to the supervisor. .
Accurate monitoring of user protection during CT inspection is achieved, errors in manual monitoring are reduced, the effectiveness of radiation protection is improved, and the risk of radiation exposure is reduced.
Smart Images

Figure CN114022677B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image recognition technology, and in particular to a data processing method, device, computer and storage medium. Background Art
[0002] Computed Tomography (CT) uses X-ray beams to scan a certain thickness of a certain part of the human body. According to the different absorption and transmittance of X-rays by different tissues of the human body, a cross-sectional or three-dimensional image of the examined part of the human body can be presented. However, X-rays have a certain dose of radiation to the human body, and effective protective measures need to be taken for the examinee during the examination. Therefore, how to determine whether the examinee has taken effective protective measures has become a technical problem that needs to be solved urgently.
[0003] In the prior art, when examining a subject, the supervisor often uses the video surveillance screen to visually identify and supervise the subject's protection status in the video according to the CT examination specifications.
[0004] However, in actual applications, this supervision method has too high labor costs and requires supervisors to observe the video in real time, which can easily cause visual fatigue and lead to inaccurate judgments. Summary of the invention
[0005] The present application provides a data processing method, device, computer and storage medium, which are used to solve the problem of high labor cost and inaccuracy in monitoring of protective measures in the prior art.
[0006] In a first aspect, the present application provides a data processing method, comprising:
[0007] Acquire first video stream data, where the first video stream data is video stream data after the start of a computerized tomography (CT) examination, including: a user image and at least one protective object image;
[0008] determining whether the user's protection complies with a protection specification according to the at least one shield image and an intersection image area of the user image and the at least one shield image;
[0009] If the protection of the user does not meet the protection specifications, a warning message is sent to the supervisor.
[0010] In a possible design of the first aspect, determining whether the protection of the user meets the protection specification according to the at least one shield image and an intersection image area of the user image and the at least one shield image includes:
[0011] For each shield image, determining an intersection image area of the user image and the shield image according to an area of the user image and an area of the shield image;
[0012] Determining a proportion of the intersection image area to the area of the shield image according to the intersection image area and the area of the shield image;
[0013] Whether the protection of the user complies with the protection specification is determined based on the proportion, the preset proportion threshold and the preset duration threshold.
[0014] In this possible design, the proportion threshold includes: a first proportion threshold and a second proportion threshold, and the duration threshold includes a first duration threshold and a second duration threshold;
[0015] Correspondingly, determining whether the protection of the user meets the protection specification according to the proportion, the preset proportion threshold and the preset duration threshold includes:
[0016] If the proportion corresponding to the at least one protective object image is greater than the first proportion threshold, and the first duration corresponding to the at least one protective object image is greater than the first duration threshold, it is determined that the protection of the user meets the protection specification, and the first duration is the duration during which the proportion is greater than the first proportion threshold;
[0017] If the proportion corresponding to each protective object image is less than the second proportion threshold, and the second duration corresponding to each protective object image is greater than the second duration threshold, it is determined that the user's protection does not meet the protection specifications, and the second duration is the continuous duration that the proportion is less than the second proportion threshold.
[0018] In another possible design of the first aspect, before obtaining the first video stream data, the method further includes:
[0019] Acquire second video stream data, where the second video stream data is video stream data before the CT examination is started, including: an image of the subject, an image of the CT bed, and an image of the CT room door;
[0020] Whether the CT examination should be started is determined according to the second video stream data and a preset first constraint condition, wherein the first constraint condition is that the CT machine has the condition of turning on the radiation and examining the person being examined.
[0021] Optionally, the first constraint condition includes:
[0022] The body and head of the subject lie flat on the CT bed;
[0023] The bed position of the CT bed is retracted into the CT machine;
[0024] The CT room door is in a closed state.
[0025] In another possible design of the first aspect, the first video stream data further includes: an image of the person being tested, an image of the CT bed, and an image of the CT room door;
[0026] Accordingly, after sending a warning message to a supervisor if the user's protection does not meet the protection specification, the method further includes:
[0027] It is determined whether the CT examination is finished according to the first video stream data and a preset second constraint condition, wherein the second constraint condition is that the CT machine has turned off the radiation and stopped examining the person being examined.
[0028] Optionally, the second constraint condition includes at least one of the following:
[0029] The body or head of the subject does not lie flat on the CT bed;
[0030] The bed position of the CT bed is not retracted into the CT machine;
[0031] The CT room door is in an open state.
[0032] In a second aspect, the present application provides a data processing device, including: an acquisition module, a processing module and a sending module;
[0033] The acquisition module is used to acquire first video stream data, where the first video stream data is video stream data after the start of the CT examination, including: a user image and at least one protective object image;
[0034] The processing module is used to determine whether the protection of the user meets the protection specification according to the at least one shield image and the intersection image area of the user image and the at least one shield image;
[0035] The sending module is used to send a warning message to the supervisor if the protection of the user does not meet the protection specifications.
[0036] In a possible design of the second aspect, the processing module is specifically configured to:
[0037] For each shield image, determining an intersection image area of the user image and the shield image according to an area of the user image and an area of the shield image;
[0038] Determining a proportion of the intersection image area to the area of the shield image according to the intersection image area and the area of the shield image;
[0039] Whether the protection of the user complies with the protection specification is determined based on the proportion, the preset proportion threshold and the preset duration threshold.
[0040] In this possible design, the proportion threshold includes: a first proportion threshold and a second proportion threshold, and the duration threshold includes a first duration threshold and a second duration threshold;
[0041] Correspondingly, the processing module determines whether the protection of the user meets the protection specification according to the proportion, the preset proportion threshold and the preset duration threshold, specifically for:
[0042] If the proportion corresponding to the at least one protective object image is greater than the first proportion threshold, and the first duration corresponding to the at least one protective object image is greater than the first duration threshold, it is determined that the protection of the user meets the protection specification, and the first duration is the duration during which the proportion is greater than the first proportion threshold;
[0043] If the proportion corresponding to each protective object image is less than the second proportion threshold, and the second duration corresponding to each protective object image is greater than the second duration threshold, it is determined that the user's protection does not meet the protection specifications, and the second duration is the continuous duration that the proportion is less than the second proportion threshold.
[0044] In another possible design of the second aspect, the acquisition module is further used to acquire second video stream data, where the second video stream data is video stream data before the CT examination starts, including: an image of the person being examined, an image of the CT bed, and an image of the CT room door;
[0045] The processing module is further used to determine whether the CT examination should be started according to the second video stream data and a preset first constraint condition, wherein the first constraint condition is that the CT machine has the conditions for turning on the radiation and examining the person being examined.
[0046] Optionally, the first constraint condition includes:
[0047] The body and head of the subject lie flat on the CT bed;
[0048] The bed position of the CT bed is retracted into the CT machine;
[0049] The CT room door is in a closed state.
[0050] In another possible design of the second aspect, the first video stream data also includes: an image of the person being tested, an image of the CT bed, and an image of the CT room door. The processing module is also used to determine whether the CT examination is completed based on the first video stream data and a preset second constraint condition, and the second constraint condition is that the CT machine has turned off the radiation and stopped examining the person being tested.
[0051] Optionally, the second constraint condition includes at least one of the following:
[0052] The body or head of the subject does not lie flat on the CT bed;
[0053] The bed position of the CT bed is not retracted into the CT machine;
[0054] The CT room door is in an open state.
[0055] In a third aspect, the present application provides a computer, including: a processor and a memory;
[0056] The memory stores computer-executable instructions;
[0057] The processor executes the computer execution instruction so that the computer executes the data processing method as described in the first aspect and various possible designs above.
[0058] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement the data processing method described in the first aspect and various possible designs.
[0059] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the data processing method as described in the first aspect and various possible designs above.
[0060] The data processing method, device, computer and storage medium provided by the present application, in which the first video stream data is obtained and the user's protection is determined to meet the protection specification based on at least one protection object image and the intersection image area of the user image and at least one protection object image, and then a warning message is sent to the supervisor when the user's protection does not meet the protection specification. In this technical solution, starting from the protection object image and the user image, it is possible to judge whether the user's protection is compliant, avoiding the problem of inaccurate judgment in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0062] Figure 1 A schematic diagram of an application scenario of the data processing method provided in an embodiment of the present application;
[0063] Figure 2 A flowchart of a first embodiment of a data processing method provided in an embodiment of the present application;
[0064] Figure 3 A flowchart of a second embodiment of the data processing method provided in the present application;
[0065] Figure 4 A flowchart of a third embodiment of the data processing method provided in the present application;
[0066] Figure 5 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0067] Figure 6 A schematic diagram of the structure of a computer provided in an embodiment of the present application.
[0068] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0070] Before introducing the embodiments of the present application, the background technology of the present application is first explained:
[0071] Computed Tomography (CT) is a medical imaging technique that uses X-ray beams to scan a certain thickness of a part of the human body. Based on the different absorption and transmittance of X-rays by different tissues in the human body, the computer processes the data to present a cross-sectional or three-dimensional image of the examined part of the human body. X-rays have a certain dose of radiation to the human body. During the examination, effective protective measures need to be taken for the examinee and the accompanying personnel to minimize the radiation dose of the examinee.
[0072] CT non-examination area surface shielding protection is to set up a suitable protective barrier on the non-examination area of the subject's body surface. It is a simple and effective way to reduce the subject's radiation dose. When doing CT examination, the non-examination area should be protected. Each X-ray equipment should be equipped with protective equipment according to the work content. The CT scanning room should at least be equipped with basic types of subject protective equipment and auxiliary protective facilities such as lead rubber gonad protection aprons (square) or square towels, lead rubber neck covers, lead rubber hats, etc. The number should meet the needs of carrying out the work; the lead equivalent of protective equipment and auxiliary protective facilities should not be less than 0.25mmPb (not less than 0.5mmPb for children).
[0073] At present, there is an irrational configuration of CT protective equipment and a generally low utilization rate of protective equipment. In order to standardize medical radiation protection operations, optimize radiation protection, and ensure the greatest benefit to patients, medical and health supervision agencies carry out medical radiation protection monitoring. The existing protection monitoring work is carried out by manually checking and supervising the surveillance video in the CT examination room.
[0074] However, in actual application, the above manual monitoring method is time-consuming and labor-intensive, and may result in missed detection or false detection due to human factors.
[0075] Based on the above problems existing in the prior art, Figure 1 The following is a schematic diagram of an application scenario of the data processing method provided in the embodiment of the present application, which is used to solve the above technical problems. Figure 1 As shown, the schematic diagram of the application scenario includes: a camera 11, a computer 12, and a CT room 13.
[0076] Optionally, the camera 11 can be installed in the CT room 13, aimed at the CT machine, the door of the CT room 13, and the locations where accompanying personnel, medical staff, and the person being tested may be. The computer 12 is connected to the camera 11 wirelessly or wiredly to obtain the data obtained by the camera 11.
[0077] In a possible implementation, the camera 11 captures the scene in the CT room 13 in real time, and uploads the data corresponding to the scene to the computer 12. The computer 12 determines the relationship between the protective objects on the users (the person being tested, possible accompanying personnel, and medical staff) in the CT room 13 and the user's body based on the acquired data in real time, thereby determining whether the users in the CT room 13 have violated any rules. If so, the violation information is pushed to the supervisor to stop the operation of the CT machine.
[0078] It should be understood that the parts not described above are described in detail in the following embodiments.
[0079] In response to the above technical problems, the inventors' technical conception process is as follows: the existing technology uses naked eyes to detect the use of protective equipment manually, and its accuracy is low. The inventors found that protective equipment can only be called protective equipment when it is worn on the user. If the relationship between the protective equipment and the user can be detected, such as the protective equipment covering a certain area on the user's body, and the covering time should have a certain relationship with the duration of the CT examination, it can be called protective compliance. Based on this, a more accurate judgment of protective compliance can be achieved.
[0080] Below Figure 1 The application scenario schematic diagram shown in the figure describes the technical solution of the present application in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0081] Figure 2 The following is a flow chart of the first embodiment of the data processing method provided in the present application. Figure 2 As shown, the data processing method includes the following steps:
[0082] Step 21: Obtain first video stream data.
[0083] The first video stream data is the video stream data after the start of the computerized tomography (CT) examination, including: a user image and at least one protective object image.
[0084] In this solution, when a CT examination is required on a subject (patient) in the CT room, the body parts of the subject that are not exposed to radiation need to be protected to avoid unnecessary injuries. At the same time, in addition to the subject, there may also be caregivers or medical personnel in the CT room, and these personnel also need protection.
[0085] The commonly used protection method is to add protective items to the user (which may be the person being tested, a caregiver, or a medical staff, etc.), such as protective clothing.
[0086] In this step, a camera is installed above the CT room to monitor the CT room in real time. Specifically, when someone enters the CT room, monitoring can be turned on. At this time, the camera obtains user portraits and protective equipment images in real time and continuously.
[0087] Optionally, the user may be a person being tested, a caregiver, or a medical staff member, and the computer continuously acquires data captured by the camera in real time, processes the data, and obtains a user image and at least one protective object image in the video stream.
[0088] It should be understood that the process of this step is that after the CT examination begins, the computer obtains the video stream data captured by the camera.
[0089] Before this step, it is also necessary to obtain the second video stream data and determine whether the CT examination should be started based on the second video stream data and the preset first constraint condition.
[0090] Among them, the second video stream data is the video stream data before the start of the CT examination, including: the image of the person being examined, the image of the CT bed and the image of the CT room door; the first constraint condition is that the CT machine has the conditions to turn on the radiation and examine the person being examined, which can be: the body and head of the person being examined lie flat on the CT bed, the CT bed is retracted into the CT machine, and the CT room door is in a closed state.
[0091] Optionally, before the CT examination begins, the following preparations need to be made. For example, when the CT machine is working, it is necessary to ensure that the body and head of the person being examined lie flat on the CT bed, and the CT bed is retracted into the CT machine. In order to avoid possible radiation contamination to the outdoors or the outdoors affecting the indoor examination, the CT room door must be kept closed.
[0092] In a specific implementation, images of the subject's body and head lying flat on the CT bed, images of the CT bed retracted into the CT machine, and images of the CT room door being closed can be stored in a local database of the computer. These images are then compared with the images taken by the camera to determine whether there is a difference or whether the difference exceeds a certain threshold. This can determine whether all the first constraint conditions are met. Only when these conditions are met will the CT machine start operations such as X-ray examination.
[0093] Step 22: Determine whether the user's protection complies with the protection specification based on at least one shield image and the intersection image area of the user image and at least one shield image.
[0094] In this step, the protective device is worn on the user, and the degree of wearing can be a criterion for judging whether the protection specifications are compliant, that is, the proportion of the part of the body blocked by the protective device (the intersection image area of the user image and at least one protective device image) to the area of at least one protective device image is used as the standard for whether the user's protection complies with the protection specifications.
[0095] It should be understood that different users have different criteria for judging the norms, specifically:
[0096] For example, for the person being tested, since part of the body needs to be penetrated by the radiation for detection, protective materials cannot be used to cover it, and the part of the body blocked by the protective materials is obviously smaller; for the accompanying personnel, since the body cannot be penetrated by the radiation, the whole body should be covered by protective materials, that is, the part of the body blocked by the protective materials is obviously larger; for medical personnel, the situation should be similar to that of the accompanying personnel, and the part of the body blocked by the protective materials is obviously larger.
[0097] At this time, the amount of the part blocked by the protective object (the preset proportion threshold below) can be used as a criterion for judging whether the protection meets the protection specification. For details, see Figure 3 The embodiment shown.
[0098] Step 23: If the user's protection does not meet the protection specifications, a warning message is sent to the supervisor.
[0099] In this step, if the user's protection does not meet the protection standards, the non-compliant event can be used as information and sent to the terminal device of the medical staff who are examining the person being examined by wireless or wired means to remind the medical staff that the protection is not compliant and that the protective clothing should be put on again to avoid radiation harm to the user.
[0100] In one possible implementation, when the computer determines that the user's protection does not meet the protection specifications, it sends the generated warning information to the CT room, which can be played on the audio equipment in the CT room, played through the video equipment in the CT room, or displayed and reminded on the terminal of the medical staff.
[0101] After this step, it is necessary to determine whether the CT examination is finished based on the first video stream data and a preset second constraint condition, where the second constraint condition is that the CT machine has turned off the radiation and stopped examining the person being examined.
[0102] Among them, the first video stream data also includes: an image of the person being tested, an image of the CT bed, and an image of the CT room door. The second constraint condition includes at least one of the following: the body or head of the person being tested is not lying flat on the CT bed, the CT bed is not retracted into the CT machine, and the CT room door is in an open state.
[0103] Optionally, the purpose of determining whether the CT examination is completed is to avoid wasting resources. When the computer determines that the CT examination is completed, it stops processing the video stream data captured by the camera.
[0104] Optionally, the process of determining whether the CT examination is completed may be implemented as follows: the body or head of the person being examined is not lying flat on the CT bed, the CT bed is not retracted into the CT machine, the CT room door is open, and there were no medical staff in the CT room, but medical staff appear at this time.
[0105] In addition, you can also obtain instructions from medical staff to confirm the completion of the test.
[0106] In a specific implementation, images of the subject's body and head not lying flat on the CT bed, images of the CT bed not retracted into the CT machine, and images of the CT room door being open can be stored in a local database of the computer. At this time, they are compared with the images taken by the camera to determine whether there is a difference or whether the difference exceeds a certain threshold. Then, it can be determined whether at least one of the second constraint conditions is met. Only when the conditions are met, the CT machine will start operations such as X-ray examination.
[0107] The data processing method provided in the embodiment of the present application obtains the first video stream data and determines whether the user's protection complies with the protection specification based on at least one protective object image and the intersection image area of the user image and at least one protective object image. Then, when the user's protection does not comply with the protection specification, a warning message is sent to the supervisor. In this technical solution, starting from the protective object image and the user image, it is possible to judge whether the user's protection complies with the protection specification, thereby avoiding the problem of inaccurate judgment of protection compliance in the prior art.
[0108] Based on the above embodiments, Figure 3 The following is a flow chart of the second embodiment of the data processing method provided in the present application. Figure 3 As shown, the above step 22 can be implemented in the following way:
[0109] Step 31: For each shield image, determine the intersection image area of the user image and the shield image according to the area of the user image and the area of the shield image.
[0110] In this step, since the user portrait indicates at least the portrait of the person being examined in the CT room, and may also include the portraits of the accompanying personnel and the medical personnel, the manner of calculating the intersection image area of the user image and the shield image based on the area of the user portrait and the area of the shield image may include the following three methods:
[0111] The first method is to calculate the intersection of each shield image and the portrait of the detected person for each shield image if the user image is a portrait of the detected person.
[0112] The second method is to calculate the intersection of each protective object image and the portrait of the accompanying person for each protective object image if the user image is a portrait of the accompanying person;
[0113] The third type is that for each shield image, if the user image is a portrait of a medical staff, the intersection of each shield image and the portrait of the medical staff is calculated.
[0114] In a possible implementation, the above calculation of the intersection image area of the user image and the protective object image can be specifically implemented by: adding a green annotation box to each protective object image and a red annotation box to the user image, and then calculating the area of the overlapping part of each green annotation box and the red annotation box, which is the intersection image area.
[0115] In another possible implementation, the above-mentioned calculation of the intersection image area of the user image and the protective object image can also be specifically implemented by: adding a yellow edge line to the edge of each protective object image, adding a black edge line to the edge of the user image, and then calculating the overlapping part of the image area formed by each yellow edge line and the image area formed by the black edge line, which is the intersection image area.
[0116] Optionally, the area of the intersection image is calculated as: A∩B n , A is the area of the user image, B n is the area of the nth shield image B, where n is 1, 2, 3, 4...n.
[0117] Specifically, there may be three protective objects on different user images (the person being tested, the accompanying person, and the medical staff, respectively), and the overlapping areas of the green marking box and the red marking box are 0.40 m2, 0.6 m2, and 0.90 m2, respectively.
[0118] Step 32: Determine the proportion of the intersection image area to the area of the shield image according to the intersection image area and the area of the shield image.
[0119] In this step, for each shield image, the ratio of the area of the respective intersection image to the area of the corresponding shield image is determined, and the ratio is (A∩B n ) / B n .
[0120] Optionally, since the user image can be an image of the person being tested (required), the accompanying person and the medical staff (optional), the intersection image area corresponding to a protective object image can be the intersection image area of the person being tested and the protective object image, the intersection image area of the accompanying person and the protective object image, or the intersection image area of the medical staff and the protective object image.
[0121] Furthermore, according to different user portraits, the determined proportions also represent the proportions of the intersection image areas corresponding to different users in the area of the protective object image.
[0122] Specifically, following the example in the above step 31, for the overlapping part of the protective object and the user image, when the user image is of the person being detected, the intersection image area is 0.40 m2; when the user image is of a caregiver, the intersection image area is 0.60 m2; when the user image is of a medical staff, the intersection image area is 0.90 m2.
[0123] At this time, the area of the protective image corresponding to 0.40㎡ is 0.8㎡, which accounts for 50%; the area of the protective image corresponding to 0.60㎡ is 1.0㎡, which accounts for 60%; the area of the protective image corresponding to 0.90㎡ is 1.2㎡, which accounts for 75%.
[0124] It should be understood that the specific examples of the above data are only for illustrating the area relationship between images and do not represent the area and proportion values in actual application.
[0125] Step 33: Determine whether the user's protection complies with the protection specification based on the proportion, the preset proportion threshold and the preset duration threshold.
[0126] The proportion threshold includes: a first proportion threshold and a second proportion threshold, and the duration threshold includes a first duration threshold and a second duration threshold.
[0127] In this step, for a protective device, after the user puts it on, the protection specification means that the proportion of the part of the body covered by the protective device to the total area of the protective device is greater than a certain threshold, and the duration is at least greater than the duration of the CT machine emitting radiation (CT examination).
[0128] Exemplarily, the implementation of this step can be divided into two possibilities:
[0129] The first type is that if the proportion corresponding to at least one protective object image is greater than a first proportion threshold, and the first duration corresponding to at least one protective object image is greater than the first duration threshold, it is determined that the user's protection meets the protection specifications, and the first duration is the continuous duration that the proportion is greater than the first proportion threshold.
[0130] Optionally, since the images of protective objects captured by the camera include those on the user (with intersection images) and those placed elsewhere in the CT room, at this time, for all protective objects, those with a proportion greater than 0 are regarded as valid user protective objects, and a proportion greater than a first proportion threshold is determined, and the duration corresponding to the proportion is greater than the duration of the first proportion threshold, the user's protection is regarded as meeting the protection specifications.
[0131] Take three protective objects X / Y / Z as an example:
[0132] Example 1: When the user is the person being tested, the proportion of each protective object is 50%, 52% and 6% respectively, and the duration is 5 minutes, 3 minutes and 1 minute respectively. At this time, the first proportion threshold for the person being tested is set to 48%, and the first duration is 4 minutes. It can be obtained that the proportion of protective object X (50%) and protective object Y (52%) is greater than the first proportion threshold of 48%, and only the duration of protective object X (5 minutes) is greater than the first duration of 4 minutes. Therefore, protective object X meets the relationship between the proportion threshold and the duration threshold, and the user's protection is deemed to meet the protection specification.
[0133] Example 2: When the user is a caregiver, the proportion of each protective object is 60%, 33% and 80% respectively, and the duration is 5 minutes, 3 minutes and 1 minute respectively. At this time, the first proportion threshold for the detected person is set to 58%, and the first duration is 4 minutes. It can be obtained that the proportion of protective object X (60%) and protective object Z (80%) is greater than the first proportion threshold of 58%, and only the duration of protective object X (5 minutes) is greater than the first duration of 4 minutes. Therefore, protective object X meets the relationship between the proportion threshold and the duration threshold, and the user's protection is deemed to meet the protection specification.
[0134] Example 3: When the user is a medical staff, the proportion of each protective object is 75%, 68% and 90% respectively, and the duration is 5 minutes, 3 minutes and 7 minutes respectively. At this time, the first proportion threshold for the detected person is set to 80%, and the first duration is 6 minutes. It can be obtained that the proportion of protective object Z (90%) is greater than the first proportion threshold 80%, and only the duration of protective object Z (7 minutes) is greater than the first duration 6 minutes. Therefore, protective object Z meets the relationship between the proportion threshold and the duration threshold, and the user's protection is deemed to meet the protection specification.
[0135] The second type: if the proportion corresponding to each protective object image is less than the second proportion threshold, and the second duration corresponding to each protective object image is greater than the second duration threshold, it is determined that the user's protection does not meet the protection specifications, and the second duration is the continuous duration when the proportion is less than the second proportion threshold.
[0136] Optionally, since the images of protective objects captured by the camera include those on the user (with intersection images) and those placed elsewhere in the CT room, at this time, for all protective objects, those with a proportion less than 0 are deemed invalid user protective objects, and it is determined that the proportions corresponding to all protective objects are less than the second proportion threshold, and the duration corresponding to the proportion is greater than the duration of the second proportion threshold, then the user's protection is deemed to not meet the protection specifications.
[0137] Take the three protective objects M / N / P as an example:
[0138] Example 1: When the user is the person being tested, the proportion of each protective object is 30%, 40% and 15% respectively, and the duration is 4.1min, 5min and 6min respectively. At this time, the second proportion threshold for the person being tested is set to 42%, and the second duration is 4min. It can be obtained that the proportions of protective object M (30%), protective object N (40%) and protective object P (15%) are all less than the second proportion threshold of 42%, and the duration of protective object M (4.1min), protective object N (5min) and protective object P (6min) is greater than the second duration of 4min. Therefore, protective objects M, protective objects N and protective objects P meet the relationship between the proportion threshold and the duration threshold, and it is considered that the user's protection does not meet the protection specification.
[0139] Example 2: When the user is a caregiver, the proportion of each protective object is 60%, 0% and 65% respectively, and the duration is 3 minutes, 4 minutes and 6 minutes respectively. At this time, the second proportion threshold for the detected person is set to 70%, and the second duration is 2 minutes. It can be obtained that the proportion of protective object M (60%), protective object N (0%) and protective object P (65%) are all less than the second proportion threshold of 70%, and the duration of protective object M (3 minutes), protective object N (4 minutes) and protective object P (6 minutes) is greater than the second duration of 2 minutes. Therefore, protective objects M, protective objects N and protective objects P meet the relationship between the proportion threshold and the duration threshold, and it is considered that the user's protection does not meet the protection specification.
[0140] Example 3: When the user is a medical staff, the proportion of each protective object is 85%, 80% and 89% respectively, and the duration is 5 minutes, 4 minutes and 6 minutes respectively. At this time, the second proportion threshold for the detected person is set to 90%, and the second duration is 3 minutes. It can be obtained that the proportions of protective objects M (85%), protective objects N (80%) and protective objects P (89%) are all less than the second proportion threshold of 90%, and the duration of protective objects M (5 minutes), protective objects N (4 minutes) and protective objects P (6 minutes) is greater than the second duration of 3 minutes. Therefore, protective objects M, protective objects N and protective objects P meet the relationship between the proportion threshold and the duration threshold, and it is considered that the user's protection does not meet the protection specification.
[0141] In addition, if other possibilities that do not meet the above two conditions are considered to be unable to judge the current situation, a reminder can be sent to the supervisor to draw his / her attention. The examples are as follows:
[0142] Example 1: The proportion of each shield is 50%, 60% and 89% respectively, and the duration is 5 minutes, 4 minutes and 6 minutes respectively. At this time, the second proportion threshold for the detected person is set to 70%, and the second duration is 5 minutes. It can be obtained that the proportion of shield P (89%) is greater than the second proportion threshold of 70%, and the duration of shield M (duration is 5 minutes) and shield N (duration is 4 minutes) is less than or equal to the second duration of 5 minutes. Therefore, shield M and shield N do not meet the relationship between the proportion threshold and the duration threshold, and it is considered that the user's protection is uncertain whether it meets the protection specification.
[0143] Example 2: The proportion of each protective object is 60%, 33% and 80% respectively, and the duration is 5 minutes, 3 minutes and 1 minute respectively. At this time, the first proportion threshold for the detected person is set to 70%, and the first duration is 6 minutes. It can be obtained that the proportion of protective object Z (accounting for 80%) is greater than the first proportion threshold of 70%, and there is no protective object. The duration is greater than the first duration of 6 minutes. Therefore, protective objects X, protective objects Y and protective objects Z do not meet the size relationship between the proportion threshold and the duration threshold, and it is considered that the user's protection is uncertain whether it meets the protection specification.
[0144] It should be understood that when determining whether the protection specifications are met, the first duration, the second duration, the first proportion threshold and the second proportion threshold can also be combined. For example, if the proportion of protective object I is greater than the first proportion threshold and the second proportion threshold, but less than the first duration and less than the second duration, it is considered that the user's protection is uncertain whether it meets the protection specifications.
[0145] Further, a reminder is sent to the supervisor to draw his / her attention.
[0146] The data processing method provided in the embodiment of the present application first determines the intersection image area of the user image and the shield image according to the area of the user image and the area of the shield image for each shield image, then determines the proportion of the intersection image area in the area of the shield image according to the intersection image area and the area of the shield image, and finally determines whether the user's protection complies with the protection specification according to the proportion, a preset proportion threshold and a preset duration threshold. In this technical solution, starting from the proportion of the intersection image area of the user image and the shield image to the area of the shield image, a more accurate judgment of protection compliance is achieved.
[0147] Based on the above method embodiment, Figure 4 This is a flow chart of the third embodiment of the data processing method provided in the present application. Figure 4 As shown, a brief overview of the embodiment of the present application is given, and the overview includes the following steps:
[0148] Step 1. Start;
[0149] Step 2: Make sure the CT scan has started;
[0150] Step 3: Check whether the protection of the person being tested is in compliance with the regulations (whether it complies with the protection standards). If so, proceed to step 4; if not, proceed to step 7;
[0151] Step 4: Determine whether there is an accompanying person. If yes, proceed to step 5; if not, proceed to step 6;
[0152] Step 5: Check whether the accompanying personnel's protection is in compliance with regulations. If yes, proceed to step 6; if no, proceed to step 7;
[0153] Step 6: Make sure the CT scan is complete;
[0154] Step 7. End.
[0155] The data processing method provided in the embodiment of the present application determines the start of the CT examination and then determines whether the protection of the person being examined is in compliance with regulations. If so, it determines whether there is an accompanying person. If so, it checks whether the protection of the accompanying person is in compliance with regulations. If it is compliant, the CT examination is performed normally. If at least one of the above two examinations is found to be non-compliant, the examination is terminated directly or a warning message is pushed to check the protection specifications in real time, so as to promptly avoid human damage caused by improper protection during the CT examination.
[0156] Based on the above method embodiment, Figure 5 This is a schematic diagram of the structure of the data processing device provided in the embodiment of the present application. Figure 5 As shown, the device includes: an acquisition module 51, a processing module 52 and a sending module 53;
[0157] The acquisition module 51 is used to acquire first video stream data, where the first video stream data is video stream data after the start of the CT examination, including: a user image and at least one protective object image;
[0158] A processing module 52, configured to determine whether the user's protection complies with the protection specification according to at least one shield image and an intersection image area of the user image and at least one shield image;
[0159] The sending module 53 is used to send a warning message to the supervisor if the user's protection does not meet the protection specifications.
[0160] In a possible design of the embodiment of the present application, the processing module 52 is specifically used to:
[0161] For each shield image, determining the intersection image area of the user image and the shield image according to the area of the user image and the area of the shield image;
[0162] Determine, according to the intersection image area and the area of the shield image, the proportion of the intersection image area to the area of the shield image;
[0163] Based on the proportion, the preset proportion threshold and the preset duration threshold, determine whether the user's protection meets the protection specifications.
[0164] In this possible design, the proportion threshold includes: a first proportion threshold and a second proportion threshold, and the duration threshold includes a first duration threshold and a second duration threshold;
[0165] Correspondingly, the processing module 52 determines whether the user's protection meets the protection specification according to the proportion, the preset proportion threshold and the preset duration threshold, and is specifically used to:
[0166] If the proportion corresponding to at least one protective object image is greater than the first proportion threshold, and the first duration corresponding to at least one protective object image is greater than the first duration threshold, it is determined that the user's protection meets the protection specification, and the first duration is the duration during which the proportion is greater than the first proportion threshold;
[0167] If the proportion corresponding to each protective object image is less than the second proportion threshold, and the second duration corresponding to each protective object image is greater than the second duration threshold, it is determined that the user's protection does not meet the protection specifications, and the second duration is the continuous duration when the proportion is less than the second proportion threshold.
[0168] In another possible design of the embodiment of the present application, the acquisition module 51 is further used to acquire second video stream data, where the second video stream data is video stream data before the CT examination starts, including: an image of the person being examined, an image of the CT bed, and an image of the CT room door;
[0169] The processing module 52 is further used to determine whether to start the CT examination according to the second video stream data and a preset first constraint condition, where the first constraint condition is that the CT machine has the conditions to turn on the radiation and examine the person being examined.
[0170] Optionally, the first constraint condition includes:
[0171] The person being examined lies flat on the CT bed with his body and head;
[0172] The bed of the CT bed is retracted into the CT machine;
[0173] The CT room door is closed.
[0174] In another possible design of the embodiment of the present application, the first video stream data also includes: an image of the person being tested, an image of the CT bed, and an image of the CT room door. The processing module 52 is also used to determine whether the CT examination is completed based on the first video stream data and a preset second constraint condition, and the second constraint condition is that the CT machine has turned off the radiation and stopped examining the person being tested.
[0175] Optionally, the second constraint condition includes at least one of the following:
[0176] The body or head of the person being examined is not lying flat on the CT bed;
[0177] The bed of the CT bed is not retracted into the CT machine;
[0178] The CT room door is open.
[0179] The data processing device provided in the embodiment of the present application can be used to execute the technical solution corresponding to the data processing method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0180] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0181] Figure 6 This is a schematic diagram of the structure of a computer provided in an embodiment of the present application. Figure 6 As shown, the computer may include: a processor 60 , a memory 61 , and computer program instructions stored in the memory 61 and executable on the processor 60 .
[0182] The computer may be a mobile phone, a computer, a tablet or other device with data processing capabilities.
[0183] The processor 60 executes the computer execution instructions stored in the memory 61, so that the processor 60 executes the scheme in the above embodiment. The processor 60 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0184] Optionally, the computer may further include: a transceiver 62 .
[0185] The memory 61 and the transceiver 62 are connected to the processor 60 via a system bus and communicate with each other. The memory 61 is used to store computer program instructions.
[0186] The transceiver 62 is used to communicate with other devices, and the transceiver 62 constitutes a communication interface.
[0187] Optionally, in hardware implementation, the above Figure 5 The acquisition module 51 and the sending module 53 in the illustrated embodiment correspond to the transceiver 62 in this embodiment.
[0188] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0189] The computer provided in the embodiment of the present application can be used to execute the technical solution corresponding to the data processing method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0190] An embodiment of the present application also provides a chip for executing instructions, which is used to execute the technical solution of the data processing method in the above embodiment.
[0191] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the data processing method in the above embodiment.
[0192] An embodiment of the present application also provides a computer program product, including a computer program, which is used to execute the technical solution of the data processing method in the above embodiment when executed by a processor.
[0193] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0194] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data processing method, characterized in that: include: Acquire first video stream data, where the first video stream data is video stream data after the start of a computerized tomography (CT) examination, including: a user image and at least one protective object image; determining whether the user's protection complies with a protection specification according to the at least one shield image and an intersection image area of the user image and the at least one shield image; If the protection of the user does not meet the protection specifications, a warning message is sent to the supervisor; The determining whether the user's protection complies with the protection specification according to the at least one shield image and the intersection image area of the user image and the at least one shield image includes: For each shield image, determining an intersection image area of the user image and the shield image according to an area of the user image and an area of the shield image; Determining a proportion of the intersection image area to the area of the shield image according to the intersection image area and the area of the shield image; Determine whether the user's protection complies with the protection specification according to the proportion, the preset proportion threshold and the preset duration threshold; the proportion threshold includes: a first proportion threshold and a second proportion threshold, and the duration threshold includes a first duration threshold and a second duration threshold; Correspondingly, determining whether the protection of the user meets the protection specification according to the proportion, the preset proportion threshold and the preset duration threshold includes: If the proportion corresponding to the at least one protective object image is greater than the first proportion threshold, and the first duration corresponding to the at least one protective object image is greater than the first duration threshold, it is determined that the protection of the user meets the protection specification, and the first duration is the duration during which the proportion is greater than the first proportion threshold; If the proportion corresponding to each protective object image is less than the second proportion threshold, and the second duration corresponding to each protective object image is greater than the second duration threshold, it is determined that the user's protection does not meet the protection specifications, and the second duration is the continuous duration that the proportion is less than the second proportion threshold.
2. The method according to claim 1, characterized in that Before obtaining the first video stream data, the method further includes: Acquire second video stream data, where the second video stream data is video stream data before the CT examination is started, including: an image of the subject, an image of the CT bed, and an image of the CT room door; Whether the CT examination should be started is determined according to the second video stream data and a preset first constraint condition, wherein the first constraint condition is that the CT machine has the condition of turning on the radiation and examining the person being examined.
3. The method according to claim 2, characterized in that The first constraint condition includes: The body and head of the subject lie flat on the CT bed; The bed position of the CT bed is retracted into the CT machine; The CT room door is in a closed state.
4. The method according to claim 1, characterized in that: The first video stream data also includes: an image of the person being tested, an image of the CT bed, and an image of the CT room door; Accordingly, after sending a warning message to a supervisor if the user's protection does not meet the protection specification, the method further includes: It is determined whether the CT examination is finished according to the first video stream data and a preset second constraint condition, wherein the second constraint condition is that the CT machine has turned off the radiation and stopped examining the person being examined.
5. The method according to claim 4, characterized in that The second constraint condition includes at least one of the following: The body or head of the subject does not lie flat on the CT bed; The bed position of the CT bed is not retracted into the CT machine; The CT room door is in an open state.
6. A data processing device, characterized in that: include: Acquisition module, processing module and sending module; The acquisition module is used to acquire first video stream data, where the first video stream data is video stream data after the start of the CT examination, including: a user image and at least one protective object image; The processing module is used to determine whether the protection of the user meets the protection specification according to the at least one shield image and the intersection image area of the user image and the at least one shield image; The sending module is used to send a warning message to the supervisor if the protection of the user does not meet the protection specifications.
7. A computer, characterized in that: include: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor implements the data processing method as claimed in any one of claims 1 to 5 when executing the computer program instructions.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the data processing method as described in any one of claims 1 to 5 above.
