Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Optical coherence tomography (Optical Coherence Tomography, OCT) is a three-dimensional tomographic technique that scans a user's eye to be examined based on OCT, and can acquire a three-dimensional image of the user's eye to be examined.
In the prior art, an eye to be inspected is mostly divided into a plurality of areas, each area is scanned based on OCT, and finally, a three-dimensional image of the eye to be inspected of a user is determined based on scanning data of each area.
However, this scanning method is not only poor in safety, but also long in scanning time, resulting in poor OCT scanning efficiency.
Specifically, in the prior art, after scanning one area based on OCT, it is necessary to stop scanning until the amount of movement of the eye to be inspected during the scanning process is determined, and then scanning of the next area is started. During the period of stopping scanning, the scanning light remains stationary, and the long-time stay of the scanning light at a certain position of the eye to be inspected easily causes cell damage of the eye to be inspected, thereby causing a safety problem. In addition, in the process from stopping scanning to restarting scanning, the OCT needs a longer stabilizing time, which not only results in a longer scanning time, but also easily causes problems such as mechanical damage, and further results in poor efficiency of OCT scanning.
In view of this, the present application provides an OCT scanning method, in which, while determining effective information of first scan data corresponding to a block scan group, a preset position is scanned based on an encoding scan group, compared with the prior art, after performing a block scan, scanning is stopped, and after determining effective information corresponding to a block scan, the next block scan is performed, so that the problem that the residence time of scanning light in the same area of an eye to be inspected is too long, resulting in lower scanning security is avoided, and the problem that after stopping scanning, a longer stabilizing time is required for restarting scanning, resulting in a longer scanning time is avoided, thereby effectively improving the OCT scanning efficiency. In addition, the number of times of starting the equipment can be reduced, the probability of mechanical damage of the equipment is reduced, and the service life of the equipment can be prolonged.
The scanning method provided by the application can be implemented by a computer device, wherein the computer device can be a terminal, and the terminal can be a device combining OCT and a processor.
In one exemplary embodiment, as shown in fig. 1, an OCT scanning method is provided, the method comprising the steps of:
Step 101, acquiring a target scanning line group for an eye to be inspected.
The target scanning line group comprises a plurality of scanning line groups, and each scanning line group comprises a block scanning group and a coding scanning group.
As described above, when the eye to be inspected is scanned based on OCT, the eye to be inspected may be divided into a plurality of regions, and then each region is scanned based on OCT, and when any one of the plurality of regions is scanned based on OCT, the set of scan lines used is a block scan group.
It will be appreciated that prior to scanning the eye to be inspected, the eye to be inspected may be divided to obtain a plurality of block areas, each block area corresponding to a block scanning group, each block scanning group including at least one scanning line for scanning the block area.
Further, the present application is not limited to the scanning protocol of each block scanning group, and the scanning protocol may be a star scanning protocol, a block scanning protocol, a linear scanning protocol, a radial scanning protocol, or the like. It should be noted that a block scan group in the present application is a set of scan lines for scanning a certain area of an eye to be inspected, and is not a scan group using a block scan protocol.
Optionally, the coding scanning group is a scanning group set by a technician according to actual requirements, and the scanning lines contained in the coding scanning group can be set by the technician according to actual requirements.
Step 102, for any one of the target scan line groups, scanning the eye to be inspected based on each scan line in the block scan group in the scan line group, and when determining effective information of the first scan data corresponding to the block scan group, scanning a preset position based on the code scan group in the scan line group.
Alternatively, the first scan data may be scan data obtained after scanning the eye to be inspected based on each scan line in the block scan group. The first scan data may be B-scan data, or raw data.
The validity information may be used to characterize the validity of the first scan data. Since the eye to be inspected is scanned based on each scanning line in the block scanning group in the scanning line group to obtain the first scanning data, there are various factors affecting the quality of the first scanning data. Such as movement of the eye under examination during scanning, optical element failure of OCT, first scan data transmission disturbances, etc.
Thus, in some exemplary embodiments, for any one of the target scan line groups, after the eye to be inspected is scanned based on each of the scan lines in the block scan group in the scan line group, the valid information of the first scan data corresponding to the block scan group may be determined first.
Specifically, the effective information of the first scan data may be determined according to the quality of the first scan data. For example, the effective information of the first scan data may be determined to be effective if the quality of the first scan data satisfies a preset condition, and the effective information of the first scan data may be determined to be ineffective if the quality of the first scan data does not satisfy the preset condition.
Further, while determining the effective information of the first scan data, the preset position may be scanned based on the encoded scan group in the scan line group, so that the OCT apparatus may not pause scanning, and further, there may not be a problem that the residence time of the scan light in the same area of the eye to be inspected is too long.
Optionally, the preset position may be a position preset by a technician according to actual requirements. The preset position may be a position on the eye to be inspected or a position not on the eye to be inspected, and in the present application, the preset position is a position not on the eye to be inspected so as to ensure safety.
In order to clearly describe the technical solution of the present application, a process of scanning an eye to be inspected based on a target scan line group will be explained with reference to fig. 10.
The target scan line set is assumed to include three scan line sets, namely an a scan line set, a B scan line set, and a C scan line set, the a scan line set including an a block scan set and an a code scan set, the B scan line set including a B block scan set and a B code scan set, and the C scan line set including a C block scan set and a C code scan set. It can be seen that the eye to be inspected is divided into three block areas, which correspond to three scan line groups, respectively, each of which is used for scanning the corresponding area.
When the eye to be inspected is scanned based on the target scanning line group, the eye to be inspected can be scanned based on each scanning line in the A-block scanning group in the A-block scanning line group so as to obtain first scanning data corresponding to the A-block scanning group, and when effective information of the first scanning data corresponding to the A-block scanning is determined, the preset position is scanned based on the A-code scanning in the A-block scanning line group.
Further, after determining the effective information of the first scan data corresponding to the a-block scan, scanning the eye to be inspected based on each scan line in the B-block scan group in the B-scan line group to obtain the first scan data corresponding to the B-block scan group, and when determining the effective information of the first scan data corresponding to the B-block scan, scanning the preset position based on the B-code scan in the B-scan line group. The scanning process of the C-scan line group can refer to the above-described process.
Step 103, determining target scanning data of each scanning line group according to the first scanning data of each scanning line group and the effective information of the first scanning data.
In some exemplary embodiments, for each of the target scan line groups, the first scan data of each scan line group and the effective information of the first scan data may be determined as the target scan data of each scan line group.
In other exemplary embodiments, for each of the target scan line groups, the adjustment processing may be further performed on the first scan data of each scan line group according to the effective information of the first scan data of each scan line group, and the first scan data of each scan line group after the adjustment processing may be determined as the target scan data of each scan line group.
The OCT scanning method comprises the steps of firstly obtaining a target scanning line group aiming at an eye to be detected, wherein the target scanning line group comprises a plurality of scanning line groups, each scanning line group comprises a block scanning group and a coding scanning group, for any scanning line group in the target scanning line group, scanning the eye to be detected based on each scanning line in the block scanning group in the scanning line group, and when effective information of first scanning data corresponding to the block scanning group is determined, scanning a preset position based on the coding scanning group in the scanning line group, and because the preset position can be scanned based on the coding scanning group when the effective information of the first scanning data corresponding to the block scanning group is determined, compared with the prior art, after the effective information corresponding to the block scanning is determined after one-time block scanning is executed, after the next-time block scanning is executed, the problems that the stay time of scanning light in the same area of the eye to be detected is overlong, the scanning safety is low, and the problem that after the scanning is stopped, the scanning needs to be started again can be avoided, the longer stable time is required, the scanning time is caused, and the problem that the scanning efficiency is longer is caused, and the scanning efficiency is improved. In addition, the number of times of starting the equipment can be reduced, the probability of mechanical damage of the equipment is reduced, and the service life of the equipment can be prolonged.
In an exemplary embodiment, as shown in fig. 2, the method further comprises the steps of:
step 201, acquiring scanning sequence information of each scanning line group in the target scanning line group.
Optionally, the scan sequence information is used to characterize a scan sequence of the scan line group when scanning the eye to be examined.
In some exemplary embodiments, as described above, before scanning the eye to be inspected based on the target scan line group, the eye to be inspected may be divided into a plurality of block areas, each block area corresponding to a block scan group of one scan line group in the target scan line group.
The eye to be inspected is divided into three block areas from top to bottom, the uppermost block area is a first block area, the middle block area is a second block area, the lowermost block area is a third block area, the first block area corresponds to a first block scanning group in a first scanning group, the second block area corresponds to a second block scanning group in a second scanning group, and the third block area corresponds to a third block scanning group in a third scanning group. When the eye to be inspected is scanned, the first block area is required to be scanned, the second block area is required to be scanned, and then the third block area is required to be scanned, so that the scanning sequence information of the first block scanning line group corresponding to the first block area is determined to be 1, the scanning sequence information of the second block scanning line group corresponding to the second block area is determined to be 2, and the scanning sequence information of the third block scanning line group corresponding to the third block area is determined to be 3.
Step 202, setting the number of scanning lines of the coding scanning group in each scanning line group according to the scanning sequence information.
In some exemplary embodiments, it is understood that the number of scan lines in a coded scan group in each scan line group is related to scan order information for each scan line group.
Specifically, as shown in fig. 11, the number of scan lines in the encoded scan group in each scan line group may be the same as the scan order information of each scan line group. For example, if the scan order information of a certain scan line group is 1, the number of scan lines of the code scan group in the scan line group may be determined to be 1, if the scan order information of a certain scan line group is 2, the number of scan lines of the code scan group in the scan line group may be determined to be 2, and if the scan order information of a certain scan line group is N, the number of scan lines of the code scan group in the scan line group may be determined to be N, where N is a positive integer.
The number of scan lines in the encoded scan group in each scan line group may have an association with scan order information of each scan line group. For example, if the scan order information of a certain scan line group is 1, the number of scan lines of the code scan group in the scan line group may be determined to be X-1, if the scan order information of a certain scan line group is 2, the number of scan lines of the code scan group in the scan line group may be determined to be X-2, and if the scan order information of a certain scan line group is N, the number of scan lines of the code scan group in the scan line group may be determined to be X-N, wherein X is a positive integer, and X-N >0.
In order to clearly describe the technical scheme of the application, the technical scheme of the application is convenient to understand, and the process is explained below.
Acquiring a target scanning line group aiming at an eye to be inspected, comprising acquiring a plurality of initial scanning line groups aiming at the eye to be inspected, wherein each initial scanning line group comprises a block scanning group and an initial coding scanning group;
Determining scanning sequence information of each initial scanning line group, carrying out configuration processing on the initial coding scanning group in each initial scanning line group according to the scanning sequence information of each initial scanning line group, determining the initial scanning line group comprising the initial coding scanning group after the configuration processing as a scanning line group, and forming a target scanning line group by a plurality of scanning line groups.
The configuration processing may be a process of determining the number of scan lines in the initial encoding scan group according to the scan order information, and setting the scan lines corresponding to the number of scan lines in the initial encoding scan group.
In an exemplary embodiment, as shown in fig. 3, determining target scan data of each scan line group according to first scan data of each scan line group and effective information of the first scan data, includes the steps of:
step 301, determining second scan data of each scan line group according to the effective information of the first scan data of each scan line group.
In some exemplary embodiments, the effective information of the first scan data in each scan line group may be subjected to data conversion processing, and the effective information after the data conversion processing may be determined as the second scan data of each scan line group.
The data conversion process may be used to convert the valid information into data in the same format as the first scan data or in a format that is available for processing by the processor.
Step 302, determining target scan data of each scan line group according to the first scan data and the second scan data of each scan line group.
In some exemplary embodiments, after determining the second scan data of each scan line group according to the valid information of the first scan data of each scan line group, the first scan data and the second scan data of each scan line group may be determined as target scan data of each scan line group.
The first scan data and the second scan data of each scan line group may be integrated to obtain target scan data of each scan line group.
In an exemplary embodiment, after scanning the eye to be inspected based on each scan line in the block scan group in the scan line group, the method further includes determining scan order information of the scan line group, and when determining the scan order information, scanning the preset position based on the encoded scan group in the scan line group, the determining target scan data of each of the scan line groups based on the first scan data of each of the scan line groups and the valid information of the first scan data includes determining target scan data of each of the scan line groups based on the first scan data of each of the scan line groups, the valid information of the first scan data, and the scan order information.
In some exemplary embodiments, after the eye to be inspected is scanned based on each scan line in the block scan group in the scan line group, first scan data of the scan line group may be obtained, effective information of the first scan data may be determined, scan order information of the scan line group may be determined, and the preset position may be scanned based on the encoding scan group in the scan line group while the effective information and the scan order information are determined.
Further, for each of the target scan line groups, the scan order information thereof, the first scan data of the block scan group included therein, and the effective information of the first scan data may be determined, and these data may be directly determined as the target scan data of the scan line groups.
The first scan data may be adjusted according to the effective information and the scan order information, so that the first scan data carries the effective information and the scan order information, and the adjusted first scan data is determined to be the target scan data of the scan line group.
In an exemplary embodiment, as shown in fig. 4, the determining the valid information of the first scan data corresponding to the block scan group includes the steps of:
step 401, determining the amount of motion of the eye to be inspected in the scanning process of the block scanning group.
In some exemplary embodiments, the amount of movement of the eye under examination during the scanning of the set of block scans may be determined based on the ophthalmoscope. The ophthalmoscope may be a Confocal scanning system ophthalmoscope (CSSO, confocal SCANNING SYSTEM Ophthalmoscope), a Confocal laser scanning ophthalmoscope (CSLO, confocal SCANNING LASER Ophthalmoscopy), a scanning laser ophthalmoscope (SLO, SCANNING LASER Ophthalmoscopy) or a line scanning ophthalmoscope (LSO, line Scan Ophthalmoscope).
In other exemplary embodiments, the amount of movement of the eye under examination during the scanning of the set of block scans may also be determined based on the pupil camera.
In other exemplary embodiments, the amount of movement of the eye to be inspected in the process of performing the scanning of the block scanning group may also be determined according to the first scanning data corresponding to the block scanning group.
And step 402, determining that the effective information is invalid in the case that the motion quantity is larger than a preset motion quantity threshold value.
Alternatively, the preset motion amount threshold may be set by a technician according to actual needs.
In some exemplary embodiments, in determining the amount of movement of the eye under examination during the scanning of the block scanning group, it may be determined whether the amount of movement is greater than a preset amount of movement threshold.
If the motion amount is greater than the preset motion amount threshold value, it can be determined that the motion amount of the eye to be inspected in the scanning process of the block scanning group may have a great influence on the first scanning data, so that the quality of the first scanning data is poor, and it can be determined that the effective information of the first scanning data is invalid.
Step 403, determining that the effective information is effective when the motion amount is less than or equal to a preset motion amount threshold.
In some exemplary embodiments, if the motion amount is less than or equal to the preset motion amount threshold, it may be determined that the motion amount of the eye to be inspected during the scanning process of the block scanning group may have less influence on the first scan data, and the quality of the first scan data is higher, and valid information of the first scan data may be determined to be valid.
In an exemplary embodiment, as shown in fig. 5, the determining the second scan data of each scan line group according to the valid information of the first scan data of each scan line group includes the steps of:
step 501, obtaining effective information of first scanning data of each scanning line group and initial scanning data corresponding to a coding scanning group in each scanning line group;
Step 502, performing an integration process on the effective information and the initial scan data to obtain second scan data of each scan group.
Alternatively, the integration process may be used to cause the initial scan data to carry the valid information.
In some exemplary embodiments, valid information for a first scan number of a block scan group in each scan line group may be obtained, and initial scan data for a code scan group in each scan line group may be obtained.
Further, after obtaining the effective information of the first scan data of the block scan group and the initial scan data of the code scan group in each scan line group, the effective information and the initial scan data may be integrated to obtain the second scan data of each scan group.
In an alternative embodiment of the present application, the integrating process is performed on the effective information and the initial scan data to obtain second scan data of each scan group, including:
And under the condition that the effective information indicates that the first scanning data is effective, performing first adjustment processing on the initial scanning data to obtain second scanning data, wherein the first adjustment processing is used for enabling the initial scanning data to carry a first mark used for representing that the first scanning data is effective.
And if the valid information indicates that the first scanning data is invalid, performing second adjustment processing on the initial scanning data to obtain second scanning data, wherein the second adjustment processing is used for enabling the initial scanning data to carry a second mark used for representing the invalidation of the first scanning data.
In an exemplary embodiment, the determining the target scan data of each scan line group according to the first scan data of each scan line group, the effective information of the first scan data, and the scan order information includes obtaining initial scan data of a code scan group in each scan line group, and integrating the effective information of the first scan data of each scan line group, the scan order information, and the initial scan data to obtain second scan data of each scan group, and determining the target scan data of each scan line group according to the second scan data of each scan group and the first scan data of each scan group.
For detailed implementation of the above method, reference may be made to the content related to the integration processing of the effective information and the initial scan data, which is not described herein.
In an exemplary embodiment, as shown in fig. 6, the method further comprises the steps of:
step 601, if the valid information indicates that the first scan data is invalid, executing the step of scanning the eye to be inspected based on each scan line in the block scan group in the scan line group again until the valid information indicates that the first scan data corresponding to the block scan group is valid;
Step 602, after the validity information indicates that the first scan data is valid, performing a step of scanning the eye to be inspected based on each scan line in the block scan group in the next scan line group.
In some exemplary embodiments, after determining the valid information of the first scan data of the block scan group of the scan line group, if the valid information indicates that the first scan data is invalid, the eye to be inspected is scanned again based on each scan line in the block scan group of the scan line group until the valid information indicates that the first scan data corresponding to the block scan group is valid.
Specifically, as described above, it is assumed that the target scan line group includes three scan line groups, namely, an a scan line group including an a block scan group and an a code scan group, a B scan line group including a B block scan group and a B code scan group, and a C scan line group including a C block scan group and a C code scan group. After the eye to be inspected is scanned based on the A-block scanning group in the A-scanning line group, first scanning data corresponding to the A-block scanning group can be obtained, and when effective information of the first scanning data corresponding to the A-block scanning group is determined, a preset position can be scanned based on the A-coding scanning group.
Further, after determining the valid information of the first scan data corresponding to the a-block scan group, if the valid information of the first scan data corresponding to the a-block scan group indicates that the first scan data corresponding to the a-block scan group is invalid, the step of scanning the eye to be inspected based on each scan line in the a-block scan group may be performed again until the step of scanning the eye to be inspected based on each scan line in the a-block scan group is performed a certain time after the determined valid information of the first scan data indicates that the first scan data is valid, and the step of scanning the eye to be inspected based on each scan line in the B-block scan group is performed again.
If the step of scanning the eye to be inspected based on each scanning line in the a-block scanning group is performed a plurality of times, and the obtained effective information of the first scanning data corresponding to the a-block scanning group indicates invalidity, the scanning is stopped and the early warning information is output. The above-mentioned process of continuously performing a plurality of times may be understood as a process of re-scanning, and in particular, a technician may define the number of re-scanning according to actual needs.
In an exemplary embodiment, the method further comprises determining a three-dimensional image of the eye to be inspected from the target scan data for each of the scan line groups.
In some exemplary embodiments, the target scan data of each scan group may be input into a pre-trained stitching model to obtain a three-dimensional image of the eye under examination output by the stitching model.
In one exemplary embodiment, the determining the three-dimensional image of the eye to be inspected according to the target scan data of each scan line group includes performing a stitching process on the first scan data of the target scan data of each scan line group according to the second scan data of the target scan data of each scan line group to obtain the three-dimensional image.
In some exemplary embodiments, the effective information and the scanning order information may be determined according to the second scanning data in the target scanning data of each scanning line group, and then the effective information, the scanning order information and the first scanning data in the target scanning data of each scanning line group are input into the pre-trained stitching model to obtain the three-dimensional image output by the stitching model.
In an exemplary embodiment, as shown in fig. 7, the root performs a stitching process on first scan data in the target scan data of each scan line group according to second scan data in the target scan data of each scan line group, so as to obtain the three-dimensional image, and includes the following steps:
Step 701, determining effective information of first scan data in the target scan data of each scan line group according to second scan data in the target scan data of each scan line group, and performing filtering processing on the first scan data in the target scan data of each scan line group according to the effective information to obtain filtered first scan data.
In some exemplary embodiments, the second scan data in the target scan data of each scan line group carries valid information of the first scan data, and the filtering process may be performed on the first scan data in the target scan data of each scan line group according to the valid information of the first scan data, so as to obtain the filtered first scan data.
Specifically, whether second scanning data in target scanning data of each scanning line group carries a second identifier is determined, if so, first scanning data in the target scanning data are removed, and if not, the first scanning data in the target scanning data are reserved.
Further, after the above-described operation is performed on the target scan data of each scan line group, the remaining first scan data may be determined as the filtered first scan data.
Step 702, determining scan sequence information of each scan line group according to second scan data in the target scan data of each scan line group, and determining ordering information of first scan data in the target scan data of each scan line group according to the scan sequence information of each scan line group.
In some exemplary embodiments, in the case where the number of scan lines of the code scan is related to the scan order information, the number of scan lines of the code scan group in each scan line group is determined from the second scan group data in the target scan data of each scan line group, and then the scan order information of each scan line group is determined from the number of scan lines.
In other exemplary embodiments, in the case where the second scan data carries scan order information, the scan order information of each scan line group is determined directly from the second scan data in the target scan data of each scan line group.
Further, after determining the scan order information of each scan line group, the order information of each scan line group may be determined as the order information of the first scan data in the target scan data of each scan line group.
And step 703, performing stitching processing on the filtered first scan data according to the ordering information to obtain the three-dimensional image.
In some exemplary embodiments, the first scan data after the filtering process may be subjected to a stitching process according to the sorting information, so as to obtain a three-dimensional image of the eye to be inspected.
According to the method for determining the three-dimensional image of the eye to be inspected according to the target scanning data, the second scanning data in the target scanning data carries the effective information and the scanning sequence information of the first scanning data, so that the splicing accuracy is higher, and the obtained three-dimensional image is higher in accuracy.
In an alternative embodiment of the present application, the method further includes, after scanning the preset position based on the encoded scan group in the scan line group, repeating the step of scanning the preset position based on the encoded scan group in the scan line group until the effective information of the first scan corresponding to the block scan group is determined if the effective information of the first scan corresponding to the block scan group is not determined yet.
If the number of times of repeatedly executing the step of scanning the preset position based on the coding scanning group in the scanning line group is larger than the preset repetition number, stopping scanning and outputting early warning information.
Or if the time of repeatedly executing the step of scanning the preset position based on the coding scanning group in the scanning line group is longer than the preset repetition time, stopping scanning and outputting the early warning information.
In one exemplary embodiment, another OCT scanning method is provided in which the number of scan lines in a coded scan group is related to scan order information, the method comprising the steps of:
setting the number of scanning lines in the coding scanning groups in each scanning line group according to the scanning sequence information to obtain a target scanning line group, wherein the target scanning line group comprises a plurality of scanning line groups, and each scanning line group comprises a block scanning group and a coding scanning group;
A2, for any scanning line group in the target scanning line group, scanning the inspected eye on the basis of each scanning line in the block scanning group in the scanning line group to obtain first scanning data corresponding to the block scanning group, and scanning a preset position on the basis of the coding scanning group in the scanning line group when effective information of the first scanning data is determined according to the motion quantity of the inspected eye in the scanning process of the block scanning group;
A3, acquiring effective information of first scanning data of each scanning line group and initial scanning data corresponding to the coding scanning group in each scanning line group, integrating the effective information and the initial scanning data to obtain second scanning data of each scanning group;
A4, determining effective information of first scanning data in the target scanning data of each scanning line group according to second scanning data in the target scanning data of each scanning line group, and filtering the first scanning data in the target scanning data of each scanning line group according to the effective information to obtain filtered first scanning data;
A5, determining scanning sequence information of each scanning line group according to second scanning data in the target scanning data of each scanning line group, determining ordering information of first scanning data in the target scanning data of each scanning line group according to the scanning sequence information of each scanning line group, and performing splicing processing on the first scanning data after filtering processing according to the ordering information to obtain the three-dimensional image.
In an exemplary embodiment, another OCT scanning method is provided, in which the second scan data includes scan order information of the scan line group, the method including the steps of:
B1, acquiring a target scanning line group aiming at an eye to be inspected, wherein the target scanning line group comprises a plurality of scanning line groups, and each scanning line group comprises a block scanning group and a coding scanning group;
B2, for any scanning line group in the target scanning line group, scanning the inspected eye based on each scanning line in the block scanning group in the scanning line group to obtain first scanning data corresponding to the block scanning group, and when effective information of the first scanning data and sequence information of the scanning line group are determined according to the motion quantity of the inspected eye in the scanning process of the block scanning group, scanning a preset position based on the coding scanning group in the scanning line group;
B3, each obtaining the effective information of the first scanning data of each scanning line group, the scanning sequence information of each scanning line group and the initial scanning data of the coding scanning group in each scanning line group, carrying out integration processing on the effective information, the scanning sequence information and the initial scanning data to obtain the second scanning data of each scanning group, and determining the target scanning data of each scanning line group according to the first scanning data and the second scanning data of each scanning line group.
B4, determining effective information of first scanning data in the target scanning data of each scanning line group according to second scanning data in the target scanning data of each scanning line group, and filtering the first scanning data in the target scanning data of each scanning line group according to the effective information to obtain filtered first scanning data;
And B5, determining scanning sequence information of each scanning line group according to second scanning data in the target scanning data of each scanning line group, determining ordering information of first scanning data in the target scanning data of each scanning line group according to the scanning sequence information of each scanning line group, and performing splicing processing on the first scanning data after filtering processing according to the ordering information so as to obtain the three-dimensional image.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the present application also provides an OCT scanning device for implementing the above-mentioned OCT scanning method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitations in one or more embodiments of the OCT scanning device provided below can be referred to above for limitations of the OCT scanning method, and will not be repeated here.
In an exemplary embodiment, as shown in fig. 8, there is provided an OCT scanning device 800 including an acquisition module 801, an execution module 802, and a determination module 803, wherein:
an acquisition module 801, configured to acquire a target scan line group for an eye to be inspected, where the target scan line group includes a plurality of scan line groups, and each of the scan line groups includes a block scan group and a code scan group;
An execution module 802, configured to scan, for any one of the target scan line groups, the eye to be inspected based on each scan line in a block scan group in the scan line groups, and scan a preset position based on a code scan group in the scan line groups when determining effective information of first scan data corresponding to the block scan group;
A determining module 803, configured to determine target scan data of each scan line group according to the first scan data of each scan line group and the valid information of the first scan data.
In one embodiment, the obtaining module 801 is further configured to set the scan line number of the encoding scan line group in each scan line group according to the scan sequence information of each scan line group in the target scan line group.
In one embodiment, the determining module 803 is specifically configured to determine the second scan data of each scan line group according to the valid information of the first scan data of each scan line group, and determine the target scan data of each scan line group according to the first scan data and the second scan data of each scan line group.
In one embodiment, the execution module 802 is further configured to determine scan order information of the scan line groups, and scan the preset position based on the encoded scan groups in the scan line groups when determining the scan order information.
In one embodiment, the determining module 803 is specifically configured to determine the target scan data of each scan line group according to the first scan data of each scan line group, the valid information of the first scan data, and the scan order information.
In one embodiment, the determining module 803 is specifically configured to obtain initial scan data of the encoded scan group in each scan line group, integrate the effective information of the first scan data of each scan line group, the scan sequence information and the initial scan data to obtain second scan data of each scan group, and determine target scan data of each scan line group according to the second scan data of each scan group and the first scan data of each scan group.
In one embodiment, the executing module 802 is specifically configured to determine an amount of motion of the eye to be inspected during the scanning process of the block scanning group, determine that the valid information is invalid if the amount of motion is greater than a preset motion threshold, and determine that the valid information is valid if the amount of motion is less than the preset motion threshold.
In one embodiment, the determining module 803 is specifically configured to obtain effective information of the first scan data of each scan line group and initial scan data of the encoded scan group in each scan line group, and perform an integration process on the effective information and the initial scan data to obtain second scan data of each scan group.
In one embodiment, the executing module 802 is further configured to execute the step of scanning the eye to be inspected based on each scan line in the block scan group in the scan line group again if the valid information indicates that the first scan data is invalid, until the valid information indicates that the first scan data corresponding to the block scan group is valid, and execute the step of scanning the eye to be inspected based on each scan line in the block scan group in the next scan line group after the valid information indicates that the first scan data is valid.
In one embodiment, the determining module 803 is further configured to determine a three-dimensional image of the eye to be inspected according to the target scan data of each of the scan line groups.
In one embodiment, the determining module 803 is specifically configured to perform a stitching process on the first scan data in the target scan data of each scan line group according to the second scan data in the target scan data of each scan line group, so as to obtain the three-dimensional image.
In one embodiment, the determining module 803 is specifically configured to determine effective information of first scan data in the target scan data of each scan line group according to second scan data in the target scan data of each scan line group, filter the first scan data in the target scan data of each scan line group according to the effective information to obtain filtered first scan data, determine scan order information of each scan line group according to the second scan data in the target scan data of each scan line group, determine ordering information of the first scan data in the target scan data of each scan line group according to the scan order information of each scan line group, and splice the filtered first scan data according to the ordering information to obtain the three-dimensional image.
The respective modules in the OCT scanning device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an exemplary embodiment, a computer device, which may be a terminal, is provided, and an internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The Communication interface of the computer device is used for conducting wired or wireless Communication with an external terminal, and the wireless Communication can be realized through WIFI, a mobile cellular network, near field Communication (NEAR FIELD Communication) or other technologies. The computer program is executed by a processor to implement an OCT scanning method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method according to any of the embodiments described above when the computer program is executed.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method of any of the embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method of any of the embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile memory and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (RESISTIVE RANDOM ACCESS MEMORY, reRAM), magneto-resistive Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computation, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.