Method and device for intelligent body thickness measurement and fully automatic dose setting of pet DR
By installing a smart camera in the pet DR device, the body thickness is automatically measured and the exposure dose is set, which solves the problem of the complexity and time-consuming operation of traditional pet DR and simplifies the fully automatic dose setting and image acquisition.
Patent Information
- Application Number
- CN202110186311.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-17
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-02-17
AI Technical Summary
Traditional pet DR imaging requires manually measuring the animal's thickness and calculating the exposure dose based on experience, which is complex and time-consuming, making it difficult to achieve personalized exposure dose settings for different pets.
By combining a smart camera with a pet DR device, the system automatically measures the pet's body thickness and calculates the exposure dose using depth images. It then uses a body thickness-exposure dose mapping table to achieve fully automatic exposure dose setting.
It simplifies the pet DR operation process, reduces the workload of veterinarians, improves the convenience of operation and the accuracy of image acquisition, and reduces the difficulty of operation.
Smart Images

Figure CN113749673B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical equipment for pet DR imaging, and in particular to a method and a device for pet DR intelligent body thickness measurement and full-automatic dose setting. Background Art
[0002] Traditional pet DR exposure acquisition is to use a ruler to manually measure the thickness of the animal, and then calculate the exposure dose corresponding to the thickness through experience, and set it on the DR device for exposure. The operation process is relatively complicated. Of course, the exposure dose of different pet DR is different, and the pet hospital also needs to set different exposure doses according to different pet DR to achieve better image quality; therefore, for different DR equipment, it is necessary to re-cultivate experience values, which is relatively time-consuming for pet doctors. Summary of the invention
[0003] The present invention is mainly aimed at improving the convenience and extensiveness of the clinical operation of pet doctors, and provides a method and device for pet DR intelligent body thickness measurement and fully automatic dose setting. The method can automatically measure the pet's body thickness and set the required exposure dose, and provides a device that uses the method to implement the method; the intelligent camera collects data, intelligently calculates the pet's body thickness, and feeds back the body thickness information to the DR device, and automatically sets the dose corresponding to the body thickness. The doctor only needs to trigger the DR device to expose and can collect images with appropriate doses. The method simplifies the workflow of pet DR, reduces the difficulty of work, and makes pet DR easier to operate.
[0004] Conventional veterinarians will use a ruler to measure the body thickness of the pet to be examined, and then use their own experience to set the exposure dose. With the method and device of the present invention, the doctor only needs to place the pet to be examined in the imaging area, and the device will automatically measure the body thickness and automatically set the exposure dose, greatly reducing the doctor's workload.
[0005] The present invention adopts a method of combining a smart camera and pet DR, using the depth image and RGB image provided by the smart camera to measure and calculate the body thickness of the pet to be examined, and automatically associates the dose mapping table according to the body thickness, so that the X-ray generating device can set the exposure dose that meets the body thickness.
[0006] A method for pet DR intelligent body thickness measurement and full-automatic dose setting of the present invention comprises the following steps:
[0007] Effective body thickness measurement area correction: Correct and obtain the imaging area of effective body thickness measurement in the device;
[0008] Intelligent body thickness calculation: Use intelligent cameras to collect images and calculate the body thickness of pets in the system;
[0009] Automatic dose exposure setting: Based on the pet's required exposure area and using its body thickness information, it automatically feeds back and sets the required exposure dose and exposure conditions.
[0010] Preferably, the effective body thickness measurement area correction is specifically as follows: utilizing the beam limiter light field in the pet DR device, placing four rigid linear objects so that they are just located at the edge area of the light field, using the installed smart camera to capture RGB images, and calculating the position of the beam limiter light field range in the camera imaging, that is, the effective body thickness measurement area.
[0011] Preferably, the intelligent body thickness calculation is specifically as follows:
[0012] Depth image acquisition: Using smart cameras to obtain the depth image of the pet to be examined by the DR device in real time;
[0013] Place the pet to be examined on the shooting bed, start the computer system software, select the part to be photographed, start the camera video acquisition function, and obtain the depth image of the pet to be examined in real time.
[0014] Acquisition of effective imaging area: Using the effective body thickness measurement area obtained by correction, image data of the effective calculation area is intercepted in the depth image;
[0015] According to the effective body thickness measurement area configured in the system, an effective body thickness measurement area of the depth image acquired in real time is selected.
[0016] Body thickness measurement: Based on the pet's depth image, the current body thickness value of the pet to be inspected is calculated in real time;
[0017] The depth value of the area of interest of the pet to be inspected is calculated using the depth histogram method, the average bed depth is used as the bed depth value, and the body thickness value of the pet to be inspected is obtained using the difference method.
[0018] Preferably, the depth image acquisition is specifically:
[0019] Install and use a smart camera in the DR device, and start the camera through the host computer acquisition software to collect depth images within the camera imaging range in real time;
[0020] The effective imaging area is obtained as follows:
[0021] According to the corrected effective body thickness measurement area, the effective body thickness measurement area in the image is obtained in the real-time acquired depth image;
[0022] The body thickness measurement is as follows:
[0023] The depth camera collects the depth values of all objects within the field of view to form a depth image. According to the effective body thickness measurement area, the depth data of the effective body thickness measurement area is obtained. D , calculate the histogram of the depth values in the area:
[0024]
[0025] Where n is the total number of pixels, n k Depth level S k The number of pixels, P(S k ) indicates the depth level is S k Histogram of ;
[0026] A determination threshold is set, and in the histogram area that satisfies a value greater than the determination threshold, a minimum depth value is obtained, that is, a depth value of the area of interest of the pet to be detected;
[0027] The formula for the histogram area greater than the judgment threshold is as follows:
[0028] H(index)=S k , if(P(S k )>T)
[0029] Wherein, H(index) in the formula represents the collection of histogram regions that meet the threshold, and index corresponds to the depth value that meets the threshold;
[0030] Minimum depth value D ROI The calculation formula is:
[0031] D ROI =min(index)
[0032] That is the depth value of the area of interest we measured;
[0033] Through threshold segmentation, such as the commonly used OTSU law segmentation method, the pet imaging part and the bed part in the depth image are obtained, and the average depth value D of the bed part is obtained. Bed ;
[0034] The thickness value T of the pet to be tested Pet ; The calculation formula is as follows:
[0035] T Pet =D Bed -D ROI .
[0036] Preferably, the automatic dose exposure setting is specifically, according to the calculated body thickness value, looking up the corresponding exposure dose, looking up the corresponding dose and exposure conditions in the mapping table, and displaying the body thickness value and the corresponding dose and exposure conditions on the operation interface, and setting the pre-exposure dose through the RS232 serial port communication method to put the device in a state ready for exposure.
[0037] While waiting for the veterinarian to press the exposure handle, the exposure and image acquisition operations are completed.
[0038] A device for intelligent body thickness measurement and automatic dosage setting of pet DR, comprising:
[0039] Intelligent body thickness collection device: a device used to collect and calculate body thickness;
[0040] Effective body thickness measurement area correction module: obtains the effective body thickness measurement area through correction;
[0041] Intelligent body thickness calculation module: calculates the body thickness of the pet to be tested in real time;
[0042] Automatic dose exposure setting module: sets X-ray exposure parameters according to body thickness value and sets them to the X-ray generator;
[0043] X-ray generator: a device that generates X-rays;
[0044] X-ray imaging system module: a computer software system that can generate X-ray images and can be operated by users.
[0045] Preferably, the intelligent body thickness collection device is specifically:
[0046] An intelligent camera device capable of collecting RGB images and depth images in real time is used, installed in a beam limiter, and connected to a computer system; the camera is started by computer acquisition software to perform intelligent body thickness acquisition.
[0047] Preferably, the effective body thickness measurement area correction module is specifically:
[0048] Set the correction method and correction object, use the beam limiter light field in the pet DR device, place four rigid linear objects so that they are just located at the edge of the light field, and calculate the position of the beam limiter light field range in the camera imaging in the real-time acquired RGB image, that is, the effective body thickness measurement area.
[0049] Preferably, the intelligent body thickness calculation module specifically includes:
[0050] Depth image acquisition unit: The computer acquisition software starts the camera to obtain the depth image data of the pet to be examined by the DR device in real time;
[0051] The effective imaging area acquisition unit acquires the effective body thickness measurement area in the real-time depth image data according to the effective body thickness measurement area.
[0052] Body thickness measurement unit: In the effective body thickness measurement area, the depth value of the area of interest of the pet to be inspected and the depth value of the DR device bed are calculated, and the depth difference between the two is used as the current body thickness value of the pet to be inspected.
[0053] Preferably, the automatic dose exposure setting module is specifically:
[0054] According to the body thickness value calculated by the software, the corresponding dose and exposure conditions are found in the mapping table, and the body thickness value and the corresponding dose and exposure conditions are displayed on the operation interface. The pre-exposure dose is set through the RS232 serial port communication method to put the equipment in a state ready for exposure.
[0055] The method and device of the present invention collect and calculate the body thickness information of the pet to be examined on the shooting bed by installing an intelligent camera on the conventional pet DR equipment, and set the pre-exposure dose of the X-ray generator through RS232 serial communication according to the body thickness and exposure dose mapping table, so that the pet DR is in a state of preparing for exposure. The pet doctor only needs to press the exposure handle to complete the image collected by the X-ray imaging system module for clinical diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 is a flow chart of the method of the present invention;
[0057] Figure 2 is a device block diagram of the present invention;
[0058] Figure 3 It is a schematic diagram of the device of the present invention;
[0059] Figure 4 It is a schematic diagram of the body thickness calculation method of the present invention;
[0060] In the figure, 1. exposure handle, 2. smart camera, 3. required inspection part, 4. photographing bed, 5. exposure handle, 6. X-ray imaging system. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0062] like Figure 1-4 As shown, the method flow of a pet DR intelligent body thickness measurement and fully automatic dose setting method described in the present invention is as follows:
[0063] A. Effective body thickness measurement area correction;
[0064] B. Intelligent body thickness calculation;
[0065] C. Automatic dose exposure setting.
[0066] Step A: Effective body thickness measurement area correction.
[0067] A smart camera 2 is installed in the pet DR device. When the pet DR device is calibrated, four rigid linear objects are placed on the bed using the beam limiter light field in the pet DR device so that they are just located at the edge of the light field. The X-ray imaging system 6 is used to start the smart camera, collect the RGB image at this time, and calculate the position of the beam limiter light field range in the camera imaging, that is, the effective body thickness measurement area. And store it in the X-ray imaging system.
[0068] Step B: Intelligent body thickness calculation.
[0069] When a pet examination is required, the pet is placed on the photographing bed 4, and the beam limiter is turned on so that the required examination part 3 is exposed under the light field of the beam limiter.
[0070] Turn on the X-ray imaging system, start the smart camera, perform real-time depth image acquisition, and obtain the depth image of the pet to be examined in the pet DR device in real time;
[0071] The effective body thickness measurement area stored in the system in step A is used to obtain the effective calculation area in the depth image collected in real time.
[0072] The depth camera collects the depth values of all objects within the field of view to form a depth image. According to the effective body thickness measurement area, the depth data of the effective body thickness measurement area is obtained. D , calculate the histogram of the depth values in the area:
[0073]
[0074] Where n is the total number of pixels, n k Depth level S k The number of pixels, P(S k ) indicates the depth level is S k Histogram of .
[0075] A determination threshold is set, and in the histogram area that satisfies a value greater than the determination threshold, the minimum depth value is obtained, that is, the depth value of the area of interest of the pet to be detected.
[0076] The formula for the histogram area greater than the judgment threshold is as follows:
[0077] H(index)=S k, if(P(S k )>T)
[0078] Among them, H(index) in the formula represents the collection of histogram regions that meet the threshold, and index corresponds to the depth value that meets the threshold.
[0079] Minimum depth value D ROI The calculation formula is:
[0080] D ROI =min(index)
[0081] That is the depth value of the area of interest we measured.
[0082] Through threshold segmentation, such as the commonly used OTSU law segmentation method, the pet imaging part and the bed part in the depth image are obtained, and the average depth value D of the bed part is obtained. Bed .
[0083] The thickness value T of the pet to be tested Pet Schematic diagram can be seen Figure 4 , the calculation formula is as follows:
[0084] T Pet =D Bed -D ROI
[0085] Step C: Automatic dose exposure setting.
[0086] According to the calculated body thickness value, the corresponding exposure dose is found, the corresponding dose and exposure conditions are found in the mapping table, and the body thickness value and the corresponding dose and exposure conditions are displayed on the operation interface. The pre-exposure dose is set through the RS232 serial port communication method, so that the X-ray generating device 1 changes the exposure dose and puts the device in a state ready for exposure.
[0087] Based on the above steps, the operation of intelligent body thickness measurement and fully automatic dose setting of the pet to be examined is completed. The veterinarian only needs to press the exposure handle 5 to complete the exposure operation and collect clinical images that meet the diagnosis needs.
[0088] like Figure 2 As shown, the device of the present invention comprises:
[0089] Intelligent body thickness collection device: a device used to collect and calculate body thickness;
[0090] Effective body thickness measurement area correction module: obtains the effective body thickness measurement area through correction;
[0091] Intelligent body thickness calculation module: calculates the body thickness of the pet to be tested in real time;
[0092] Automatic dose exposure setting module: sets X-ray exposure parameters according to body thickness value and sets them to the X-ray generator;
[0093] X-ray generator: a device that generates X-rays;
[0094] X-ray imaging system module: a computer software system that can generate X-ray images and can be operated by users.
[0095] The working mode of each module and unit corresponds to the method operation steps in the method embodiment, and will not be repeated here.
[0096] The modules and units described in the embodiment of the present invention may or may not be physically separated, and some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment. According to the above steps of the present invention, ordinary technicians in this field can understand and implement without creative work.
Claims
1. A method for intelligent body thickness measurement and automatic dose setting of pet DR, characterized in that: The following steps are involved: Effective body thickness measurement area correction: Correct and obtain the imaging area of effective body thickness measurement in the device; Intelligent body thickness calculation: Use intelligent cameras to collect images and calculate the body thickness of pets in the system; Automatic dose exposure setting: According to the required exposure part of the pet, using its body thickness information, it automatically feeds back and sets the required exposure dose and exposure conditions; The intelligent body thickness calculation is as follows: Depth image acquisition: Using smart cameras to obtain the depth image of the pet to be examined by the DR device in real time; Acquisition of effective imaging area: Using the effective body thickness measurement area obtained by correction, image data of the effective calculation area is intercepted in the depth image; Body thickness measurement: Based on the pet's depth image, the current body thickness value of the pet to be inspected is calculated in real time; The depth image acquisition is specifically as follows: Install and use a smart camera in the DR device, and start the camera through the host computer acquisition software to collect depth images within the camera imaging range in real time; The effective imaging area is obtained as follows: According to the corrected effective body thickness measurement area, the effective body thickness measurement area in the image is obtained in the real-time acquired depth image; The body thickness measurement is as follows: The depth camera collects the depth values of all objects within the field of view to form a depth image; according to the effective body thickness measurement area, the depth data of the effective body thickness measurement area is obtained. , calculate the histogram of the depth values in the area: ; in is the total number of pixels, Depth level The number of pixels, Indicates the depth level is Histogram of ; A determination threshold is set, and in the histogram area that satisfies a value greater than the determination threshold, a minimum depth value is obtained, that is, a depth value of the area of interest of the pet to be detected; The formula for the histogram area greater than the judgment threshold is as follows: Among them, the formula represents the collection of histogram regions that meet the threshold, Corresponding to the depth value that meets the threshold; Minimum depth value The calculation formula is: That is, the measured depth value of the area of interest; Through threshold segmentation, the pet imaging part and the bed part in the depth image are obtained, and the average depth value of the bed part is obtained. ; The thickness of the pet to be tested ; The calculation formula is as follows: 。 2. A method for pet DR intelligent body thickness measurement and automatic dose setting according to claim 1, characterized in that: The effective body thickness measurement area correction is as follows: Using the beam limiter light field in the pet DR device, four rigid linear objects are placed so that they are just located at the edge of the light field. The installed smart camera is used to collect RGB images, and the position of the beam limiter light field range in the camera imaging is calculated, that is, the effective body thickness measurement area.
3. According to the method of pet DR intelligent body thickness measurement and automatic dose setting as described in claim 1, it is characterized in that: The automatic dose exposure settings are as follows: According to the calculated body thickness value, the corresponding exposure dose is found, the corresponding dose and exposure conditions are found in the mapping table, and the body thickness value and the corresponding dose and exposure conditions are displayed on the operation interface. The pre-exposure dose is set through the RS232 serial port communication method to put the equipment in a state ready for exposure.
4. A device for intelligent body thickness measurement and automatic dosage setting of pet DR, used in the method for intelligent body thickness measurement and automatic dosage setting of pet DR according to claim 1, characterized in that: include: Intelligent body thickness collection device: a device used to collect and calculate body thickness; Effective body thickness measurement area correction module: obtains the effective body thickness measurement area through correction; Intelligent body thickness calculation module: calculates the body thickness of the pet to be tested in real time; Automatic dose exposure setting module: sets X-ray exposure parameters according to body thickness value and sets them to the X-ray generator; X-ray generator: a device that generates X-rays; X-ray imaging system module: a computer software system that can generate X-ray images and can be operated by users.
5. A device for intelligent body thickness measurement and automatic dosage setting of pet DR according to claim 4, characterized in that: The intelligent body thickness collection device is specifically: An intelligent camera device capable of collecting RGB images and depth images in real time is used, installed in a beam limiter, and connected to a computer system; the camera is started by computer acquisition software to perform intelligent body thickness acquisition.
6. A device for intelligent body thickness measurement and automatic dosage setting of pet DR according to claim 5, characterized in that: The effective body thickness measurement area correction module is specifically: Set the correction method and correction object, use the beam limiter light field in the pet DR device, place four rigid linear objects so that they are just located at the edge of the light field, and calculate the position of the beam limiter light field range in the camera imaging in the real-time acquired RGB image, that is, the effective body thickness measurement area.
7. A device for intelligent body thickness measurement and automatic dosage setting of pet DR according to claim 5, characterized in that: The intelligent body thickness calculation module specifically includes: Depth image acquisition unit: The computer acquisition software starts the camera to obtain the depth image data of the pet to be examined by the DR device in real time; An effective imaging area acquisition unit: acquires an effective body thickness measurement area in real-time depth image data according to the effective body thickness measurement area; Body thickness measurement unit: In the effective body thickness measurement area, the depth value of the area of interest of the pet to be inspected and the depth value of the DR device bed are calculated, and the depth difference between the two is used as the current body thickness value of the pet to be inspected.
8. The device for intelligent body thickness measurement and automatic dosage setting of pet DR according to claim 5, characterized in that: The automatic dose exposure setting module is specifically: According to the body thickness value calculated by the software, the corresponding dose and exposure conditions are found in the mapping table, and the body thickness value and the corresponding dose and exposure conditions are displayed on the operation interface. The pre-exposure dose is set through the RS232 serial port communication method to put the equipment in a state ready for exposure.
