Method, storage medium and device for determining activation state of retinal ganglion cells
By preprocessing and detecting the electrical stimulation signals of retinal ganglion cells, combining high-pass filtering and nonlinear energy operators, and using wavelet packets and K-means clustering algorithms, the problem of analyzing the activation status of retinal ganglion cells was solved and achieved Fast and accurate cell category identification and activation status judgment.
Patent Information
- Application Number
- CN202011451639.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-10
AI Technical Summary
Existing technology is difficult to quickly and effectively analyze the activation status of retinal ganglion cells, which makes it difficult to analyze the response in the study of electrical stimulation strategies.
By obtaining the original electrical stimulation signal of retinal ganglion cells for preprocessing, a preset detection algorithm is used to detect the action potential signal, and clustering is performed on it. The number of times the action potential firing frequency reaches the standard threshold is counted to determine the activation state of the cell. High-pass filtering and nonlinear energy operators are used for signal processing, and cell categories are determined by combining wavelet packets and K-means clustering algorithms.
It implements a systematic identification method, improves detection accuracy and processing speed, and can automatically aggregate and classify cells to determine the category of cells and determine their activation status.
Smart Images

Figure CN112451857B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of signal processing technology, and in particular, relates to a method for determining the activation state of retinal ganglion cells, a computer-readable storage medium, and a computer device. Background Art
[0002] Patients with degenerated photoreceptor cells can still retain certain physiological structures and functions of the retina. Electrical stimulation of the retinal ganglion layer can be performed to stimulate the neural activity of the remaining retinal neurons, thereby restoring the patient's visual function through simple methods. Among them, the study of electrical stimulation strategies is a key part of measuring the performance of artificial retinas. In electrical stimulation strategies, the response analysis of retinal ganglion cells (RGCs) is the core issue in studying stimulation strategies. Cell response signals do not have a specific emission pattern, and it is difficult to complete the analysis of the response in a short period of time. Therefore, a fast and effective electrical response analysis method has become a technical difficulty in the study of electrical stimulation strategies. Summary of the invention
[0003] (I) Technical Problems to be Solved by the Present Invention
[0004] How to provide a rapid and effective systematic analysis method for the activation of retinal ganglion cells.
[0005] (II) Technical solution adopted by the present invention
[0006] A method for determining the activation state of retinal ganglion cells, the method comprising:
[0007] Obtaining the original electrical stimulation signals of retinal ganglion cells and performing preprocessing;
[0008] The pre-processed raw electrical stimulation signal is detected using a preset detection algorithm to obtain an action potential signal;
[0009] Performing clustering processing on the action potential signal to determine the type of cells;
[0010] The number of times that the action potential emission frequency of each type of cells reaches the standard threshold after electrical stimulation within a predetermined time period is counted, and the activation state of each type of cells is determined based on the number of times.
[0011] Preferably, the specific method of using a preset detection algorithm to detect the preprocessed original electrical stimulation signal to obtain the action potential signal includes:
[0012] The preprocessed original electrical stimulation signal is subjected to high-pass filtering to obtain the first-layer approximation coefficients;
[0013] The first layer approximate coefficients are processed by using an up-sampled high-pass filter to obtain the second layer approximate coefficients;
[0014] Using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients and the second layer approximation coefficients respectively, to obtain a first signal to be detected and a second signal to be detected;
[0015] The first signal to be detected and the second signal to be detected are superimposed and spike detection is performed to obtain an action potential signal.
[0016] Preferably, the method of using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients to obtain the first signal to be detected includes:
[0017] Formula (1) is used to recalculate the value of the first layer approximation coefficient at each moment:
[0018] ψ(x(t))=x 2 (t)-x(t-1)x(t+1) (1),
[0019] x(t) is the value of the first layer approximation coefficient at time t, and ψ(x(t)) is the recalculated signal amplitude;
[0020] The recalculated signal amplitude is convolved using a smoothing window;
[0021] The results obtained by the convolution processing are summed to obtain a first signal to be detected.
[0022] Preferably, the method of superimposing the first signal to be detected and the second signal to be detected and performing peak detection includes:
[0023] Adding the value of the first signal to be detected and the value of the second signal to be detected at the same time to obtain a superimposed signal to be detected;
[0024] The signal amplitude greater than or equal to the threshold in the superimposed signal to be detected is retained to obtain the action potential signal.
[0025] Preferably, the specific method of clustering the action potential signal to determine the type of the cell includes:
[0026] Extracting features of the action potential signal to obtain wavelet packet coefficients;
[0027] The number of clusters is calculated based on the wavelet packet coefficients using the silhouette coefficient method;
[0028] The wavelet packet coefficients and cluster numbers are used as inputs of the K-means clustering algorithm for clustering to determine the cell categories.
[0029] Preferably, the method for determining whether the action potential firing frequency of each category of cells reaches the standard threshold is:
[0030] If the action potential emission frequency in the first predetermined time period after the electrical stimulation is three times or more than the action potential emission frequency in the second predetermined time period before the electrical stimulation, it is determined that the action potential emission frequency reaches the standard threshold.
[0031] Preferably, the first predetermined time period is 300 milliseconds after electrical stimulation, and the second predetermined time period is 100 milliseconds before electrical stimulation.
[0032] The present application also discloses a device for determining the activation state of retinal ganglion cells, wherein the device comprises:
[0033] A data acquisition module is used to acquire the original electrical stimulation signal of the retinal ganglion cells and perform preprocessing;
[0034] A potential detection module is used to detect the pre-processed original electrical stimulation signal using a preset detection algorithm to obtain an action potential signal;
[0035] A classification module, used for clustering the action potential signal to determine the type of cells;
[0036] The activation judgment module is used to count the number of times the action potential emission frequency of each type of cells after electrical stimulation reaches a standard threshold within a predetermined time period, and to judge the activation state of each type of cells according to the number.
[0037] The present invention also discloses a computer-readable storage medium, which stores a program for determining the activation state of retinal ganglion cells. When the program for determining the activation state of retinal ganglion cells is executed by a processor, the above-mentioned method for determining the activation state of retinal ganglion cells is implemented.
[0038] The present invention also discloses a computer device, which includes a computer-readable storage medium, a processor, and a retinal ganglion cell activation state determination program stored in the computer-readable storage medium. When the retinal ganglion cell activation state determination program is executed by the processor, the above-mentioned retinal ganglion cell activation state determination method is implemented.
[0039] (III) Beneficial effects
[0040] The present invention discloses a method for determining the activation state of retinal ganglion cells, which has the following technical effects compared with the traditional method:
[0041] A systematic discrimination method is proposed. The detection algorithm can ensure the accuracy and processing speed of detection, and automatically aggregate and classify action potentials to determine the category of cells and further determine the activation state of cells in each category. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flow chart of a method for determining the activation state of retinal ganglion cells according to the first embodiment of the present invention;
[0043] Figure 2 This is an overall framework diagram of the process of determining the activation state of retinal ganglion cells according to the first embodiment of the present invention;
[0044] Figure 3 This is a schematic diagram of preprocessing the original electrical stimulation signal according to the first embodiment of the present invention;
[0045] Figure 4 is a flow chart of detecting action potential signals according to the first embodiment of the present invention;
[0046] Figure 5 This is a schematic diagram of the change from the original electrical stimulation signal to the action potential signal after preprocessing according to the first embodiment of the present invention;
[0047] Figure 6 This is a diagram of the decomposition process of the stationary wavelet transform according to the first embodiment of the present invention;
[0048] Figure 7 A schematic diagram of threshold setting in action potential detection in embodiment 1 of the present invention;
[0049] Figure 8 Schematic diagram of the contour coefficient calculation process of the first embodiment of the present invention;
[0050] Fig. 9 Schematic diagram of the cell activation state determination process according to the first embodiment of the present invention;
[0051] Fig.10 is an action potential distribution histogram of embodiment 1 of the present invention;
[0052] Fig.11 This is a principle block diagram of a device for determining the activation state of retinal ganglion cells according to the first embodiment of the present invention;
[0053] Fig.12 A functional block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0055] Before describing in detail the various embodiments of the present application, the inventive concept of the present application is first briefly described: in the prior art regarding the detection of the state of retinal nerve cells, since it is impossible to perform a systematic analysis of the stimulation electrical signal, the technical solution of the present application detects the pre-processed original electrical stimulation signal to obtain the action potential signal, and clusters the action potential signal to determine the cell category, and counts the number of times the action potential emission frequency of each category of cells after electrical stimulation reaches the standard threshold, thereby determining the activation state of the cell.
[0056] Specifically, if Figure 1 and Figure 2 As shown, the method for determining the activation state of retinal ganglion cells in the first embodiment includes the following steps:
[0057] Step S10: obtaining the original electrical stimulation signal of the retinal ganglion cells and performing preprocessing;
[0058] Step S20: using a preset detection algorithm to detect the preprocessed original electrical stimulation signal to obtain an action potential signal;
[0059] Step S30: performing clustering processing on the action potential signal to determine the type of cells;
[0060] Step S40: Counting the number of times that the action potential emission frequency of each type of cells after electrical stimulation reaches a standard threshold within a predetermined time period, and determining the activation state of each type of cells according to the number.
[0061] In step S10, Figure 3 As shown, the original electrical stimulation signal of the retinal ganglion cells contains artifacts, and the amplitude of the artifacts is much larger than the amplitude of the action potential, which will affect the detection effect of the action potential. Therefore, the artifact segment is set to zero to achieve the signal preprocessing function.
[0062] In step S20, as a preferred embodiment, the original electrical stimulation signal preprocessed by stationary wavelet transform and nonlinear energy operator is used for detection to obtain the action potential signal. Figure 4 and Figure 5 As shown, step S20 includes the following steps:
[0063] Step S21: performing high-pass filtering on the pre-processed original electrical stimulation signal to obtain the first-layer approximation coefficients;
[0064] Step S22: Process the first layer approximation coefficients using an up-sampled high-pass filter to obtain the second layer approximation coefficients;
[0065] Step S23: using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients and the second layer approximation coefficients respectively, to obtain a first signal to be detected and a second signal to be detected;
[0066] Step S24: superimposing the first signal to be detected and the second signal to be detected and performing peak detection to obtain an action potential signal.
[0067] Specifically, in step S21 and step S22, if Figure 6 , in order to make the length of the signal after decomposition consistent with the length of the signal before decomposition, the filter needs to be upsampled, that is, the operation of filling zeros at intervals of one data point. Among them, the filter in the first decomposition layer does not need to be upsampled, and the filter in the second decomposition layer needs to be upsampled. After the signal completes the convolution calculation, the obtained detail coefficients (wavelet coefficients obtained after the signal is processed by a low-pass filter) and approximate coefficients (wavelet coefficients obtained after the signal is processed by a high-pass filter) do not need to be downsampled. This non-sampling characteristic of the stationary wavelet transform makes the length of the approximate coefficients and detail coefficients at each decomposition layer the same as the length of the original signal. The stationary wavelet transform is translation invariant, which makes up for the shortcomings of the traditional orthogonal wavelet transform. The decomposition process of the stationary wavelet transform is shown in the following equation:
[0068]
[0069]
[0070] Among them, a j is the approximation coefficient, d j is the detail coefficient, n is the signal length, h j and g j They represent high-pass filter and low-pass filter respectively.
[0071] Furthermore, the 1st and 2nd level high-pass filters of the stationary wavelet transform are first used to obtain the approximate coefficients, and then the nonlinear energy operator is applied to each approximate coefficient, and the output of the nonlinear energy operator is independently convolved using a simple smoothing window. Finally, all subbands after the smoothing window are summed, and the action potential amplitude is compared with a given threshold to complete the spike detection process.
[0072] Specifically, in step S23, the method of using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients to obtain the first signal to be detected includes the following steps:
[0073] Step S231: Recalculate the value of the first layer approximation coefficient at each moment using formula (1):
[0074] ψ(x(t))=x 2(t)-x(t-1)x(t+1) (1),
[0075] x(t) is the value of the first layer approximation coefficient at time t, and ψ(x(t)) is the recalculated signal amplitude;
[0076] Step S232: using a smoothing window to perform convolution processing on the recalculated signal amplitude;
[0077] Step S233: performing summation processing on the results obtained by the convolution processing to obtain a first signal to be detected.
[0078] Similarly, the steps of performing denoising on the second layer approximation coefficients are the same as the above steps and will not be described in detail here.
[0079] Further, in step S24, the method of superimposing the first signal to be detected and the second signal to be detected and performing peak detection includes:
[0080] Step S241: respectively adding the value of the first signal to be detected and the value of the second signal to be detected at the same time to obtain a superimposed signal to be detected;
[0081] Step S242: retain the signal amplitude greater than or equal to the threshold in the superimposed signal to be detected to obtain an action potential signal.
[0082] By setting different thresholds, we can obtain different spike detection results. If the threshold is set too small, action potentials may be misdetected, and if the threshold is set too large, missed detections may occur. Therefore, an appropriate threshold is crucial. This embodiment obtains a threshold by comparing the error between the detection algorithm and the manual operation result. There is an error between the threshold setting in the detection algorithm and the manual judgment result, and the relationship is as follows: Figure 7 As shown, the optimal threshold is obtained, that is, the threshold with the smallest error value between the detection algorithm and the manual operation result.
[0083] Specifically, in step S30, clustering is performed on the action potential signal to determine the type of the cell, including the following steps:
[0084] Step S31: extracting features of the action potential signal to obtain wavelet packet coefficients.
[0085] Step S32: Calculate the number of clusters using the silhouette coefficient method based on the wavelet packet coefficients.
[0086] Step S33: using the wavelet packet coefficients and the number of clusters as inputs of the K-means clustering algorithm for clustering processing to determine the category of the cells.
[0087] In step 31, wavelet packet decomposition is used to extract the characteristics of action potentials. The principle of wavelet packet decomposition is that the signal is passed through a high-pass filter and a low-pass filter to obtain the approximate coefficients a of the first layer. 1 and detail factor d 1 .a 1 and d 1 As signal input, we get the approximate coefficient a of the second layer. 2 and detail factor d 2 . 2 and d 2 As signal input, we get the approximate coefficient a of the third layer. 3 and detail factor d 3 . Wavelet packet coefficients (a of the third layer 3 and d 3 ) is the characteristic basis of the clustering algorithm, that is, it serves as the input sample.
[0088] In step S32, the K-means clustering algorithm has the problem of requiring the number of clusters to be pre-set. The silhouette coefficient method can be used to provide the number of clusters for the K-means clustering algorithm. Figure 8 As shown, the specific process of the silhouette coefficient is as follows:
[0089] (1) For each sample point i, the average distance between the sample point i and all other samples in the same cluster is calculated, which is recorded as a(i). For the first embodiment, the wavelet packet coefficient extracted from the action potential is the sample point.
[0090] (2) Select a cluster b outside sample point i, calculate the average distance between sample point i and all sample points in cluster b, traverse other clusters, assuming there are K clusters, and find the average distance closest to sample point i, denoted as b(i).
[0091] (3) For sample point i, the silhouette coefficient is:
[0092]
[0093] (4) For each cluster, calculate the silhouette coefficients of all samples i, and the average value is the overall silhouette coefficient of the current cluster. If a(i) approaches 0, or b(i) is large enough, then s(i) approaches 1, indicating that the clustering effect is relatively good.
[0094] Each time, a value of K is assumed, for example, K is 2, 3, ... 10, and K-means clustering is repeated several times at each K value, and the average silhouette coefficient of the current K is calculated. Finally, the K corresponding to the largest value of the silhouette coefficient is selected as the number of clusters of the K-means clustering algorithm to achieve the purpose of automatic clustering.
[0095] In this step, the wavelet packet coefficients of the detected action potential are first extracted, and then the coefficients are used as the input of the K-means clustering algorithm. The number of clusters to be input for the K-means clustering is determined by the silhouette coefficient method. Based on the above work, the K-means clustering algorithm is used to cluster action potentials of different waveforms. The number of clusters obtained is the number of cell categories, thereby completing cell classification.
[0096] Specifically, the method of clustering action potentials of different waveforms using the K-means clustering algorithm includes the following steps:
[0097] (1) K initial centroids are randomly selected, and the centroid closest to each sample point is found, and the sample point and the centroid are classified into the same cluster, thereby generating K clusters. The K value is obtained by the above-mentioned silhouette coefficient method. For the first embodiment, the wavelet packet coefficient extracted from the action potential is the sample point.
[0098] (2) When all sample points are divided, for each cluster, recalculate and obtain a new centroid (the average coordinate value of all sample points in the same cluster).
[0099] (3) The above process is repeated until the position of the centroid no longer changes, thus completing the cell classification.
[0100] Furthermore, if Fig. 9 As shown, in step S40, the method for determining whether the action potential firing frequency of each category of cells reaches the standard threshold is: if the action potential firing frequency in the first predetermined time period after electrical stimulation is three times or more the action potential firing frequency in the second predetermined time period before electrical stimulation, then it is determined that the action potential firing frequency reaches the standard threshold.
[0101] As a preferred embodiment, the first predetermined time period is selected as 300 milliseconds after electrical stimulation, and the second predetermined time period is selected as 100 milliseconds before electrical stimulation. The action potential discharge frequency is defined as the number of action potentials in a predetermined time period divided by the time length. For example, if the number of action potentials detected in the first preset time period of 300 milliseconds is 100, then the action potential discharge frequency of the first preset time period is 0.33; if the number of action potentials detected in the second preset time period of 100 milliseconds is 10, then the action potential discharge frequency of the second preset time period is 0.1. At this time, the action potential discharge frequency in the first predetermined time period after electrical stimulation is more than three times the action potential discharge frequency in the second predetermined time period before electrical stimulation, and it is determined that the action potential discharge frequency reaches the standard threshold.
[0102] Furthermore, the number of times is preferably 10, with electrical stimulation performed every 10 seconds for 20 consecutive times. If the frequency of action potential discharge reaches the standard threshold for more than 10 times, the corresponding cell is determined to be in an activated state. The specific judgment process is as follows: Fig. 9 As shown in the figure, after completing the cell classification, the action potential distribution and time relationship diagram and the corresponding histogram are drawn according to the number of action potentials released by a single cell category at different times. At the same time, the number of action potentials in different time units is counted with a 10 millisecond time period as the minimum unit.
[0103] like Fig.10 As shown, for the bar graph, the horizontal axis represents the time scale, the vertical axis represents the number of action potentials, -0.1 to 0.0 represents before electrical stimulation, and 0.0 to 0.9 represents after electrical stimulation. Taking 20 consecutive stimulations as an example, the value of each bar graph represents the sum of the number of action potentials detected at the moment after each electrical stimulation. For example, after 20 electrical stimulations, at 0.1 seconds, the sum of the number of action potentials detected is 14, and at 0.11 seconds, the sum of the number of action potentials detected is 8, and so on. By counting the number of action potentials within 0.1 seconds to 0.4 seconds, the frequency of action potential discharge can be obtained.
[0104] For the scatter plot, the horizontal axis represents the time scale after electrical stimulation, and the vertical axis represents the interval time scale between two electrical stimulations. For example, the points in the same row represent the number of action potentials detected after one electrical stimulation.
[0105] The continuous wavelet transform and nonlinear energy operator of this embodiment realize the detection of action potentials. The detection performance of this method is still very good when the signal-to-noise ratio is small. In addition, most detection algorithms involve the setting of thresholds, and there is currently no standard method to determine the thresholds. The present application provides a method, that is, to obtain the optimal threshold by comparing the results of the detection algorithm under different thresholds with the results of manual operations, so that the detection results are optimized. The detection algorithm of the present invention can ensure the accuracy and processing speed of the detection. At present, scientific researchers need a systematic method to determine the activation of retinal ganglion cells, and this embodiment 1 solves their needs and proposes a systematic discrimination method, which improves the speed of processing data and reduces their workload.
[0106] like Fig.11 As shown, this second embodiment also discloses a device for determining the activation state of retinal ganglion cells, wherein the device comprises:
[0107] The data acquisition module 100 is used to acquire the original electrical stimulation signal of the retinal ganglion cells and perform preprocessing;
[0108] A potential detection module 200 is used to detect the pre-processed original electrical stimulation signal using a preset detection algorithm to obtain an action potential signal;
[0109] A classification module 300 performs clustering processing on the action potential signal to determine the type of cells;
[0110] The activation judgment module 400 is used to count the number of times the action potential emission frequency of each type of cells after electrical stimulation reaches a standard threshold within a predetermined time period, and to judge the activation state of each type of cells according to the number.
[0111] Among them, the process of preprocessing the original electrical stimulation data by the data acquisition module 100, the detection process of the potential detection module 200, the detection process of the classification module 300 and the judgment process of the activation judgment module 400 refer to the relevant description in Example 1 and will not be repeated here.
[0112] Furthermore, the present embodiment also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a program for determining the activation state of retinal ganglion cells, and when the program for determining the activation state of retinal ganglion cells is executed by a processor, the above-mentioned method for determining the activation state of retinal ganglion cells is implemented.
[0113] Furthermore, the present application also discloses a computer device, at the hardware level, such as Fig.12 As shown, the computer device includes a processor 12, an internal bus 13, a network interface 14, and a computer-readable storage medium 11. The processor 12 reads the corresponding computer program from the computer-readable storage medium and then runs it, forming a request processing device at the logical level. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices. The computer-readable storage medium 11 stores a discrimination program for the activation state of retinal ganglion cells, and when the discrimination program for the activation state of retinal ganglion cells is executed by the processor, the above-mentioned method for discriminating the activation state of retinal ganglion cells is implemented.
[0114] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0115] The specific implementation methods of the present invention are described in detail above. Although some embodiments have been shown and described, those skilled in the art should understand that these embodiments can be modified and improved without departing from the principles and spirit of the present invention, the scope of which is defined by the claims and their equivalents. These modifications and improvements should also be within the scope of protection of the present invention.
Claims
1. A method for determining the activation state of retinal ganglion cells, characterized in that: The discrimination method comprises: Acquiring the original electrical stimulation signal of the retinal ganglion cell and performing preprocessing, wherein the artifact segment in the original electrical stimulation signal is set to zero to achieve signal preprocessing; The pre-processed raw electrical stimulation signal is detected using a preset detection algorithm to obtain an action potential signal; Performing clustering processing on the action potential signal to determine the type of cells; Counting the number of times the action potential firing frequency of each type of cells after electrical stimulation reaches a standard threshold within a predetermined time period, and determining the activation state of each type of cells according to the number; The method for determining whether the action potential firing frequency of each category of cells reaches the standard threshold is as follows: If the action potential emission frequency in the first predetermined time period after the electrical stimulation is three times or more than the action potential emission frequency in the second predetermined time period before the electrical stimulation, it is determined that the action potential emission frequency reaches the standard threshold, and the action potential emission frequency is defined as the number of action potentials in the predetermined time period divided by the time length; The specific method of detecting the preprocessed raw electrical stimulation signal using a preset detection algorithm to obtain an action potential signal includes: The preprocessed original electrical stimulation signal is processed by a high-pass filter to obtain the first-layer approximate coefficients; The first layer approximation coefficients are processed by using an up-sampled high-pass filter to obtain the second layer approximation coefficients; Using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients and the second layer approximation coefficients respectively, to obtain a first signal to be detected and a second signal to be detected; Superimposing the first signal to be detected and the second signal to be detected and performing spike detection to obtain an action potential signal; The method of performing noise reduction processing on the first layer approximation coefficients by using a nonlinear energy operator to obtain a first signal to be detected includes: Formula (1) is used to recalculate the value of the first layer approximation coefficient at each moment: ψ(x(t))=x 2 (t)-x(t-1)x(t+1) (1), x(t) is the value of the first layer approximation coefficient at time t, and ψ(x(t)) is the recalculated signal amplitude; The recalculated signal amplitude is convolved using a smoothing window; Performing summation processing on the results obtained by the convolution processing to obtain a first signal to be detected; The method of superimposing the first signal to be detected and the second signal to be detected and performing peak detection includes: Adding the value of the first signal to be detected and the value of the second signal to be detected at the same time to obtain a superimposed signal to be detected; The signal amplitude greater than or equal to the threshold value in the superimposed signal to be detected is retained to obtain an action potential signal; The specific method of clustering the action potential signal to determine the type of the cell includes: Extracting features of the action potential signal to obtain wavelet packet coefficients; The number of clusters is calculated based on the wavelet packet coefficients using the silhouette coefficient method; The wavelet packet coefficients and cluster numbers are used as inputs of the K-means clustering algorithm for clustering to determine the cell categories.
2. The method for determining the activation state of retinal ganglion cells according to claim 1, characterized in that: The first predetermined time period is 300 milliseconds after electrical stimulation, and the second predetermined time period is 100 milliseconds before electrical stimulation.
3. A device for determining the activation state of retinal ganglion cells, characterized in that: The distinguishing device comprises: A data acquisition module, used for acquiring the original electrical stimulation signal of the retinal ganglion cells and performing preprocessing, wherein the artifact segment in the original electrical stimulation signal is set to zero to achieve signal preprocessing; A potential detection module is used to detect the pre-processed original electrical stimulation signal using a preset detection algorithm to obtain an action potential signal; A classification module, used for clustering the action potential signal to determine the type of cells; An activation judgment module is used to count the number of times the action potential emission frequency of each type of cells after electrical stimulation reaches a standard threshold within a predetermined time period, and to judge the activation state of each type of cells according to the number; The method for determining whether the action potential firing frequency of each category of cells reaches the standard threshold is as follows: If the action potential emission frequency in the first predetermined time period after the electrical stimulation is three times or more than the action potential emission frequency in the second predetermined time period before the electrical stimulation, it is determined that the action potential emission frequency reaches the standard threshold, and the action potential emission frequency is defined as the number of action potentials in the predetermined time period divided by the time length; The specific method of detecting the preprocessed raw electrical stimulation signal using a preset detection algorithm to obtain an action potential signal includes: The preprocessed original electrical stimulation signal is processed by a high-pass filter to obtain the first-layer approximate coefficients; The first layer approximation coefficients are processed by using an up-sampled high-pass filter to obtain the second layer approximation coefficients; Using a nonlinear energy operator to perform noise reduction processing on the first layer approximation coefficients and the second layer approximation coefficients respectively, to obtain a first signal to be detected and a second signal to be detected; Superimposing the first signal to be detected and the second signal to be detected and performing spike detection to obtain an action potential signal; The method of performing noise reduction processing on the first layer approximation coefficients by using a nonlinear energy operator to obtain a first signal to be detected includes: Formula (1) is used to recalculate the value of the first layer approximation coefficient at each moment: ψ(x(t))=x 2 (t)-x(t-1)x(t+1) (1), x(t) is the value of the first layer approximation coefficient at time t, and ψ(x(t)) is the recalculated signal amplitude; The recalculated signal amplitude is convolved using a smoothing window; Performing summation processing on the results obtained by the convolution processing to obtain a first signal to be detected; The method of superimposing the first signal to be detected and the second signal to be detected and performing peak detection includes: Adding the value of the first signal to be detected and the value of the second signal to be detected at the same time to obtain a superimposed signal to be detected; The signal amplitude greater than or equal to the threshold value in the superimposed signal to be detected is retained to obtain an action potential signal; The specific method of clustering the action potential signal to determine the type of the cell includes: Extracting features of the action potential signal to obtain wavelet packet coefficients; The number of clusters is calculated based on the wavelet packet coefficients using the silhouette coefficient method; The wavelet packet coefficients and cluster numbers are used as inputs of the K-means clustering algorithm for clustering to determine the cell categories.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for determining the activation state of retinal ganglion cells, and when the program for determining the activation state of retinal ganglion cells is executed by a processor, the method for determining the activation state of retinal ganglion cells according to any one of claims 1 to 2 is implemented.
5. A computer device, characterized in that: The computer device includes a computer-readable storage medium, a processor, and a retinal ganglion cell activation state determination program stored in the computer-readable storage medium. When the retinal ganglion cell activation state determination program is executed by the processor, the retinal ganglion cell activation state determination method described in any one of claims 1 to 2 is implemented.
