This application provides a method, apparatus, electronic device, and storage medium for determining the morphology of the anterior chamber angle. The method first acquires UBM images of the left and right eyes and segments the
cornea, iris, and lens. Then, it calculates the closest and furthest distances between the first iris and the corneal reference center point in the target direction, and determines whether an anterior chamber angle is closed or open based on the ratio of the two distances and a first threshold. This method transforms the angle problem into a distance problem for measurement, thus making the determination result more accurate, simple, and efficient. When the first anterior chamber angle is open, the first anterior chamber angle is corrected based on the second initial angle of the mirrored second anterior chamber angle and the mirror similarity between the left and right eye UBM images to obtain the
target angle. Then, it determines whether it is a
narrow angle or an open angle based on the
target angle and the second threshold. Since the
target angle integrates mirror and similarity factors, the error is effectively reduced, and the determination accuracy is significantly improved.