Method, system and device for adjusting target detection area of ionization chamber and medium
Through image recognition and spatial coordinate system position calculation, the ionization chamber detection area is adjusted, and the problem of insufficient adjustment efficiency and accuracy in the prior art is solved, and better image quality and user experience are achieved.
Patent Information
- Application Number
- CN202310988873.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, due to the lack of position identification of the ionization chamber detection area and the obstruction of the human body, the operator cannot reasonably adjust the ionization chamber detection area, resulting in a low exposure dose and affecting the image quality.
By acquiring the image including the patient's target area acquired by the camera, identifying the target area based on the image, obtaining the position of the ionization chamber in the spatial coordinate system, computing the optional detection area of the ionization chamber, and adjusting according to the target area and the optional detection area. Target detection area of the ionization chamber.
It can be adjusted without the operator visually measuring the position of the ionization chamber detection area, which improves adjustment efficiency and accuracy, achieves better shooting and positioning effects, ensures image quality, and improves user experience.
Smart Images

Figure CN119424941A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a method, system, equipment and medium for adjusting a target detection area of an ionization chamber. Background Art
[0002] Automatic Exposure Control (AEC) uses an X-ray sensor (ionization chamber) to detect the amount of radiation that passes through the limb being irradiated, thereby controlling the exposure time of the X-ray machine and the total amount of X-rays. This allows X-ray images taken of different parts of the body and different patients to have the same level of photosensitivity, avoiding large dose differences between the images taken and uneven image quality.
[0003] Automatic exposure control usually uses a gaseous / solid ionization chamber to detect the amount of radiation after passing through the irradiated limb, and only the detection area of the ionization chamber can effectively detect the X-ray dose that has passed through. Therefore, during clinical use, the irradiated limb needs to correctly cover the detection area of the ionization chamber, otherwise it may cause low exposure dose and affect image quality. However, during clinical positioning, due to the lack of position markings of the ionization chamber detection area and the obstruction of the human body, the operator cannot understand the position of the ionization chamber detection area, and thus cannot accurately determine whether the target tissue correctly covers the corresponding ionization chamber detection area, and thus cannot reasonably adjust the ionization chamber detection area. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the defect in the prior art that the operator cannot reasonably adjust the detection area of the ionization chamber due to the lack of position identification of the ionization chamber detection area and the obstruction of the human body, and to provide a method, system, device and medium for adjusting the target detection area of the ionization chamber.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] The present invention provides a method for adjusting a target detection area of an ionization chamber, the method comprising:
[0007] acquiring an image captured by a camera including a target area of the patient;
[0008] identifying the target area based on the image;
[0009] Obtaining a first position of the ionization chamber in the spatial coordinate system;
[0010] Obtaining an optional detection area of the ionization chamber according to the first position;
[0011] The target detection area of the ionization chamber is adjusted according to the target area and the optional detection area so that the target area covers the target detection area.
[0012] Preferably, identifying the target area based on the image includes:
[0013] Recognize a plurality of human feature points based on the image, and obtain a second position of the human feature points in the spatial coordinate system;
[0014] The target area is determined according to the human body feature points and the second position.
[0015] Preferably, determining the target area according to the human body feature points and the second position includes:
[0016] Determine a target human body feature point corresponding to a target human body part of the patient according to the human body feature point;
[0017] The center of the second position corresponding to the target human feature point is taken as the center point, and the area within a preset distance from the center point is determined as the target area.
[0018] Preferably, adjusting the target detection area of the ionization chamber according to the target area and the optional detection area comprises:
[0019] When the target area exceeds the optional detection area, obtaining the target position of the ionization chamber, and controlling the driving device of the ionization chamber to move the ionization chamber so that the first position coincides with the target position; wherein the optional detection area of the ionization chamber after the movement at least partially coincides with the target area;
[0020] When the target area is within the optional detection area, the target detection area is determined from the optional detection area, wherein a minimum distance between a boundary of the target detection area and a boundary of the target area is within a preset boundary distance.
[0021] Preferably, the adjustment method further comprises:
[0022] The target area and the target detection area are displayed on a display screen.
[0023] Preferably, the target position is acquired by moving the target detection area on the display screen.
[0024] Preferably, the adjustment method further comprises:
[0025] Outputting the human body feature points and the target detection area;
[0026] The human body feature points selected by the user are used as feature point selection results;
[0027] The target detection area is recalculated and adjusted according to the feature point selection result, and the feature point selection result and the adjusted target detection area are output.
[0028] Preferably, the adjustment method further comprises:
[0029] The center mark of the target detection area and / or the boundary mark of the target detection area are projected onto the body surface of the patient by a projection device.
[0030] The present invention also provides an adjustment system for a target detection area of an ionization chamber, the adjustment system comprising: an image acquisition module, an image recognition module, a first position acquisition module, an optional detection area calculation module and a target detection area adjustment module;
[0031] The image acquisition module is used to acquire an image of a target area including the patient captured by a camera;
[0032] The image recognition module is used to recognize the target area based on the image;
[0033] The first position acquisition module is used to acquire a first position of the ionization chamber in the space coordinate system;
[0034] The optional detection area calculation module is used to obtain the optional detection area of the ionization chamber according to the first position;
[0035] The target detection area adjustment module is used to adjust the target detection area of the ionization chamber according to the target area and the optional detection area.
[0036] Preferably, the image recognition module comprises: a feature point recognition unit and a target area determination unit;
[0037] The feature point recognition unit is used to recognize a plurality of human feature points based on the image and obtain a second position of the human feature points in the spatial coordinate system;
[0038] The target area determination unit is used to determine the target area according to the human body feature points and the second position.
[0039] Preferably, the target area determination unit comprises: a target human feature point determination subunit and a target area determination subunit;
[0040] The target human body feature point determination subunit is used to determine the target human body feature points corresponding to the target human body part of the patient according to the human body feature points;
[0041] The target area determination subunit is used to determine the area within a preset distance from the center point as the target area, with the center of the second position corresponding to the target human feature point as the center point.
[0042] Preferably, the target detection area adjustment module comprises: a position adjustment unit and a target detection area determination unit;
[0043] The position adjustment unit is used to obtain the target position of the ionization chamber when the target area exceeds the optional detection area, and control the driving device of the ionization chamber to move the ionization chamber so that the first position coincides with the target position; wherein the optional detection area of the ionization chamber after the movement at least partially coincides with the target area;
[0044] The target detection area determination unit is used to determine the target detection area from the optional detection area when the target area is within the optional detection area, wherein a minimum distance between a boundary of the target detection area and a boundary of the target area is within a preset boundary distance.
[0045] Preferably, the adjustment system further comprises: a display module;
[0046] The display module is used to display the target area and the target detection area on a display screen.
[0047] Preferably, the position adjustment unit is further used to obtain the target position by moving the target detection area on the display screen.
[0048] Preferably, the adjustment system further comprises: an output module, a selection result module and a target detection area readjustment module;
[0049] The output module is used to output the human feature points and the target detection area;
[0050] The selection result module is used to take the human body feature points selected by the user as feature point selection results;
[0051] The target detection area readjustment module is used to recalculate and adjust the target detection area according to the feature point selection result, and output the feature point selection result and the adjusted target detection area.
[0052] Preferably, the adjustment system further comprises: a projection module;
[0053] The projection module is used to project the center mark of the target detection area and / or the boundary mark of the target detection area onto the body surface of the patient through a projection device.
[0054] 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 the processor implements the aforementioned method for adjusting the target detection area of the ionization chamber when executing the computer program.
[0055] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for adjusting the target detection area of the ionization chamber is implemented.
[0056] The positive and progressive effects of the present invention are: firstly, human feature points are identified through images, that is, human feature points are identified in a two-dimensional image, and then a human body model is constructed in a spatial coordinate system, and the positions of human feature points in three-dimensional coordinates are determined through the positions of human feature points in the human body model, so as to more accurately locate the position of the target area, and then determine the target area of the patient, and then obtain the spatial position relationship between the target area and the optional detection area of the ionization chamber through the first position of the ionization chamber in the same spatial coordinate system, and adjust the target detection area of the ionization chamber based on the spatial position relationship, so as to achieve the target detection area of the ionization chamber being able to be adjusted without the operator visually observing the position of the ionization chamber detection area, thereby improving the adjustment efficiency, improving the adjustment accuracy, achieving a better shooting positioning effect, ensuring the image quality, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a flow chart of a method for adjusting a target detection area of an ionization chamber according to Embodiment 1 of the present invention.
[0058] Figure 2 It is a structural schematic diagram of an example of a conventional ionization chamber in the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0059] Figure 3 It is a structural schematic diagram of an example of an adjustable ionization chamber in the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0060] Figure 4 This is an example of a human body model in the target detection area of the ionization chamber of Example 1 of the present invention.
[0061] Figure 5 This is an example of a human body model when photographing a patient's chest in the target detection area of the ionization chamber of the first embodiment of the present invention.
[0062] Figure 6 This is a schematic diagram of the ionization chamber receiving X-rays when photographing a patient's chest in the target detection area of the ionization chamber of Example 1 of the present invention.
[0063] Figure 7This is a flowchart of a specific implementation of step S12 in the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0064] Figure 8 This is a flowchart of a specific implementation of step S122 in the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0065] Fig. 9 This is a flowchart of a specific implementation of step S15 in the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0066] Fig.10 This is an example of a target area exceeding an optional detection area in the method for adjusting a target detection area of an ionization chamber in embodiment 1 of the present invention.
[0067] Fig.11 This is an example of partial overlap between the target area and the optional detection area in the method for adjusting the target detection area of the ionization chamber of embodiment 1 of the present invention.
[0068] Fig.12 The flowchart is a specific implementation of the method for adjusting the target detection area of the ionization chamber of Example 1 of the present invention.
[0069] Fig.13 This is a module schematic diagram of the adjustment system of the target detection area of the ionization chamber of Example 2 of the present invention.
[0070] Fig.14 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0071] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0072] Example 1
[0073] This embodiment provides a method for adjusting the target detection area of an ionization chamber, referring to Figure 1 , the adjustment methods include:
[0074] S11. Acquire an image of a target area of a patient captured by a camera.
[0075] S12: Identify the target area based on the image.
[0076] S13. Obtain a first position of the ionization chamber in the space coordinate system.
[0077] S14. Obtain an optional detection area of the ionization chamber according to the first position.
[0078] S15. Adjust the target detection area of the ionization chamber according to the target area and the optional detection area, so that the target area covers the target detection area.
[0079] The target area of the patient is the area on the patient's body that needs to be filmed and examined, which can be a body part or a part of a body part, such as ankles, finger joints, thoracic vertebrae, knees, etc. The type and number of cameras are not limited here, for example, two two-dimensional cameras can be used to collect images, or one three-dimensional camera can be used to collect images.
[0080] The ionization chamber is usually placed between the object to be scanned and the flat panel detector. It is a separate component on the DR (digital radiography) equipment, used to receive the radiation (such as X-ray) dose. After reaching a certain threshold, it feeds back a signal to the radiation source to notify the radiation source to stop radiating radiation. Ionization chambers are generally divided into: traditional ionization chambers and adjustable ionization chambers.
[0081] Figure 2 The schematic diagram of the structure of a conventional ionization chamber in the prior art is shown. As can be seen from the figure, the ionization chamber 120 generally includes one or more dose receiving units 120a, which are used to receive the energy of the X-rays and feedback information after reaching a certain threshold. Figure 2 The ionization chamber 120 includes three dose receiving units 120a; of course, in other embodiments, the ionization chamber 120 may also include four or five dose receiving units. The conventional ionization chamber is coupled to the detector and cannot be moved or adjusted in size or range.
[0082] The ionization chamber used in the present invention is a traditional ionization chamber improved on the basis of a traditional ionization chamber, and has a moving unit (including a driving device) that can adjust the position of the ionization chamber, and has an adjustment unit that can adjust the range and size of the ionization chamber (for example, a control switch can be added to each dose receiving unit to control the dose receiving unit to be in a working state). The ionization chamber used in the present invention is at least adjustable in position and size, the optional detection area includes all dose receiving units, and the target detection area only includes the dose receiving units in operation.
[0083] Figure 3 The schematic diagram of the structure of an example of an adjustable ionization chamber is shown, and the detector with AEC function integrates the adjustable ionization chamber. For example, the adjustable ionization chamber has a 40*40 dose receiving unit array, and any one of the 1600 dose receiving units (or any preset dose receiving unit combination) can be activated individually to monitor the energy of X-rays, the optional detection area includes all 1600 dose receiving units, and the target detection area only includes the activated dose receiving units.
[0084] The ionization chamber to which the adjustment method of this embodiment is applied may be a modified traditional ionization chamber or an adjustable global ionization chamber. The ionization chamber may obtain the first position through a position sensor or through a motion encoder. Since the installation position, shooting angle and shooting range of the camera are controllable and can be determined, the position of the object (including the target area of the patient) in the image captured by the camera may be identified by the image. The target area identified based on the image and the ionization chamber are placed in the same spatial coordinate system, and the spatial position relationship between the target area and the ionization chamber is obtained by the positions of the two in the spatial coordinate system, and then the spatial position relationship between the target area and the optional detection area of the ionization chamber can be obtained (for example: overlap, partial overlap, etc.). Through this spatial position relationship, the target detection area of the ionization chamber can be conveniently and intuitively adjusted, which can help the equipment operator to place the target detection area of the ionization chamber in a suitable position, with a suitable size and shape during the patient positioning process, so as to achieve a better positioning effect, so that the automatic exposure control of the target area is more accurate, thereby more accurately controlling the exposure time of the X-ray machine and the total amount of X-rays, obtaining an image with good exposure quality, and ensuring the quality of the filmed image.
[0085] A human body model can be constructed, and the spatial positional relationship between the target area and the optional detection area of the ionization chamber can be obtained through the positional relationship between the human body feature points, the human body model and the ionization chamber in the same spatial coordinate system.
[0086] Figure 4 An example of a human body model is shown, where dots represent human body feature points. Figure 5 An example of a human body model when photographing a patient's chest is shown, where dots represent human body feature points. Figure 6 The schematic diagram of the ionization chamber receiving X-rays when photographing the patient's chest is shown, and the straight line running through the human body in the figure represents the X-rays. In order to achieve a good photographing effect, the human body feature points, the human body model and the ionization chamber have a spatial correlation.
[0087] In this embodiment, human feature points are identified through images, a human body model is constructed in a spatial coordinate system, a target area of the patient is determined, and then the spatial position relationship between the target area and the optional detection area of the ionization chamber is obtained through the first position of the ionization chamber in the same spatial coordinate system. The target detection area of the ionization chamber is adjusted based on the spatial position relationship, so that the target detection area of the ionization chamber can be adjusted without the operator visually observing the position of the ionization chamber detection area, thereby improving the adjustment efficiency and accuracy, achieving a better shooting positioning effect, ensuring image quality, and improving the user experience.
[0088] When implementing it, refer to Figure 7 , step S12 comprises:
[0089] S121. Identify a number of human feature points based on the image, and obtain a second position of the human feature points in the spatial coordinate system.
[0090] S122: Determine a target area according to the human body feature points and the second position.
[0091] Among them, based on the image, a number of human feature points are identified on the patient's human body model to obtain the second position of the human body feature points, that is, the human body feature points are identified in the two-dimensional image, and then the human body model is constructed in the spatial coordinate system. The position of the human body feature points in the human body model is used to determine the position (second position) of the human body feature points in the three-dimensional coordinates, so that the human body feature points are also placed in the same spatial coordinate system mentioned above, and the target area of the patient can be determined based on the identified human body feature points.
[0092] Specifically, the recognition of human feature points in an image can be achieved through a neural network algorithm. First, a sample image with human feature points marked can be input into a neural network model for training to obtain a recognition model for human feature points. Then, an image of a target area of a patient captured by a camera is input into the trained recognition model to obtain recognized human feature points.
[0093] In this embodiment, a specific implementation method of identifying a target area based on an image is provided, which helps to automatically adjust the target detection area of the ionization chamber.
[0094] When implementing it, refer to Figure 8 , step S122 includes:
[0095] S1221. Determine the target human body feature points corresponding to the target human body part of the patient according to the human body feature points.
[0096] S1222: Taking the center of the second position corresponding to the target human feature point as the center point, determine an area within a preset distance from the center point as the target area.
[0097] In this embodiment, a specific implementation method is provided for identifying a number of human feature points based on an image and determining a target area based on the human feature points and a second position, which clarifies the method of determining human feature points by human body parts and determining the target area by the center point of the target human feature points.
[0098] When implementing it, refer to Fig. 9 , step S15 comprises:
[0099] S151, when the target area exceeds the optional detection area, obtaining the target position of the ionization chamber, and controlling the driving device of the ionization chamber to move the ionization chamber so that the first position coincides with the target position, wherein the optional detection area of the moved ionization chamber at least partially coincides with the target area.
[0100] S152: When the target area is within the optional detection area, determine the target detection area from the optional detection area, wherein a minimum distance between a boundary of the target detection area and a boundary of the target area is within a preset boundary distance.
[0101] Among them, the target area exceeds the optional detection area, that is, the target area is not within the detection range of the ionization chamber. Fig.10 An example in which the target area exceeds the optional detection area is shown. In the figure, the large square represents the ionization chamber, the small square represents the dose receiving unit of the ionization chamber, and the circle represents the target area of the patient.
[0102] Taking the first position as the starting point and the target position as the end point, since the first position and the target position are in the same coordinate system, it is convenient to calculate the moving direction and the moving distance. According to the structure of the driving device, the moving direction and the moving distance are decomposed into moving vectors executable by the driving device.
[0103] The driving device may include guide rails arranged along the horizontal axis and the vertical axis of the ionization chamber respectively, each guide rail is equipped with a driving motor and a hinge, and the driving motor drives the hinge based on the movement vector to drive the ionization chamber to move along the guide rail until the first position coincides with the target position, and the optional detection area of the moved ionization chamber at least partially coincides with the target area, such as Fig.11 As shown in the figure, the large square represents the ionization chamber, the small square represents the dose receiving unit of the ionization chamber, and the circle represents the target area of the patient. This is an example of the structure of the driving device, and the driving device can also adopt other structures.
[0104] The above-mentioned related operations of the mobile ionization chamber are applicable to the improved traditional ionization chamber and the adjustable ionization chamber. In addition, for the adjustable ionization chamber and the improved traditional ionization chamber, the target detection area can be adjusted by controlling the corresponding dose receiving unit to be in a working state.
[0105] In this embodiment, a specific implementation method for adjusting the target detection area of the ionization chamber is provided to achieve a good filming effect, further improve the adjustment efficiency, improve the adjustment accuracy, achieve a better shooting positioning effect, ensure image quality, and enhance the user experience.
[0106] In specific implementation, the adjustment method also includes:
[0107] The target area and target detection area are shown on the display.
[0108] In this embodiment, the target area and the target detection area are displayed on the display screen, so that the equipment operator can intuitively understand the spatial position relationship between the target area and the target detection area, and further provide convenience for adjusting the target detection area of the ionization chamber.
[0109] During specific implementation, the target position is acquired by moving the target detection area on the display screen.
[0110] The target detection area can be moved on the display screen by inputting the target position coordinates, dragging the mouse, touch control, etc.
[0111] The size of the target detection area can be adjusted on the display screen by inputting the size of the target detection area, dragging the area boundary with the mouse, adjusting the area boundary with touch control, etc., so as to solve the problem of coverage of smaller parts of the patient and achieve better automatic exposure control effect.
[0112] The shape of the target detection area can also be adjusted through the display screen. The default shape of the ionization chamber is rectangular or circular, and it can be adjusted based on the default shape.
[0113] In this embodiment, the target detection area of the ionization chamber can be adjusted through various operations on the display screen to achieve a good filming effect, further improving the adjustment efficiency, improving the adjustment accuracy, achieving a better shooting positioning effect, ensuring image quality, and improving the user experience.
[0114] When implementing it, refer to Fig.12 , the adjustment method also includes:
[0115] S16: Output human feature points and target detection area.
[0116] S17: The human body feature points selected by the user are used as feature point selection results.
[0117] S18. Recalculate and adjust the target detection area according to the feature point selection result, and output the feature point selection result and the adjusted target detection area.
[0118] Among them, the human body feature points and target detection areas can be output through the display screen in the form of text data and images.
[0119] Reference Figure 5 and Figure 6 When the camera intelligently identifies the patient's body parts, it can intelligently highlight the positions of the human feature points (such as joint points) in the photographed human body parts (the dots in the two small boxes on the chest) and the area of the ionization chamber (the two small boxes on the chest) on the patient's human body model. The non-selected area is grayed out. When the user wants to change the position of the automatic exposure area, the human feature points in the part can be activated and the application can be effective. The system re-projects the coordinates according to the position selected by the user and calculates the new ionization chamber position (the first position), realizing the manual selection and adjustment of the ionization chamber function area on the interface based on the human feature points.
[0120] In specific implementation, the adjustment method also includes:
[0121] The center mark of the target detection area and / or the boundary mark of the target detection area are projected onto the body surface of the patient by the projection device.
[0122] In this embodiment, the relevant identification of the target detection area is projected onto the patient's body surface by a projection device, which facilitates the equipment operator to intuitively understand the spatial position relationship between the target area and the target detection area, and further provides convenience for adjusting the target detection area of the ionization chamber.
[0123] Example 2
[0124] This embodiment provides an adjustment system for the target detection area of an ionization chamber, referring to Fig.13 The adjustment system includes: an image acquisition module 1, an image recognition module 2, a first position acquisition module 3, an optional detection area calculation module 4 and a target detection area adjustment module 5.
[0125] The image acquisition module 1 is used to acquire an image of a target area including a patient captured by a camera.
[0126] The image recognition module 2 is used to recognize the target area based on the image.
[0127] The first position acquisition module 3 is used to acquire the first position of the ionization chamber in the space coordinate system.
[0128] The optional detection area calculation module 4 is used to obtain the optional detection area of the ionization chamber according to the first position.
[0129] The target detection area adjustment module 5 is used to adjust the target detection area of the ionization chamber according to the target area and the optional detection area.
[0130] The target area of the patient is the area on the patient's body that needs to be filmed and examined, which can be a body part or a part of a body part, such as ankles, finger joints, thoracic vertebrae, knees, etc. The type and number of cameras are not limited here, for example, two two-dimensional cameras can be used to collect images, or one three-dimensional camera can be used to collect images.
[0131] The ionization chamber is usually placed between the object to be scanned and the flat panel detector. It is a separate component on the DR (digital radiography) equipment, used to receive the radiation (such as X-ray) dose. After reaching a certain threshold, it feeds back a signal to the radiation source to notify the radiation source to stop radiating radiation. Ionization chambers are generally divided into: traditional ionization chambers and adjustable ionization chambers.
[0132] Figure 2The schematic diagram of the structure of a conventional ionization chamber in the prior art is shown. As can be seen from the figure, the ionization chamber 120 generally includes one or more dose receiving units 120a, which are used to receive the energy of the X-rays and feedback information after reaching a certain threshold. Figure 2 The ionization chamber 120 includes three dose receiving units 120a; of course, in other embodiments, the ionization chamber 120 may also include four, five dose receiving units, or other various other situations.
[0133] The ionization chamber used in the present invention is a traditional ionization chamber improved on the basis of a traditional ionization chamber, and has a moving unit (including a driving device) that can adjust the position of the ionization chamber, and has an adjustment unit that can adjust the range and size of the ionization chamber (for example, a control switch can be added to each dose receiving unit to control the dose receiving unit to be in a working state). The ionization chamber used in the present invention is at least adjustable in position and size, the optional detection area includes all dose receiving units, and the target detection area only includes the dose receiving units in operation.
[0134] Figure 3 The schematic diagram of the structure of an example of an adjustable ionization chamber is shown, and the detector with AEC function integrates the adjustable ionization chamber. For example, the adjustable ionization chamber has a 40*40 dose receiving unit array, and any one of the 1600 dose receiving units (or any preset dose receiving unit combination) can be activated individually to monitor the energy of X-rays, the optional detection area includes all 1600 dose receiving units, and the target detection area only includes the activated dose receiving units.
[0135] The ionization chamber to which the adjustment method of this embodiment is applied may be a modified traditional ionization chamber or an adjustable global ionization chamber. The ionization chamber may obtain the first position through a position sensor or through a motion encoder. Since the installation position, shooting angle and shooting range of the camera are controllable and can be determined, the position of the object (including the target area of the patient) in the image captured by the camera may be identified by the image. The target area identified based on the image and the ionization chamber are placed in the same spatial coordinate system, and the spatial position relationship between the target area and the ionization chamber is obtained by the positions of the two in the spatial coordinate system, and then the spatial position relationship between the target area and the optional detection area of the ionization chamber can be obtained (for example: overlap, partial overlap, etc.). Through this spatial position relationship, the target detection area of the ionization chamber can be conveniently and intuitively adjusted, which can help the equipment operator to place the target detection area of the ionization chamber in a suitable position, with a suitable size and shape during the patient positioning process, so as to achieve a better positioning effect, so that the automatic exposure control of the target area is more accurate, thereby more accurately controlling the exposure time of the X-ray machine and the total amount of X-rays, obtaining an image with good exposure quality, and ensuring the quality of the filmed image.
[0136] A human body model can be constructed, and the spatial positional relationship between the target area and the optional detection area of the ionization chamber can be obtained through the positional relationship between the human body feature points, the human body model and the ionization chamber in the same spatial coordinate system.
[0137] Figure 4 An example of a human body model is shown, where dots represent human body feature points. Figure 5 An example of a human body model when photographing a patient's chest is shown, where dots represent human body feature points. Figure 6 The schematic diagram of the ionization chamber receiving X-rays when photographing the patient's chest is shown, and the straight line running through the human body in the figure represents the X-rays. In order to achieve a good photographing effect, the human body feature points, the human body model and the ionization chamber have a spatial correlation relationship.
[0138] In this embodiment, human feature points are identified through images, a human body model is constructed in a spatial coordinate system, a target area of the patient is determined, and then the spatial position relationship between the target area and the optional detection area of the ionization chamber is obtained through the first position of the ionization chamber in the same spatial coordinate system. The target detection area of the ionization chamber is adjusted based on the spatial position relationship, so that the target detection area of the ionization chamber can be adjusted without the operator visually observing the position of the ionization chamber detection area, thereby improving the adjustment efficiency and accuracy, achieving a better shooting positioning effect, ensuring image quality, and improving the user experience.
[0139] In a specific implementation, the image recognition module 2 includes: a feature point recognition unit 21 and a target area determination unit 22 .
[0140] The feature point recognition unit 21 is used to recognize a number of human feature points based on the image and obtain the second position of the human feature points in the space coordinate system.
[0141] The target region determining unit 22 is used to determine the target region according to the human body feature points and the second position.
[0142] Among them, based on the image, a number of human feature points are identified on the patient's human body model to obtain the second position of the human body feature points, that is, the human body feature points are identified in the two-dimensional image, and then the human body model is constructed in the spatial coordinate system. The position of the human body feature points in the human body model is used to determine the position (second position) of the human body feature points in the three-dimensional coordinates, so that the human body feature points are also placed in the same spatial coordinate system mentioned above, and the target area of the patient can be determined based on the identified human body feature points.
[0143] Specifically, the recognition of human feature points in an image can be achieved through a neural network algorithm. First, a sample image with human feature points marked can be input into a neural network model for training to obtain a recognition model for human feature points. Then, an image of a target area of a patient captured by a camera is input into the trained recognition model to obtain recognized human feature points.
[0144] In this embodiment, a specific implementation method of identifying a target area based on an image is provided, which helps to automatically adjust the target detection area of the ionization chamber.
[0145] In a specific implementation, the target region determining unit 22 includes: a target human feature point determining subunit 221 and a target region determining subunit 222 .
[0146] The target human body feature point determination subunit 221 is used to determine the target human body feature points corresponding to the target human body part of the patient according to the human body feature points.
[0147] The target area determination subunit 222 is used to determine the area within a preset distance from the center point as the target area, taking the center of the second position corresponding to the target human feature point as the center point.
[0148] In this embodiment, a specific implementation method is provided for identifying a number of human feature points based on an image and determining a target area based on the human feature points and a second position, which clarifies the method of determining human feature points by human body parts and determining the target area by the center point of the target human feature points.
[0149] During specific implementation, the target detection area adjustment module 5 includes: a position adjustment unit 51 and a target detection area determination unit 52 .
[0150] The position adjustment unit 51 is used to obtain the target position of the ionization chamber when the target area exceeds the optional detection area, and control the driving device of the ionization chamber to move the ionization chamber so that the first position coincides with the target position. The optional detection area of the moved ionization chamber at least partially coincides with the target area.
[0151] The target detection area determination unit 52 is used to determine the target detection area from the optional detection area when the target area is within the optional detection area, wherein the minimum distance between the boundary of the target detection area and the boundary of the target area is within a preset boundary distance.
[0152] Among them, the target area exceeds the optional detection area, that is, the target area is not within the detection range of the ionization chamber. Fig.10 An example in which the target area exceeds the optional detection area is shown. In the figure, the large square represents the ionization chamber, the small square represents the dose receiving unit of the ionization chamber, and the circle represents the target area of the patient.
[0153] Taking the first position as the starting point and the target position as the end point, since the first position and the target position are in the same coordinate system, it is convenient to calculate the moving direction and the moving distance. According to the structure of the driving device, the moving direction and the moving distance are decomposed into moving vectors executable by the driving device.
[0154] The driving device may include guide rails arranged along the horizontal axis and the vertical axis of the ionization chamber respectively, each guide rail is equipped with a driving motor and a hinge, and the driving motor drives the hinge based on the movement vector to drive the ionization chamber to move along the guide rail until the first position coincides with the target position, and the optional detection area of the moved ionization chamber at least partially coincides with the target area, such as Fig.11 As shown in the figure, the large square represents the ionization chamber, the small square represents the dose receiving unit of the ionization chamber, and the circle represents the target area of the patient. This is an example of the structure of the driving device, and the driving device can also adopt other structures.
[0155] The above-mentioned related operations of the mobile ionization chamber are applicable to the improved traditional ionization chamber and the adjustable ionization chamber. In addition, for the adjustable ionization chamber and the improved traditional ionization chamber, the target detection area can be adjusted by controlling the corresponding dose receiving unit to be in a working state.
[0156] In this embodiment, a specific implementation method for adjusting the target detection area of the ionization chamber is provided to achieve a good filming effect, further improve the adjustment efficiency, improve the adjustment accuracy, achieve a better shooting positioning effect, ensure image quality, and enhance the user experience.
[0157] During specific implementation, the adjustment system further includes: a display module 6 .
[0158] The display module 6 is used to display the target area and the target detection area on the display screen.
[0159] In this embodiment, the target area and the target detection area are displayed on the display screen, so that the equipment operator can intuitively understand the spatial position relationship between the target area and the target detection area, and further provide convenience for adjusting the target detection area of the ionization chamber.
[0160] During specific implementation, the position adjustment unit 51 is also used to obtain the target position by moving the target detection area on the display screen.
[0161] The target detection area can be moved on the display screen by inputting the target position coordinates, dragging the mouse, touch control, etc.
[0162] The size of the target detection area can be adjusted on the display screen by inputting the size of the target detection area, dragging the area boundary with the mouse, adjusting the area boundary with touch control, etc., so as to solve the problem of coverage of smaller parts of the patient and achieve better automatic exposure control effect.
[0163] The shape of the target detection area can also be adjusted through the display screen. The default shape of the ionization chamber is rectangular or circular, and it can be adjusted based on the default shape.
[0164] In this embodiment, the target detection area of the ionization chamber can be adjusted through various operations on the display screen to achieve a good filming effect, further improving the adjustment efficiency, improving the adjustment accuracy, achieving a better shooting positioning effect, ensuring image quality, and improving the user experience.
[0165] During specific implementation, the adjustment system further includes: an output module 7 , a result selection module 8 and a target detection area readjustment module 9 .
[0166] The output module is used to output human feature points and target detection areas.
[0167] The selection result module is used to take the human body feature points selected by the user as feature point selection results.
[0168] The target detection area readjustment module is used to recalculate and adjust the target detection area according to the feature point selection result, and output the feature point selection result and the adjusted target detection area.
[0169] Among them, the human body feature points and target detection areas can be output through the display screen in the form of text data and images.
[0170] Reference Figure 5 and Figure 6 When the camera intelligently identifies the patient's body parts, it can intelligently highlight the positions of the human feature points (such as joint points) in the photographed human body parts (the dots in the two small boxes on the chest) and the area of the ionization chamber (the two small boxes on the chest) on the patient's human body model. The non-selected area is grayed out. When the user wants to change the position of the automatic exposure area, the human feature points in the part can be activated and the application can be effective. The system re-projects the coordinates according to the position selected by the user and calculates the new ionization chamber position (the first position), realizing the manual selection and adjustment of the ionization chamber function area on the interface based on the human feature points.
[0171] During specific implementation, the adjustment system further includes: a projection module 10 .
[0172] The projection module 10 is used to project a center mark of the target detection area and / or a boundary mark of the target detection area onto the body surface of the patient through a projection device.
[0173] In this embodiment, the relevant identification of the target detection area is projected onto the patient's body surface by a projection device, which facilitates the equipment operator to intuitively understand the spatial position relationship between the target area and the target detection area, and further provides convenience for adjusting the target detection area of the ionization chamber.
[0174] Example 3
[0175] Fig.14 This is a schematic diagram of the structure of an electronic device provided in Example 3 of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method for adjusting the target detection area of the ionization chamber in Example 1 when executing the program. Fig.14 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0176] The electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0177] The bus 33 includes a data bus, an address bus, and a control bus.
[0178] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0179] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0180] The processor 31 executes various functional applications and data processing by running the computer program stored in the memory 32, such as the method for adjusting the target detection area of the ionization chamber in the first embodiment of the present disclosure.
[0181] The electronic device 30 may also communicate with one or more external devices 34 (e.g., buttons, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model-generated electronic device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. As shown, the network adapter 36 communicates with other modules of the model-generated electronic device 30 via a bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0182] It should be noted that although several modules / modules or submodules / modules of the electronic device are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules / modules described above can be embodied in one module / module; conversely, the features and functions of one module / module described above can be further divided into multiple modules / modules to be embodied.
[0183] Example 4
[0184] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for adjusting the target detection area of the ionization chamber in Embodiment 1 is implemented.
[0185] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0186] In a possible implementation, the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the method for adjusting the target detection area of the ionization chamber in Example 1.
[0187] Among them, the program code for executing the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0188] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for adjusting a target detection area of an ionization chamber, characterized in that: The adjustment method comprises: acquiring an image captured by a camera including a target area of the patient; identifying the target area based on the image; Obtaining a first position of the ionization chamber in the spatial coordinate system; Obtaining an optional detection area of the ionization chamber according to the first position; The target detection area of the ionization chamber is adjusted according to the target area and the optional detection area so that the target area covers the target detection area.
2. The method for adjusting the target detection area of the ionization chamber according to claim 1, characterized in that: The identifying the target area based on the image includes: Recognize a plurality of human feature points based on the image, and obtain a second position of the human feature points in the spatial coordinate system; The target area is determined according to the human body feature points and the second position.
3. The method for adjusting the target detection area of the ionization chamber according to claim 2, characterized in that: The determining the target area according to the human body feature points and the second position includes: Determine a target human body feature point corresponding to a target human body part of the patient according to the human body feature point; The center of the second position corresponding to the target human feature point is taken as the center point, and the area within a preset distance from the center point is determined as the target area.
4. The method for adjusting the target detection area of the ionization chamber according to claim 1, characterized in that: The step of adjusting the target detection area of the ionization chamber according to the target area and the optional detection area comprises: When the target area exceeds the optional detection area, obtaining the target position of the ionization chamber, and controlling the driving device of the ionization chamber to move the ionization chamber so that the first position coincides with the target position; wherein the optional detection area of the ionization chamber after the movement at least partially coincides with the target area; When the target area is within the optional detection area, the target detection area is determined from the optional detection area, wherein a minimum distance between a boundary of the target detection area and a boundary of the target area is within a preset boundary distance.
5. The method for adjusting the target detection area of the ionization chamber according to claim 4, characterized in that: The adjustment method further comprises: The target area and the target detection area are displayed on a display screen.
6. The method for adjusting the target detection area of the ionization chamber according to claim 5, characterized in that: The target position is acquired by moving the target detection area on the display screen.
7. The method for adjusting the target detection area of the ionization chamber according to claim 2, characterized in that: The adjustment method further comprises: Outputting the human body feature points and the target detection area; The human body feature points selected by the user are used as feature point selection results; The target detection area is recalculated and adjusted according to the feature point selection result, and the feature point selection result and the adjusted target detection area are output.
8. The method for adjusting the target detection area of the ionization chamber according to claim 1, characterized in that: The adjustment method further comprises: The center mark of the target detection area and / or the boundary mark of the target detection area are projected onto the body surface of the patient by a projection device.
9. A system for adjusting a target detection area of an ionization chamber, characterized in that: The adjustment system comprises: an image acquisition module, an image recognition module, a first position acquisition module, an optional detection area calculation module and a target detection area adjustment module; The image acquisition module is used to acquire an image of a target area including the patient captured by a camera; The image recognition module is used to recognize the target area based on the image; The first position acquisition module is used to acquire a first position of the ionization chamber in the space coordinate system; The optional detection area calculation module is used to obtain the optional detection area of the ionization chamber according to the first position; The target detection area adjustment module is used to adjust the target detection area of the ionization chamber according to the target area and the optional detection area.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for adjusting the target detection area of the ionization chamber according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for adjusting the target detection area of the ionization chamber according to any one of claims 1 to 8 is implemented.