US 12,347,082 B2
Optical fiber image calibration method and apparatus, and computer-readable storage medium
Qiong He, Suzhou (CN); Jinhua Shao, Suzhou (CN); Jin Sun, Suzhou (CN); and Di Bai, Suzhou (CN)
Assigned to WUXI HISKY MEDICAL TECHNOLOGIES CO., LTD., Jiangsu (CN); and SUZHOU MICROVIEW MEDICAL TECHNOLOGIES CO., LTD., Jiangsu (CN)
Filed by WUXI HISKY MEDICAL TECHNOLOGIES CO., LTD., Suzhou (CN); and SUZHOU MICROVIEW MEDICAL TECHNOLOGIES CO., LTD., Suzhou (CN)
Filed on Jan. 26, 2024, as Appl. No. 18/424,052.
Application 18/424,052 is a continuation of application No. PCT/CN2022/108040, filed on Jul. 26, 2022.
Claims priority of application No. 202110856709.1 (CN), filed on Jul. 28, 2021.
Prior Publication US 2024/0169505 A1, May 23, 2024
Int. Cl. G06T 5/92 (2024.01); G06T 5/50 (2006.01)
CPC G06T 5/92 (2024.01) [G06T 5/50 (2013.01); G06T 2207/20224 (2013.01)] 11 Claims
OG exemplary drawing
 
1. An optical fiber image correction method, comprising:
obtaining a current optical fiber image and a central reference position of an optical fiber, wherein, the current optical fiber image is an optical fiber image acquired at the current moment, the optical fiber comprises a plurality of optical fiber units, and the central reference position of the optical fiber comprises a central reference position of each optical fiber unit;
in the current optical fiber image, correcting a central position of each optical fiber unit in the current optical fiber image according to a position difference condition between the central reference position of the optical fiber and a target position determined based on gray values in a neighboring range of the central reference position of the optical fiber; and
correcting brightness of the current optical fiber image that has completed a position correction according to a currently determined brightness correction coefficient;
wherein:
“in the current optical fiber image, correcting a central position of each optical fiber unit in the current optical fiber image according to a position difference condition between the central reference position of the optical fiber and a target position determined based on gray values in a neighboring range of the central reference position of the optical fiber”, comprises:
in the current optical fiber image, determining a position with the maximum gray value in each neighboring range by taking the central reference position of each optical fiber unit as an origin and searching in the neighboring range of each origin separately;
correcting a central position of each optical fiber unit in the current optical fiber image according to position difference condition between the position with the maximum gray value in each neighboring range and the central reference position of each optical fiber unit in the current optical fiber image;
the brightness correction coefficient is determined by the following steps:
obtaining a pre-stored gain coefficient and a pre-stored bias coefficient, and determining the brightness correction coefficient according to the pre-stored gain coefficient and the pre-stored bias coefficient; or
determining a gain coefficient and a bias coefficient by performing regression and fitting on gray values of a series of optical fiber images changing over time; determining the brightness correction coefficient based on a determined gain coefficient and a determined bias coefficient.