OCT scanning method
By acquiring B-scan images during OCT scanning and determining the scan correction amount based on the images, the scan center is adjusted, thus solving the problem of insufficient imaging accuracy of pupil cameras and achieving higher OCT scanning accuracy and image quality.
Patent Information
- Application Number
- CN202311813440.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2043-12-26
AI Technical Summary
Existing OCT scanning methods based on pupil cameras or fundus imaging have limitations in resolution and imaging clarity, resulting in poor accuracy in tracking human eyes.
By controlling OCT to scan the eye under examination based on the target scan line, a B-scan image is obtained. The scan correction amount is determined based on the image, and the scan center of OCT is corrected before scanning, including determining the corneal vertex or other reference point as the scan center, and adjusting the scan position using layering and fitting algorithms.
It improves the accuracy and image quality of OCT eye tracking, surpassing the resolution and imaging clarity of pupil cameras.
Smart Images

Figure CN117752297B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of OCT technology, and in particular to an OCT scanning method. Background Technology
[0002] Optical coherence tomography (OCT) is a three-dimensional tomographic imaging technique that uses scans of the human eye to obtain OCT images that can accurately determine the location of eye lesions.
[0003] In existing technologies, the positioning and tracking of the human eye's movement are generally based on pupil cameras or fundus images to guide OCT to track and scan the human eye to obtain OCT images.
[0004] However, the resolution and image clarity of images obtained from pupil cameras or fundus imaging are limited, resulting in poor accuracy in tracking human eyes. Summary of the Invention
[0005] Therefore, it is necessary to provide an OCT scanning method to address the aforementioned technical problems, which can effectively improve the accuracy of OCT tracking of the human eyeball, thereby improving the image quality of the obtained OCT images.
[0006] Firstly, this application provides an OCT scanning method. The method includes:
[0007] The OCT is controlled to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line; the scan correction amount is determined based on the obtained B-scan image; before scanning the eye under examination based on the current scan line, the first scan center of the OCT is corrected according to the scan correction amount.
[0008] In one embodiment, the target scan line includes a first scan line that passes through the first scan center.
[0009] In one embodiment, the target scan line further includes a second scan line that also passes through the first scan center and is perpendicular to the first scan line.
[0010] In one embodiment, determining the scan correction amount based on the acquired B-scan image includes: determining a first offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line; and determining the scan correction amount based on the first offset.
[0011] In one embodiment, determining the scan correction amount based on the acquired B-scan image includes: determining a first offset and a second offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line, and the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line; and determining the scan correction amount based on the first offset and the second offset.
[0012] In one embodiment, determining the scan correction amount based on the first offset and the second offset includes: determining the distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line based on the first offset and the second offset; and determining the scan correction amount based on the distance and the angle.
[0013] In one embodiment, the scan correction amount includes a first direction scan correction amount and a second direction scan correction amount. The correction processing of the first scan center of the OCT according to the scan correction amount includes: performing correction processing of the first scan center of the OCT in a first direction according to the first direction scan correction amount; and performing correction processing of the first scan center of the OCT in a second direction according to the second direction scan correction amount.
[0014] In one embodiment, before correcting the first scan center of the OCT according to the scan correction amount, the method further includes: if scanning the eye being examined is scanning the anterior segment of the eye being examined, then determining the corneal apex of the eye being examined as the first scan center of the OCT; if scanning the eye being examined is scanning the posterior segment of the eye being examined, then determining the first scan center of the OCT based on the macula and / or optic disc of the eye being examined, or determining the first scan center of the OCT based on the lowest point in the RPE layer of the eye being examined.
[0015] In one embodiment, the method further includes: determining the corneal location based on a layering algorithm; performing a fitting process on the corneal surface based on a fitting algorithm to obtain a corneal surface fitting line; and determining the vertex of the corneal surface fitting line as the corneal vertex location.
[0016] In one embodiment, the method further includes: before scanning the eye under examination based on the current scan line, correcting the position of the scanning galvanometer of the OCT according to the scan correction amount.
[0017] Secondly, this application also provides an OCT scanning device. The device includes:
[0018] The acquisition module is used to control the OCT to scan the examined eye based on the target scan line in order to obtain the B-scan image corresponding to the target scan line;
[0019] The first determining module is used to determine the scan correction amount based on the acquired B-scan image;
[0020] The execution module is used to perform correction processing on the first scan center of OCT according to the scan correction amount before scanning the eye under examination based on the current scan line.
[0021] In one embodiment, the scanning device further includes a second determining module, configured to determine the corneal apex of the eye being examined as the first scanning center of the OCT if scanning the eye being examined involves scanning the anterior segment of the eye being examined; or to determine the first scanning center of the OCT based on the macula and / or optic disc of the eye being examined if scanning the eye being examined involves scanning the posterior segment of the eye being examined, or to determine the first scanning center of the OCT based on the lowest point in the RPE layer of the eye being examined.
[0022] In one embodiment, the target scan line includes a first scan line that passes through the first scan center.
[0023] In one embodiment, the target scan line further includes a second scan line that also passes through the first scan center and is perpendicular to the first scan line.
[0024] In one embodiment, the first determining module is specifically configured to determine a first offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line; and determine the scan correction amount based on the first offset.
[0025] In one embodiment, the first determining module is specifically used to determine a first offset and a second offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line, and the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line; and to determine the scan correction amount based on the first offset and the second offset.
[0026] In one embodiment, the first determining module is specifically configured to determine the distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line based on the first offset and the second offset; and to determine the scan correction amount based on the distance and the angle.
[0027] In one embodiment, the execution module is specifically configured to perform correction processing on the first scan center of the OCT in a first direction according to the first direction scan correction amount; and to perform correction processing on the first scan center of the OCT in a second direction according to the second direction scan correction amount.
[0028] In one embodiment, the first determining module is specifically used to determine the corneal position based on a layering algorithm; to perform fitting processing on the corneal surface based on a fitting algorithm to obtain a corneal surface fitting line; and to determine the vertex of the corneal surface fitting line as the corneal vertex position.
[0029] In one embodiment, the execution module is specifically configured to correct the position of the scanning galvanometer of the OCT according to the scan correction amount before scanning the eye under examination based on the current scan line.
[0030] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform any of the steps described in the first aspect above.
[0031] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs any of the steps described in the first aspect above.
[0032] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, implements any of the steps described in the first aspect above.
[0033] The aforementioned OCT scanning method first controls the OCT to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line. Then, a scan correction amount is determined based on the obtained B-scan image. Before scanning the eye under examination based on the current scan line, the first scan center of the OCT is corrected according to the scan correction amount. The OCT scanning method provided in this application first determines the scan correction amount based on the B-scan image corresponding to the target scan line, and then corrects the scan center of the OCT based on the scan correction amount to achieve eye-tracking scanning. Since the scan correction amount is determined based on the B-scan image, and the resolution and imaging clarity of the OCT are superior to those of a pupil camera, guiding the OCT to track the human eye based on the B-scan image of the OCT can effectively improve the accuracy of eye-tracking. Attached Figure Description
[0034] Figure 1 This is a flowchart illustrating an OCT scanning method in one embodiment;
[0035] Figure 2 This is a flowchart illustrating a method for determining the scan correction amount based on the acquired B-scan image in one embodiment.
[0036] Figure 3 This is a flowchart illustrating a method for determining the scan correction amount based on the acquired B-scan image in another embodiment;
[0037] Figure 4 This is a flowchart illustrating a method for determining the scan correction amount based on the first offset and the second offset in one embodiment.
[0038] Figure 5 This is a flowchart illustrating a method for correcting the first scan center of an OCT scan based on the scan correction amount in one embodiment.
[0039] Figure 6 This is a flowchart illustrating a method for determining the corneal apex position in a B-scan image in one embodiment;
[0040] Figure 7 This is a flowchart illustrating a scanning method in one embodiment where the target scan line only includes the first scan line;
[0041] Figure 8 This is a flowchart illustrating a scanning method in one embodiment, where the target scan line includes a first scan line and a second scan line.
[0042] Figure 9 This is a structural block diagram of an OCT scanning device in one embodiment;
[0043] Figure 10 This is a structural block diagram of an OCT scanning device in another embodiment;
[0044] Figure 11 This is an internal structural diagram of a computer device in one embodiment;
[0045] Figure 12 This is a schematic diagram of a scanning method in one embodiment;
[0046] Figure 13 This is a schematic diagram illustrating the determination of scan correction amounts in one embodiment;
[0047] Figure 14 This is a schematic diagram of a B-scan image in one embodiment;
[0048] Figure 15 This is a schematic diagram illustrating the determination of the scan correction amount in another embodiment. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0050] Optical coherence tomography (OCT) is a three-dimensional tomographic imaging technique that uses OCT images of the anterior segment of the eye obtained by scanning the human eyeball to accurately determine the location of corneal lesions.
[0051] In existing technologies, the positioning and tracking of the human eye's movement are generally based on a pupil camera to guide OCT to track and scan the human eye to obtain an anterior segment OCT image.
[0052] However, due to limitations in the resolution and image clarity of pupil cameras, the accuracy of OCT tracking of human eyes based on pupil cameras is relatively poor.
[0053] In view of this, this application provides an OCT scanning method that can effectively improve the accuracy of OCT tracking of human eyeballs.
[0054] The OCT scanning method provided in this application embodiment can be executed by a computer device, which can be a server.
[0055] In one embodiment, such as Figure 1 As shown, an OCT scanning method is provided, which includes the following steps:
[0056] Step 101: Control the OCT to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line.
[0057] The B-scan image, also known as a two-dimensional cross-sectional image, is generated by scanning the examined eye laterally with an OCT beam.
[0058] In one possible implementation, the operator can first determine the target scan line according to actual needs, and then control the OCT to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line.
[0059] In another possible implementation, the scanning mode of the OCT can be determined first, the target scan line can be determined based on the scanning mode, and then the OCT can be controlled to scan the eye being examined based on the target scan line to obtain the B-scan image corresponding to the target scan line.
[0060] Step 102: Determine the scan correction amount based on the obtained B-scan image.
[0061] In one possible implementation, the OCT can be controlled according to... Figure 12 The scanning method shown is used to scan the eye being examined. Figure 12 The number in the OCT is used to characterize the scanning order. For example, when scanning the eye being examined, the OCT can first determine a target location within the eye, which corresponds to the scanning sequence. Figure 12 The scanning center in the middle, Figure 12 The intersection of all scan lines is the scan center. During the first scan, the OCT is controlled to scan the eye under examination according to scan line number 1, which is the target scan line. During the second scan, the OCT is controlled to scan the eye under examination according to scan line number 2. In the actual scanning process, since the eye under examination is in motion, the scan center may no longer be in the target position during the second scan. Therefore, the offset can be determined first based on the B-scan image obtained in the second scan. This offset refers to the offset between the scan center and the target position. Then, the scan correction amount is determined based on the offset. This scan correction amount is used to correct the position of the scan center so that the scan center is in the target position again.
[0062] Step 103: Before scanning the eye under examination based on the current scan line, the first scan center of the OCT is calibrated according to the scan correction amount.
[0063] Optionally, the first scanning center is the same as the scanning center mentioned above.
[0064] In one possible implementation, as described above, the first scan center may no longer be in the target position during the second scan. Therefore, the scan correction amount can be determined based on the B-scan image obtained from the second scan, and the first scan center of the OCT can be corrected based on the scan correction amount. After the correction, the OCT can be controlled to scan the examined eye according to the scan line numbered 3.
[0065] In another possible implementation, as described above, the first scan center may no longer be at the target position during the second scan. Therefore, the scan correction amount can be determined based on the B-scan image obtained from the second scan. During the determination of the scan correction amount, the OCT can continue to execute the scanning process, that is, the OCT continues to execute the scanning process according to the scanning sequence. Suppose that the scan correction amount is determined during the OCT's execution of the scanning process according to scan line number 5, then before the OCT executes the scanning process according to scan line number 6, the first scan center of the OCT is first corrected according to the scan correction amount, and then the OCT is controlled to execute the scanning process according to scan line number 6.
[0066] The aforementioned scanning method controls the OCT to scan the eye under examination based on a target scan line to obtain a B-scan image corresponding to the target scan line. A scan correction amount is determined based on the obtained B-scan image. Before scanning the eye under examination based on the current scan line, the first scan center of the OCT is corrected according to the scan correction amount. The scanning method provided in this application first determines the scan correction amount based on the B-scan image corresponding to the target scan line, and then corrects the scan center of the OCT based on the scan correction amount to achieve eye-tracking scanning. Since the scan correction amount is determined based on the B-scan image, and the resolution and imaging clarity of the OCT are superior to those of a pupil camera, guiding the OCT to track the human eye based on the B-scan image of the OCT can effectively improve the accuracy of eye-tracking.
[0067] In an optional embodiment of this application, before correcting the first scan center of the OCT according to the scan correction amount, the method further includes: if scanning the eye being examined is scanning the anterior segment of the eye being examined, then the corneal apex of the eye being examined is determined as the first scan center of the OCT; if scanning the eye being examined is scanning the posterior segment of the eye being examined, then the first scan center of the OCT is determined according to the macula and / or optic disc of the eye being examined, or according to the lowest point in the RPE layer of the eye being examined.
[0068] In one possible implementation, if the OCT is controlled to scan the anterior segment of the eye under examination based on the target scan line, the corneal apex of the eye under examination can be determined as the first scan center of the OCT, and the anterior segment of the eye under examination includes at least the pupil, cornea, and iris structure.
[0069] It should be noted that, in this embodiment of the application, the anterior segment of the eye being examined is scanned, and the corneal apex of the eye being examined is determined as the first scanning center of the OCT.
[0070] In another possible implementation, if the posterior segment of the eye being examined is scanned, and the posterior segment of the eye being examined includes at least the retinal structure, a point on the macular region or optic disc region of the eye being examined can be determined as the first scanning center of the OCT. Preferably, the center of the macular region or the center of the optic disc can be selected as the first scanning center. Alternatively, the first scanning center of the OCT can be determined based on the macular region and the optic disc region of the eye being examined. Preferably, a point can be determined as the first scanning center based on the straight line where the center of the macular region and the center of the optic disc are located.
[0071] In another possible implementation, if the OCT is controlled to scan the posterior segment of the eye under examination based on multiple scan lines in the scan line group, the B-scan image of the eye under examination can be acquired first, and then the signal intensity maps of multiple A-scan images corresponding to the B-scan image can be acquired. Based on the multiple signal intensity maps, a target A-scan image is determined from the multiple A-scan images. The target A-scan image is the A-scan image with the largest depth position of the minimum signal intensity among the multiple A-scan images. The position of the target A-scan image in the B-scan image is determined as the lowest point position in the retinal pigment epithelium (RPE) layer in the first B-scan image, and the lowest point position in the RPE layer is determined as the first scan center.
[0072] In another possible implementation, the position of the RPE layer can be determined based on a layering algorithm, and then the RPE layer can be fitted using a fitting algorithm to obtain an RPE layer fitting line. The low point of the RPE layer fitting line is determined as the lowest point in the RPE layer, and the lowest point in the RPE layer is determined as the first scan center.
[0073] It should be noted that if the lowest point in the RPE layer of the examined eye is determined as the first scanning center of the OCT, the method for determining the correction amount of the first scanning center during the scanning process is the same as the method for determining the correction amount when the corneal apex is determined as the first scanning center, and the process of correcting the first scanning center according to the correction amount is also the same, which will not be repeated in the following text.
[0074] In one embodiment, the target scan line includes a first scan line that passes through the first scan center.
[0075] In one possible implementation, such as Figure 12As shown, if the target scan line only includes the first scan line, it can be understood that each time a scan process is executed, the B-scan image corresponding to the target scan line is acquired, and the scan correction amount is determined based on the acquired B-scan image. Finally, the first scan center of the OCT is corrected based on the scan correction amount. For example, when controlling the OCT to execute the scan process according to the scan line numbered 1, the scan line numbered 1 is determined as the target scan line. After controlling the OCT to execute the scan process according to the target scan line, the B-scan image corresponding to the target scan line is acquired to determine the scan correction amount, and the first scan center of the OCT is corrected based on the scan correction amount. When controlling the OCT to execute the scan process according to the scan line numbered 2, the scan line numbered 2 is determined as the target scan line. After controlling the OCT to execute the scan process according to the target scan line, the B-scan image corresponding to the target scan line is acquired to determine the scan correction amount, and the first scan center of the OCT is corrected based on the scan correction amount.
[0076] In one embodiment, such as Figure 2 As shown, determining the scan correction amount based on the acquired B-scan image includes the following steps:
[0077] Step 201: Determine the first offset based on the obtained B-scan image.
[0078] Optionally, the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line.
[0079] In one possible implementation, the corneal position can be determined based on a layering algorithm and the B-scan image, and then a corneal surface fitting line can be determined based on a fitting algorithm. The vertex of the corneal surface fitting line is the corneal vertex position. The first offset can be determined based on the corneal vertex position and the current first scan center. The distance between the corneal vertex position and the current first scan center is the first offset.
[0080] Step 202: Determine the scan correction amount based on the first offset.
[0081] Optionally, the scan correction may include x-axis correction and y-axis correction.
[0082] In one possible implementation, such as Figure 13 As shown, assuming the first offset is I0 and the angle between the first scan line and the x-axis is α, then the x-axis correction is I0cosα and the y-axis correction is I0sinα.
[0083] In an optional embodiment of this application, after determining the scan correction amount, the first scan center of the OCT also needs to be corrected according to the scan correction amount.
[0084] In one possible implementation, the position of the first scanning center may include an x-axis coordinate position and a y-axis coordinate position. The x-axis coordinate position is corrected according to the x-axis correction amount to obtain the corrected target x-axis coordinate position. Specifically, the x-axis correction amount and the x-axis coordinate position can be superimposed to obtain the target x-axis coordinate position. Similarly, the y-axis coordinate position is corrected according to the y-axis correction amount to obtain the corrected target y-axis coordinate position.
[0085] In an optional embodiment of this application, the method further includes: before scanning the eye under examination based on the current scan line, correcting the position of the scanning galvanometer of the OCT according to the scan correction amount.
[0086] In one possible implementation, the scanning position is controlled by the OCT control system (optionally a central controller) by controlling the positions of the scanning mirrors in the x-direction and y-direction. Therefore, the position of the scanning mirrors of the OCT also needs to be corrected. Specifically, the x-axis scanning correction amount and the y-axis correction amount are superimposed on the preset scanning position of the corresponding mirror, and the scanning mirrors are controlled based on the obtained actual scanning position.
[0087] In one embodiment, the target scan line further includes a second scan line that also passes through the first scan center and is perpendicular to the first scan line.
[0088] In one possible implementation, such as Figure 12As shown, if the target scan line includes a first scan line and a second scan line, it can be understood that the B-scan image corresponding to the target scan line is acquired only after every two scan cycles. The scan correction amount is determined based on the acquired B-scan image, and finally, the first scan center of the OCT is corrected based on this scan correction amount. For example, first, the OCT is controlled to execute the scan cycle according to scan line number 1, and then the OCT is controlled to execute the scan cycle according to scan line number 2. Scan line number 1 and scan line number 2 are determined to be the first scan line and the second scan line, respectively. After controlling the OCT to execute the scan cycle according to the second scan line, the B-scan image corresponding to the target scan line is acquired. The B-scan images corresponding to the first scan line and the second scan line are used to determine the scan correction amount. Then, the first scan center of the OCT is corrected according to the scan correction amount. After controlling the OCT to execute the scan process according to the scan line numbered 3, the OCT is then controlled to execute the scan process according to the scan line numbered 4. The scan line numbered 3 and the scan line numbered 4 are determined to be the first scan line and the second scan line, respectively. After controlling the OCT to execute the scan process according to the second scan line, the B-scan images corresponding to the first scan line and the second scan line are obtained to determine the scan correction amount. Then, the first scan center of the OCT is corrected according to the scan correction amount.
[0089] In one embodiment, such as Figure 3 As shown, determining the scan correction amount based on the acquired B-scan image includes the following steps:
[0090] Step 301: Determine the first offset and the second offset based on the obtained B-scan image.
[0091] Optionally, the first offset is the distance between the corneal vertex and the current first scan center along the direction of the first scan line.
[0092] In one possible implementation, the corneal vertex position can be determined in the B-scan image corresponding to the first scan line, and the distance between the corneal vertex position and the current first scan center is the first offset.
[0093] Optionally, the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line.
[0094] In one possible implementation, the corneal vertex position can be determined in the B-scan image corresponding to the second scan line, and the distance between the corneal vertex position and the current first scan center is the second offset.
[0095] Step 302: Determine the scan correction amount based on the first offset and the second offset.
[0096] In one possible implementation, the scan correction amount can be determined based on algorithmic processing of the first offset and the second offset.
[0097] In one embodiment, such as Figure 4 As shown, determining the scan correction amount based on the first offset and the second offset includes the following steps:
[0098] Step 401: Determine the distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line based on the first offset and the second offset.
[0099] In one possible implementation, such as Figure 15 As shown, X' is the first scan line, Y' is the second scan line, the first offset is I0, the second offset is I1, the angle between the first scan line and the x-axis is alpha, the angle between the direction of the examined eye and the first scan line is theta, and the distance of the examined eye from the center of the first scan line is R. Then I0 = R × cos(theta), I1 = R × sin(theta). Combining these equations, we can obtain... R = sqrt(I0×I0+I1×I1).
[0100] Step 402: Determine the scan correction amount based on the distance and the included angle.
[0101] Optionally, the scan correction amount includes a first-direction scan correction amount and a second-direction scan correction amount.
[0102] In one possible implementation, the first direction scan correction amount is also the x-axis scan correction amount, which is R×cos(alpha+theta), and the second direction scan correction amount is also the y-axis scan correction amount, which is R×sin(alpha+theta).
[0103] In one embodiment, such as Figure 5 As shown, the correction process for the first scan center of the OCT based on the scan correction amount includes the following steps:
[0104] Step 501: Correct the first scan center of the OCT in the first direction according to the first direction scan correction amount.
[0105] Step 502: Correct the first scan center of the OCT in the second direction according to the second direction scan correction amount.
[0106] In one possible implementation, the scanning center of the OCT is corrected in the x-direction according to the x-axis scanning correction amount, and the scanning center of the OCT is corrected in the y-direction according to the y-axis scanning correction amount. Specifically, the position of the first scanning center may include an x-axis coordinate position and a y-axis coordinate position. The x-axis coordinate position is corrected according to the x-axis correction amount to obtain the corrected target x-axis coordinate position, that is, the x-axis correction amount is superimposed on the x-axis coordinate position to obtain the target x-axis coordinate position. Similarly, the y-axis coordinate position is corrected according to the y-axis correction amount to obtain the corrected target y-axis coordinate position, that is, the y-axis correction amount is superimposed on the y-axis coordinate position to obtain the target y-axis coordinate position.
[0107] In an optional embodiment of this application, the method further includes: before scanning the eye under examination based on the current scan line, correcting the position of the scanning galvanometer of the OCT according to the scan correction amount.
[0108] In one possible implementation, the scanning position is controlled by the OCT control system (optionally a central controller) by controlling the positions of the scanning mirrors in the x-direction and y-direction. Therefore, the position of the scanning mirrors of the OCT also needs to be corrected. Specifically, the x-axis scanning correction amount and the y-axis correction amount are superimposed on the preset scanning position of the corresponding mirror, and the scanning mirrors are controlled based on the obtained actual scanning position.
[0109] In one embodiment, such as Figure 6 As shown, determining the corneal apex location in this B-scan image includes the following steps:
[0110] Step 601: Determine the corneal location based on the layered algorithm.
[0111] In one possible implementation, the location of the anterior or posterior corneal surface can be determined using a deep learning-based layering algorithm.
[0112] In another possible implementation, the location of the anterior or posterior corneal surface can be determined based on a shortest path hierarchical algorithm.
[0113] Step 602: Fit the corneal surface using a fitting algorithm to obtain a corneal surface fitting line.
[0114] In one possible implementation, the anterior corneal surface can be fitted using a fitting algorithm to obtain a fitted line for the anterior corneal surface, such as... Figure 14 As shown, Figure 14 Line A1 in the diagram is the fitting line for the anterior surface of the cornea.
[0115] In another possible implementation, the posterior corneal surface can be fitted using a fitting algorithm to obtain a fitted line for the posterior corneal surface.
[0116] Step 603: Determine the vertex of the fitted line on the corneal surface as the corneal vertex position.
[0117] In one possible implementation, the fitted line to the anterior corneal surface is a parabola, and the vertex of the fitted line can be determined as the vertex position of the cornea.
[0118] In another possible implementation, the fitted line to the posterior corneal surface is a parabola, and the vertex of the fitted line can be determined as the vertex position of the cornea.
[0119] In one embodiment, such as Figure 7 As shown, another OCT scanning method is provided, in which the target scan line includes only the first scan line. The method includes the following steps:
[0120] Step 701: Control the OCT to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line. The target scan line includes a first scan line that passes through the first scan center.
[0121] Step 702: Determine the first offset based on the B-scan image.
[0122] Step 703: Determine the scan correction amount based on the first offset.
[0123] Step 704: Before scanning the eye under examination based on the current scan line, the first scan center and scanning galvanometer of the OCT are corrected according to the scan correction amount.
[0124] In one embodiment, such as Figure 8 As shown, another OCT scanning method is provided, wherein the target scan line of the OCT scanning method includes a first scan line and a second scan line, and the method includes the following steps:
[0125] Step 801: Control the OCT to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line. The target scan line includes a first scan line and a second scan line. The first scan line passes through the first scan center, and the second scan line also passes through the first scan center and is perpendicular to the first scan line.
[0126] Step 802: Determine a first offset and a second offset based on the B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line, and the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line.
[0127] Step 803: Determine the distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line based on the first offset and the second offset; determine the scan correction amount based on the distance and the angle.
[0128] Step 804: Before scanning the eye under examination based on the current scan line, the first scan center of the OCT is corrected in the first direction according to the first direction scan correction amount; the first scan center of the OCT is corrected in the second direction according to the second direction scan correction amount; and the scanning galvanometer of the OCT is corrected according to the scan correction amount.
[0129] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0130] Based on the same inventive concept, this application also provides a scanning device for implementing the scanning method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more scanning device embodiments provided below can be found in the limitations of the OCT scanning method described above, and will not be repeated here.
[0131] In one embodiment, such as Figure 9 As shown, an OCT scanning device 100 is provided, including: an acquisition module 1001, a first determination module 1002, and an execution module 1003, wherein:
[0132] The acquisition module is used to control the OCT to scan the examined eye based on the target scan line in order to obtain the B-scan image corresponding to the target scan line;
[0133] The first determining module is used to determine the scan correction amount based on the acquired B-scan image;
[0134] The execution module is used to perform correction processing on the first scan center of OCT according to the scan correction amount before scanning the eye under examination based on the current scan line.
[0135] In one embodiment, such as Figure 10 As shown, another OCT scanning device 110 is provided, which includes, in addition to the various modules included in the OCT scanning device 100, a second determining module 1004.
[0136] In one embodiment, the second determining module 1004 is configured to determine the corneal apex of the eye being examined as the first scanning center of the OCT if scanning the eye being examined involves scanning the anterior segment of the eye being examined; or to determine the first scanning center of the OCT based on the macula and / or optic disc of the eye being examined if scanning the eye being examined involves scanning the posterior segment of the eye being examined, or to determine the first scanning center of the OCT based on the lowest point in the RPE layer of the eye being examined.
[0137] In one embodiment, the target scan line includes a first scan line that passes through the first scan center.
[0138] In one embodiment, the target scan line further includes a second scan line that also passes through the first scan center and is perpendicular to the first scan line.
[0139] In one embodiment, the first determining module 1002 is specifically used to determine a first offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line; and to determine the scan correction amount based on the first offset.
[0140] In one embodiment, the first determining module 1002 is specifically used to determine a first offset and a second offset based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line, and the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line; and to determine the scan correction amount based on the first offset and the second offset.
[0141] In one embodiment, the first determining module 1002 is specifically used to determine the distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line based on the first offset and the second offset; and to determine the scan correction amount based on the distance and the angle.
[0142] In one embodiment, the execution module 1003 is specifically configured to perform correction processing on the first scan center of the OCT in the first direction according to the first direction scan correction amount; and perform correction processing on the first scan center of the OCT in the second direction according to the second direction scan correction amount.
[0143] In one embodiment, the first determining module 1002 is specifically used to determine the corneal position based on a layering algorithm; to perform fitting processing on the corneal surface based on a fitting algorithm to obtain a corneal surface fitting line; and to determine the vertex of the corneal surface fitting line as the corneal vertex position.
[0144] In one embodiment, the execution module 1003 is specifically used to correct the position of the scanning galvanometer of the OCT according to the scanning correction amount before scanning the eye under examination based on the current scan line.
[0145] Each module in the aforementioned scanning device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0146] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements an OCT scanning method.
[0147] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement any of the steps described in the above embodiments.
[0149] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps described in any of the above embodiments.
[0150] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the steps described in the above embodiments.
[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0152] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0153] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An OCT scanning method, characterized in that, The method includes: The OCT is controlled to scan the eye under examination based on the target scan line to obtain the B-scan image corresponding to the target scan line; The offset is determined based on the acquired B-scan image, and the scan correction amount is determined based on the offset; the offset is the distance between the corneal vertex and the current scan center in the direction of the current scan line, and the current scan line passes through the current scan center; Before scanning the eye under examination based on the current scan line, the first scan center of the OCT is corrected according to the scan correction amount.
2. The method according to claim 1, characterized in that, The target scan line includes a first scan line, which passes through the first scan center.
3. The method according to claim 2, characterized in that, The target scan line also includes a second scan line, which also passes through the first scan center and is perpendicular to the first scan line.
4. The method according to claim 2, characterized in that, The step of determining the offset based on the acquired B-scan image and determining the scan correction amount based on the offset includes: A first offset is determined based on the acquired B-scan image, wherein the first offset is the distance between the corneal vertex and the current first scan center along the direction of the first scan line; The scan correction amount is determined based on the first offset.
5. The method according to claim 3, characterized in that, The step of determining the offset based on the acquired B-scan image and determining the scan correction amount based on the offset includes: Based on the acquired B-scan image, a first offset and a second offset are determined respectively, wherein the first offset is the distance between the corneal vertex and the current first scan center in the direction of the first scan line, and the second offset is the distance between the corneal vertex and the current first scan center in the direction of the second scan line; The scan correction amount is determined based on the first offset and the second offset.
6. The method according to claim 5, characterized in that, Determining the scan correction amount based on the first offset and the second offset includes: The distance of the examined eye from the first scan center and the angle between the direction of the examined eye and the first scan line are determined based on the first offset and the second offset. The scan correction amount is determined based on the distance and the included angle.
7. The method according to claim 6, characterized in that, The scan correction amount includes a first-direction scan correction amount and a second-direction scan correction amount. The step of correcting the first scan center of the OCT based on the scan correction amount includes: The first scan center of the OCT is corrected in the first direction according to the first direction scan correction amount; The first scan center of the OCT is corrected in the second direction according to the second direction scan correction amount.
8. The method according to any one of claims 1 to 7, characterized in that, Before correcting the first scan center of the OCT according to the scan correction amount, the method further includes: If the scanning of the eye being examined is performed by scanning the anterior segment of the eye being examined, then the corneal apex of the eye being examined is determined as the first scanning center of the OCT. If the scan of the eye being examined is performed by scanning the posterior segment of the eye being examined, then the first scan center of the OCT is determined based on the macula and / or optic disc of the eye being examined, or based on the lowest point in the RPE layer of the eye being examined.
9. The method according to claim 8, characterized in that, The method further includes: Corneal location is determined based on a layered algorithm; The corneal surface is fitted using a fitting algorithm to obtain a corneal surface fitting line. The vertex of the corneal surface fitting line is determined as the corneal vertex position.
10. The method according to any one of claims 1 to 7, characterized in that, The method further includes: Before scanning the eye under examination based on the current scan line, the position of the scanning galvanometer of the OCT is corrected according to the scan correction amount.
Citation Information
Patent Citations
Optical coherence tomography retina image correction method and device
CN114343565A
