Michael Murray, McCavana J, Eamon Loughman. PyDAP: Automated dental OPG beam area measurement using python and raspberry Pi camera.
Phys Med 2024;
120:103338. [PMID:
38554638 DOI:
10.1016/j.ejmp.2024.103338]
[Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 05/16/2023] [Revised: 03/16/2024] [Accepted: 03/25/2024] [Indexed: 04/02/2024] Open
Abstract
INTRODUCTION
This study investigates if inexpensive computer hardware, open-source computer vision and a phosphor screen from disused CR (computed radiography) Cassette can be used to quantitatively assess beam shape and area.
MATERIALS AND METHODS
The phosphor screen was affixed to a Carestream CS 8100 dental OPG system and the camera was mounted above the X-ray tube. Videos were acquired of the green light emissions during the tomographic irradiation. Images of a chessboard pattern, attached to the detector were used to correct for camera angulation and provide image pixel size calibration. K-Means colour clustering was used to define beam area. The effect of light conditions on beam dimension measurement was also investigated. The beam width measurement from optimised methodology was compared with that determined from dose calibrated GAFChromicTM XR-SP2film.
RESULTS
Videos in dark conditions provided the most reproducible results. FW20M gained from initial sampling matched that obtained using the GAFChromicTM film within the errors of the measurements,6.41 ± 0.09 mm FW20M from this methodology,compared with FW20M (full width at 20 % of maximum) 6.4 ± 0.1 mm from film. The height and area were 126 ± 0.22 mm and 807 ± 11 mm2 respectively. The chess pattern imaging provided a robust means of perspective correction and pixel calibration. There is potential for this methodology to be employed using any digital camera, provided the camera acquisition settings remain constant, the sensor pixels are square, and the camera position is fixed.
CONCLUSION
The potential of this low-cost open-source method of beam area measurement using computer vision is thus proven.
Collapse