A Clinical Pupil Aperture Measurement Method Based on MATLAB
The diagnosis of various diseases such as coma,poisoning,heart failure,and traumatic brain injury can be achieved by the medical staff's observation of the pupil aperture size and its dynamic changes.With the advantages of objectivity,non-invasive,and easy operation,pupil examination has become one of the commonly used disease detection methods in clinical practice.At present,visual or pupil rulers,as subjective evaluation methods for pupil status in clinical practice,are simple to operate,but they have disadvantages such as low detection sensitivity,low measurement accuracy,and poor reproducibility of measurement values.Especially when the pupil size of critically ill patients undergoes minor changes,it is difficult to accurately and timely monitor the pupil status,which can lead to patients missing the optimal treatment window period.In response to the problem of pseudo boundary point interference in the accuracy of pupil aperture measurement,in this study,with the use of MATLAB as a software platform for pupil image process,image gray conversion,gaussian filtering denoising,binarization processing,edge detection and other steps were used to obtain the pupil contour coordinates.In addition,accurate removal of pseudo boundary points was achieved by constructing a pseudo boundary point detection model,and on this basis,the least squares circle fitting method was used to calculate the pupil aperture.The experimental results showed that compared with traditional methods,this research method can effectively reduce the impact of external interference on pupil aperture measurement.The measurement accuracy was improved by about 6.1%compared to traditional methods,and the measurement time was reduced by about 0.52 seconds compared to traditional methods,with a high clinical application value.
PupilsPseudo boundary pointsLeast squares circle fittingHough transformcriterion