Sperm evaluation method and device based on analysis of lensless imaging light intensity space-time distribution

By using a lensless imaging method to analyze the spatiotemporal distribution of light intensity, the problems of poor portability and low detection accuracy of existing equipment have been solved. This method enables rapid and comprehensive assessment of semen quality, especially accurate assessment of sperm density and motility, and is suitable for portable testing in production sites.

CN120702991BActive Publication Date: 2026-11-24JIANGSU POLYTECHNIC COLLEGE OF AGRI & FORESTRY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510928771.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-07
Publication Date
2026-11-24
Estimated Expiration
2045-07-07

AI Technical Summary

Technical Problem

Existing semen quality testing equipment suffers from problems such as high cost, poor portability, low testing accuracy, and inability to assess sperm motility, making it impossible to quickly and easily conduct semen quality testing on the production site.

Method used

A method based on lensless imaging and spatiotemporal distribution analysis of light intensity was adopted. By continuously acquiring lensless images of semen samples, the fractal dimension of single-frame images was extracted to assess the number of individual sperm. The temporal and spatial correlations of light intensity fluctuations were combined to assess sperm motility. Rapid analysis was performed using a CMOS imaging sensor and an embedded microcomputer.

Benefits of technology

It enables accurate, comprehensive, rapid and convenient testing of semen quality on the production site, and can simultaneously assess sperm density and motility. It reduces hardware computing requirements, is portable, requires no chemical pretreatment, and provides more accurate test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120702991B_ABST
    Figure CN120702991B_ABST
Patent Text Reader

Abstract

This invention discloses a method and apparatus for semen evaluation based on the spatiotemporal distribution analysis of light intensity in lensless imaging. The method includes the following steps: continuously acquiring lensless imaging data of semen samples to obtain a lensless imaging time series; extracting a single-frame image from the lensless imaging time series; reconstructing the single-frame image; calculating the fractal dimension of the reconstructed image; evaluating the number of individual sperm based on the fractal dimension; obtaining the semen density by combining the sample volume; extracting a pixel light intensity time series from the lensless imaging time series; calculating the temporal and spatial correlations of light intensity fluctuations; and evaluating sperm motility based on the temporal and spatial correlations. This invention enables accurate, comprehensive, rapid, and convenient detection and evaluation of animal semen quality at the production site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of animal semen quality testing technology, specifically to a semen evaluation method and device based on lensless imaging light intensity spatiotemporal distribution analysis. Background Technology

[0002] Semen quality testing is an essential part of livestock farming. Semen quality analysis typically employs a microscope-based approach. Manual microscopy relies heavily on the operator's experience and skills, requiring them to observe and count sperm one by one. This process is subjective, tedious, and time-consuming. In contrast, computer-aided sperm analysis (CASA) systems utilize computer and digital image processing technology to process and analyze sperm images captured by a biological microscope. This allows for a series of complex tests and analyses, including sperm count, morphology analysis, motility tracking, and analysis of dynamic and static parameters. While offering powerful performance, high automation, and efficiency, the equipment is expensive, bulky, inaccessible, and complex to maintain. Its use requires highly specialized personnel, and the software is complex to operate. Therefore, it is only suitable for laboratory environments and cannot be easily performed on-site in production settings.

[0003] To reduce the cost of testing equipment, improve portability, and enable rapid on-site testing with ease of use, miniaturized sperm density meters have emerged. Currently widely used portable sperm density meters are based on colorimetric or spectrophotometric methods. Their principle utilizes the absorption characteristics of sperm at specific wavelengths of light. These absorption characteristics are closely related to their cellular components (such as proteins, nucleic acids, and lipids) and cell membrane structure. Semen is injected into a cuvette, and sperm density is assessed by comparing the absorbance of the semen sample with that of a reference. While colorimetric or spectrophotometric sperm density meters are small, portable, and easy to operate, allowing for quick and convenient on-site testing, their fundamental method is to measure sperm cell biomass and assess sperm count based on biomass. This results in low accuracy and an inability to assess sperm motility.

[0004] Some technical solutions utilize lensless imaging technology to image diluted semen. Specifically, the obtained lensless imaging interference pattern is reconstructed, and the reconstructed image is analyzed to achieve sperm counting and three-dimensional positioning of individual sperm. The three-dimensional coordinates are concatenated to obtain a trajectory, which is then calculated to determine motility. Due to the high density of semen and significant overlap in lensless imaging, the semen needs to be diluted before imaging. Furthermore, this process requires reconstructing the lensless image of each individual sperm. During reconstruction, the reconstruction distance parameter needs to be iteratively calculated and locked, and the three-dimensional positioning of the individual sperm is locked based on the geometric relationship of the reconstruction distance. By connecting the three-dimensional coordinates, the movement trajectory of the individual sperm is finally formed, and motility is calculated based on the movement trajectory. This process involves a huge amount of computation, requiring a high-performance computer and a long analysis time. Summary of the Invention

[0005] The purpose of this section is to outline some aspects of the embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.

[0006] Therefore, the purpose of this invention is to provide a method and device for semen evaluation based on lensless imaging light intensity spatiotemporal distribution analysis, so as to realize accurate, comprehensive, rapid and convenient detection and evaluation of animal semen quality at the production site.

[0007] To address the aforementioned technical problems, according to one aspect of the present invention, the present invention provides the following technical solution: A method for semen evaluation based on lensless imaging light intensity spatiotemporal distribution analysis, comprising the following steps: S1. Continuously acquire lensless imaging data of semen samples to obtain a lensless imaging time series. S2. Extract a single frame image from the lensless imaging time series, reconstruct the single frame image, calculate the fractal dimension of the reconstructed image, evaluate the number of individual sperm based on the fractal dimension, and obtain the semen density by combining the sample volume. S3. Extract the pixel light intensity time series from the lensless imaging time series, calculate the temporal and spatial correlations of light intensity fluctuations, and evaluate sperm motility based on the temporal and spatial correlations.

[0008] As a preferred embodiment of the semen evaluation method based on lensless imaging light intensity spatiotemporal distribution analysis described in this invention, in step S2, the single-frame image is reconstructed, the fractal dimension of the reconstructed image is calculated, and the specific steps for evaluating the number of individual sperm based on the fractal dimension are as follows: The single-frame image is cut into multiple image blocks, and each image block is reconstructed to obtain reconstructed image blocks; The reconstructed image block is subjected to denoising and grayscale normalization processing, and the processed reconstructed image block is represented as a two-dimensional surface; For the two-dimensional surface, different step lengths are selected to calculate the variation function; A logarithmic graph is plotted based on the variogram, and a linear fit is performed to obtain the slope. The Hearst exponent is calculated from the slope, and then the fractal dimension is obtained. The fractal dimensions of all image patches are accumulated to obtain the total fractal dimension. The total fractal dimension is then fitted with the total number of sperm measured by standard CASA to establish a relationship model. The number of individual sperm is then evaluated based on the relationship model.

[0009] As a preferred embodiment of the semen evaluation method based on lensless imaging light intensity spatiotemporal distribution analysis described in this invention, the specific steps for calculating the variogram function by selecting different phase lengths for the two-dimensional surface are as follows: For each image patch, different stride sizes are selected, and the variation is calculated in multiple directions. The average value is then taken to calculate the variation. ; Traverse all pixels Calculate its relationship with the step size. Square the height difference between the points and calculate the mean:

[0010] Statistical differences Value ,in, It's the step length. The step size is The number of point pairs available at any time It is the grayscale value of a pixel in the image. These are step sizes in different directions.

[0011] As a preferred embodiment of the semen evaluation method based on lensless imaging light intensity spatiotemporal distribution analysis according to the present invention, in step S3, the temporal and spatial correlations of light intensity fluctuations are calculated, and the specific steps for evaluating sperm motility based on the temporal and spatial correlations are as follows: Autocorrelation function analysis is performed on the pixel light intensity time series to obtain the normalized time correlation function. The pixel motion coefficient is calculated based on the decay rate of the normalized time correlation function. The overall motion degree is obtained by accumulating the pixel motion coefficients of all pixels. Calculate the gradient co-occurrence of all pixels within the field of view in the temporal and spatial dimensions to obtain spatial correlation; The overall motility of sperm is obtained by dividing the overall motility by the spatial correlation, and the average motility of individual sperm is obtained by combining the number of sperm.

[0012] As a preferred embodiment of the semen assessment method based on lensless imaging light intensity spatiotemporal distribution analysis described in this invention, the specific steps of performing autocorrelation function analysis on the pixel light intensity time series to obtain a normalized time correlation function, calculating the pixel motion coefficient based on the decay rate of the normalized time correlation function, and accumulating the pixel motion coefficients of all pixels to obtain the overall motion degree are as follows: The temporal correlation of light intensity fluctuations is calculated based on the time series of light intensity fluctuations of individual pixels, using the autocorrelation function. To describe; The autocorrelation function is normalized, and the normalized time correlation function is obtained by the following formula. ;

[0013] Wherein, β is determined by the optical path geometry of the device, and the decay rate of the autocorrelation function can be used to assess the time correlation. The slower the decay, the stronger the correlation; the faster the decay, the weaker the correlation. The autocorrelation function exhibits exponential decay, and its decay is related to the degree of random motion of the corresponding particles in the pixel, i.e., it is related to the pixel motion coefficient. Related; The pixel motion coefficients of all pixels within the entire field of view By accumulating these steps, the overall degree of motion can be obtained. .

[0014] As a preferred embodiment of the semen assessment method based on spatiotemporal distribution analysis of light intensity in lensless imaging as described in this invention, the specific calculation of spatial correlation by calculating the gradient coherence of all pixels within the field of view in the temporal and spatial dimensions is as follows: Spatial correlation is characterized by the gradient coherence of all pixels within the field of view in both temporal and spatial dimensions, and the calculation method is shown in the following equation.

[0015] in, Here, is the spatiotemporal gradient operator, and i is the frame number in the video. Total number of frames; grayscale images of each frame in the video Calculate its three-dimensional spatiotemporal gradient vector: ; in, and For the spatial gradient, the Sobel operator spatial gradient is used, and the calculation method is as follows:

[0016]

[0017] in, , The temporal gradient is calculated using inter-frame difference, and the calculation method is as follows: .

[0018] A semen assessment device based on lensless imaging light intensity spatiotemporal distribution analysis, comprising: The shell has a side opening with a hinged, reversible closure cover, and a sample container support platform on its bottom plate. The sample container is detachably mounted on the sample container support platform; The light source is mounted on the top of the inner wall of the housing; A CMOS imaging sensor is installed on the bottom of the inner wall of the housing, and the center of the sample container, the light source and the CMOS imaging sensor are located on the same vertical line; An operation display screen, mounted on the outer wall of the housing, is used to control the device and display detection values; An embedded microcomputer is installed within the housing and electrically connected to the operation display screen and the CMOS imaging sensor to control the operation of the operation display screen and the CMOS imaging sensor.

[0019] As a preferred embodiment of the semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to the present invention, the sample container includes a base plate, a rectangular frame disposed on the base plate, and a top cover plate hinged to the rectangular frame, wherein the top of the rectangular frame forms an open sample cavity.

[0020] As a preferred embodiment of the semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to the present invention, the sample container support platform has a sliding groove on its side that matches the two sides of the base plate.

[0021] As a preferred embodiment of the semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to the present invention, the light source includes a light source sleeve, a single red light-emitting diode disposed on the top of the inner wall of the light source sleeve, a filter disposed on the inner wall of the light source sleeve, and a microporous plate installed at the bottom of the light source sleeve.

[0022] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention can simultaneously detect sperm density and assess sperm motility, providing a more comprehensive evaluation of semen quality compared to other portable sperm density testing instruments. Its test results more accurately reflect the density of active sperm, offering a more accurate and reliable basis for semen dilution.

[0023] 2. The device and method designed in this invention combine the advantages of both spectrophotometry and microscopic imaging, and have the advantages of high precision, low cost, short detection time and portable device.

[0024] 3. This invention is based on an optical imaging method, which has the advantage of microscopic imaging in detecting sperm density, being able to pinpoint the individual sperm, and is more accurate than spectrophotometry.

[0025] 4. The method of this invention for evaluating sperm motility performance is to perform oscillation intensity and energy analysis on the light intensity distribution surface obtained from the diffraction imaging spatial sequence. This method can obtain the overall motility performance of the semen sample, rather than the analysis and statistics of the motility performance of individual sperm. Therefore, the requirements for hardware computing performance are greatly reduced, the detection time is greatly reduced, and the equipment can be miniaturized and has high portability.

[0026] 5. The detection process of this invention does not require chemical pretreatment such as staining of semen, and does not contaminate the semen sample. Attached Figure Description

[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and detailed embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is a schematic diagram of the overall structure of the semen evaluation device based on the spatiotemporal distribution analysis of lensless imaging light intensity of the present invention. Figure 2 This is a partial structural cross-sectional view of the semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis of the present invention. Figure 3 For the present invention Figure 2 A partial structural diagram of a semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis after the sample container has been removed. Figure 4 This is a schematic diagram of the structure of the sample container provided by the present invention; Figure 5 A cross-sectional structural diagram of the light source provided by the present invention; Figure 6 A flowchart for sperm density detection provided by this invention; Figure 7This is a flowchart for extracting pixel light intensity time series from the lensless imaging time series provided by the present invention.

[0028] Figure 8 A flowchart for assessing average sperm motility provided by this invention. Detailed Implementation

[0029] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0030] This invention provides a method and apparatus for semen evaluation based on lensless imaging light intensity spatiotemporal distribution analysis, so as to realize accurate, comprehensive, rapid and convenient detection and evaluation of animal semen quality on the production site. Example

[0031] Figures 1-5 The diagram shown is a structural schematic of the semen assessment device based on lensless imaging light intensity spatiotemporal distribution analysis of the present invention. Please refer to [link / reference]. Figures 1-5 The semen evaluation device based on spatiotemporal distribution analysis of light intensity in lensless imaging according to this embodiment includes a housing 100, a sample container 200, a light source 300, a CMOS imaging sensor 400, an operation display screen 500, and an embedded microcomputer 600.

[0032] The housing 100 has an opening on the side, and a reversible closed cover 110 is hinged to the side of the opening. A sample container support 120 is provided on its bottom plate. The housing 100 is used to load and unload the sample container 200, ensuring that the semen sample is located in a specific spatial position and that the entire imaging acquisition process is carried out in a sealed optical darkroom.

[0033] The sample container 200 is detachably mounted on the sample container support platform 120. In this embodiment, the sample container 200 includes a base plate 210, a rectangular frame 220 disposed on the base plate 210, and a top cover plate 230 hinged to the rectangular frame 220. The top of the rectangular frame 220 forms an open sample cavity 220a. The side of the sample container support platform 120 is provided with a sliding groove 120a that mates with the two sides of the base plate 210. The experimenter can insert the base plate 210 into the sliding groove 120a for fixation, or pull it out from the sliding groove 120a to remove the sample container 200. For optimal performance, both the base plate 210 and the top cover plate 230 are made of pure polystyrene material with high optical transparency and are polished to maximize the consistency of the intensity and phase of the emitted light after passing through the base plate 210 and the top cover plate 230. The sample cavity 220a is square with geometric dimensions of 30×28mm, and its length and width dimensions are consistent with the length and width dimensions of the photosensitive area of ​​the CMOS imaging sensor 400. During detection, a specific volume (1ml) of semen sample is injected into the sample cavity 220a using a pipette, at which time the semen depth is approximately 1.2mm.

[0034] The light source 300 is mounted on the top of the inner wall of the housing 100. In this embodiment, the light source 300 includes a light source sleeve 310, a single red light-emitting diode 320 disposed on the top of the inner wall of the light source sleeve 310, a filter 330 disposed on the inner wall of the light source sleeve 310, and a microporous plate 340 mounted on the bottom of the light source sleeve 310. The single red light-emitting diode 320 can be a 650nm red light-emitting diode with a longer wavelength. The filter 330 further improves its monochromaticity. The light source sleeve 310 is made of an opaque material. The diameter of the circular micro-hole at the center of the microporous plate 340 can be 50μm. The light emitted by the single red light-emitting diode 320 is split on the wavefront after passing through the micro-hole, forming monochromatic partially coherent light with a wavefront approximately equal to a plane wave.

[0035] The CMOS imaging sensor 400 is installed on the bottom of the inner wall of the housing 100, and the center of the sample container 200, the light source 300 and the CMOS imaging sensor 400 are located on the same vertical line. In actual use, the CMOS imaging sensor 400 follows the instructions of the embedded microcomputer 600 to acquire the lensless imaging time series of animal semen at a certain shooting frequency within a certain time period.

[0036] The operation display screen 500 is mounted on the outer wall of the housing 100 and is used to control the equipment and display the detection values.

[0037] An embedded microcomputer 600 is installed inside the housing 100 and is electrically connected to the operation display screen 500 and the CMOS imaging sensor 400 to control the operation of the operation display screen 500 and the CMOS imaging sensor 400.

[0038] Combination Figures 1-5 The semen evaluation device based on the spatiotemporal distribution analysis of light intensity in lensless imaging, as described in this embodiment, is used as follows: After the device is in standby mode, the operation display screen 500 instructs the user to perform a sampling operation. The user opens the sealing cover 110 on the side of the housing 100, removes the sample container 200 from the container support stage 120, opens the upper cover 230 of the sample container 200, injects the specified volume of semen into the sample cavity 220a using a pipette, closes the upper cover 230, inserts the sample container 200 into the sample container support stage 120, and closes the sealing cover 110. Pressing the start button on the operation display screen 500 initiates the detection process. The embedded microcomputer 600 turns on the light source 300 and sends instructions to the CMOS imaging sensor 400 to perform continuous acquisition of lensless imaging. Then, it performs a data preparation process, extracting the corresponding data from the prepared data one by one, and performing sperm count detection and overall sperm motility performance detection respectively. Finally, the operation display screen 500 displays the sperm density and average motility index. Example

[0039] This invention also provides a semen evaluation method based on lensless imaging light intensity spatiotemporal distribution analysis, the steps of which are as follows: S1. Continuously acquire lensless imaging data of semen samples to obtain a lensless imaging time series. S2. Extract a single frame image from the lensless imaging time series, reconstruct the single frame image, calculate the fractal dimension of the reconstructed image, evaluate the number of individual sperm based on the fractal dimension, and obtain the semen density by combining the sample volume. S3. Extract the pixel light intensity time series from the lensless imaging time series, calculate the temporal and spatial correlations of light intensity fluctuations, and evaluate sperm motility based on the temporal and spatial correlations.

[0040] The above step S1 is specifically acquired by a semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis.

[0041] like Figure 6 As shown, the specific implementation steps of step S2 above are as follows: Step 1: Extract a frame from the time series of lensless imaging of animal semen and perform convolution-based reconstruction on this frame to obtain the reconstructed image. During reconstruction, the entire image is first divided into 256×256 pixel blocks. The object-image distance parameter is set according to the actual object-image distance of the imaging device. This distance is determined by the distance from the bottom of the sample container to the surface of the CMOS sensor, resulting in the reconstructed image of each block. Gaussian filtering is used to denoise the image. To avoid the influence of uneven light intensity, the image grayscale is normalized, mapping the grayscale values ​​to [0,1]. The grayscale image is represented as a two-dimensional surface, with pixel grayscale values... This represents the height value at that pixel on the curved surface.

[0042] Step 2: Calculate the variation function, selecting different step sizes for the image patch. Here, we take... =1, 2, 4, 8, 16, 32, 64. Calculate the variation using multiple directions (e.g., horizontal, vertical, diagonal) and take the average. Calculate the variation. traverse all pixels Calculate its relationship with the step size. Square the height difference between the points and calculate the mean:

[0043] Statistical differences Value ,in, It is spatial distance (step length). The step size is The number of point pairs available at any time It is the grayscale value of a pixel in the image (corresponding to the surface height). It is the step size in different directions (usually the average of 8 directions is chosen).

[0044] Step 3: Calculate the fractal dimension, plot the logarithmic graph, and plot the fractal dimension on the logarithmic coordinate axis. and Perform a linear fit, calculate the slope, and then calculate the Hearst exponent H from the slope.

[0045] Calculate the fractal dimension D: D = 3 - H.

[0046] Step 4: Calculate and accumulate the fractal dimension of all image patches to reconstruct the total fractal dimension D of the two-dimensional curved surface of the imaging light intensity distribution. 总 To assess the number of individual sperm in the sample, before obtaining the sperm count result, the fractal dimension result obtained above should be fitted with the total number of sperm measured by standard CASA to establish a relationship model and complete the calibration of the relationship between fractal dimension and sperm count.

[0047] In step S3 above, two steps are required. The first step is to extract the pixel light intensity time series from the lensless imaging time series. The second step is to calculate the temporal and spatial correlations of light intensity fluctuations and evaluate sperm motility based on the temporal and spatial correlations.

[0048] like Figure 7 As shown, the specific steps for extracting the pixel intensity time series from the lensless imaging time series are as follows: Extract each frame image from the original lensless imaging time series, sort and label them according to the time series. Lensless imaging is essentially a light intensity distribution surface. Normalize the pixel grayscale values ​​of the lensless imaging and record them as the light intensity at that pixel. Represents the coordinates on the i-th surface in the time series. The light intensity value at that location. The time interval (i.e., time difference) between two frames. , The specific value depends on the parameters of the high-speed CMOS camera, to ensure... Smaller size, using a high-speed camera. Specify a group. The pixel grayscale values ​​of each coordinate on each surface are extracted sequentially according to time, concatenated, and the shooting time interval parameter is added to obtain the light intensity time series of that coordinate. By iterating through all pixel coordinates across the entire image, we obtain the time series of light intensity for all pixels.

[0049] like Figure 8 As shown, the specific steps for calculating the temporal and spatial correlations of light intensity fluctuations and assessing sperm motility based on these temporal and spatial correlations are as follows: In lensless imaging, when particles in the sample are stationary, the resulting pixel light intensity fluctuations are determined by the temporal coherence of the light source and are autocorrelated. Changes in the temporal correlation of light intensity fluctuations reflect the degree of random motion of the corresponding particles. For the light intensity time series of each pixel, the temporal correlation of light intensity fluctuations is analyzed using an autocorrelation function, and the pixel motion coefficient is obtained by fitting the data. In terms of pixel motion coefficients Characterizes the degree of random movement of the particles corresponding to that pixel. Pixel motion coefficient. It is the degree of irregular movement of pixels described by the time autocorrelation of light intensity fluctuations.

[0050] The temporal correlation of light intensity fluctuations is calculated based on the time series of light intensity fluctuations of individual pixels, using the autocorrelation function. To describe.

[0051] The autocorrelation function is normalized as follows:

[0052] Obtain the normalized time correlation function Where β is determined by the optical path geometry of the device. The decay rate of the autocorrelation function can be used to assess temporal correlation. The slower the decay, the stronger the correlation; the faster the decay, the weaker the correlation. Generally, it is based on... The decay curve of the autocorrelation function is obtained by using the x-axis.

[0053] The autocorrelation function exhibits exponential decay, and its decay is related to the degree of random motion of the corresponding particles in the pixel, i.e., it is related to the pixel motion coefficient. Related.

[0054] The pixel motion coefficients of all pixels within the entire field of view Accumulate the total amount of motion to obtain the overall degree of motion. .

[0055] Assessing the spatial correlation between pixels: Since the lensless image corresponding to a single sperm individual covers multiple pixels, when all pixels originate from a single individual, the changes in pixels are spatially completely cross-correlated. The obtained lensless image is formed by the partial overlap of patterns corresponding to multiple sperm individuals; therefore, there is a certain spatial correlation between pixels. The greater the spatial correlation, the fewer individuals the image was formed from, and vice versa.

[0056] Spatial correlation is characterized by the gradient coherence of all pixels within the field of view in both temporal and spatial dimensions, and the calculation method is shown in the following formula:

[0057] The more concentrated the gradient direction, the more consistent the change. Here, is the spatiotemporal gradient operator, and i is the frame number in the video. Total number of frames; grayscale images of each frame in the video Calculate its three-dimensional spatiotemporal gradient vector .in and For the spatial gradient, use the Sobel operator for the spatial gradient, calculated as follows:

[0058]

[0059] in,

[0060] The temporal gradient is calculated using inter-frame difference, and the calculation method is as follows:

[0061] With the overall motion coefficient of the field of view Divide by the spatial correlation of the entire field of view The result obtained is the overall sperm motility.

[0062] Based on the overall motility obtained above and the sperm count T obtained above, the average motility is calculated. .

[0063] In other embodiments, the density of highly motile sperm can also be evaluated, specifically by: setting a threshold for the pixel motility coefficient M; and, based on the set threshold, selecting pixels with high motility whose pixel motility coefficient M exceeds the threshold standard. The proportion k of high-motility pixels is determined based on the number of high-motility pixels. The number kT of sperm with motility exceeding the specified standard is obtained based on the total number of sperm T obtained previously and the proportion k obtained in this step.

[0064] Although the present invention has been described above with reference to embodiments, various modifications can be made and components can be replaced with equivalents without departing from the scope of the invention. In particular, as long as there is no structural conflict, the features in the disclosed embodiments can be combined with each other in any manner. The lack of an exhaustive description of these combinations in this specification is merely for the sake of brevity and resource conservation. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A method for semen evaluation based on lensless imaging of spatiotemporal distribution of light intensity, characterized in that, The steps are as follows: S1. Continuously acquire lensless imaging data of semen samples to obtain a lensless imaging time series. S2. Extract a single frame image from the lensless imaging time series, reconstruct the single frame image, calculate the fractal dimension of the reconstructed image, evaluate the number of individual sperm based on the fractal dimension, and obtain the semen density by combining the sample volume. S3. Extract the pixel light intensity time series from the lensless imaging time series, calculate the temporal and spatial correlations of light intensity fluctuations, and evaluate sperm motility based on the temporal and spatial correlations. The specific steps are as follows: Autocorrelation function analysis is performed on the pixel light intensity time series to obtain the normalized time correlation function. The pixel motion coefficient is calculated based on the decay rate of the normalized time correlation function. The overall motion degree is obtained by accumulating the pixel motion coefficients of all pixels. The specific steps are as follows: The light intensity fluctuation time correlation is calculated according to a time sequence of light intensity fluctuation of a single pixel, and the light intensity fluctuation time correlation is described by an autocorrelation function ; The autocorrelation function is normalized, and the normalized time correlation function is obtained according to the following formula ; ; Wherein, β is determined by the optical path geometry of the device, and the decay rate of the autocorrelation function is used to evaluate the time correlation. The slower the decay, the stronger the correlation; the faster the decay, the weaker the correlation. The autocorrelation function decays exponentially, the decay being related to the degree of random motion of the particle to which the pixel corresponds, i.e. to the pixel motion coefficient correlation; pixel motion coefficients of all pixels within the entire field of view cumulating, the overall motion degree is obtained ; The spatial correlation is obtained by calculating the gradient co-occurrence of all pixels within the field of view in both temporal and spatial dimensions, as detailed below: Spatial correlation is characterized by the gradient coherence of all pixels within the field of view in both temporal and spatial dimensions, and the calculation method is shown in the following equation. ; wherein is a spatio-temporal gradient operator, i is the frame number in the video, is the total number of frames; for each frame of the video , compute its spatio-temporal gradient three-dimensional vector: ; wherein and is the spatial gradient, using the sobel operator spatial gradient, calculated as: ; ; wherein , is the time gradient, calculated using inter-frame difference calculation, the calculation method being ; The overall motility of sperm is obtained by dividing the overall motility by the spatial correlation, and the average motility of individual sperm is obtained by combining the number of sperm.

2. The method according to claim 1, wherein, In step S2, the single-frame image is reconstructed, the fractal dimension of the reconstructed image is calculated, and the specific steps for evaluating the number of individual sperm based on the fractal dimension are as follows: The single-frame image is cut into multiple image blocks, and each image block is reconstructed to obtain reconstructed image blocks; The reconstructed image block is subjected to denoising and grayscale normalization processing, and the processed reconstructed image block is represented as a two-dimensional surface; For the two-dimensional surface, different step lengths are selected to calculate the variation function; A logarithmic graph is plotted based on the variogram, and a linear fit is performed to obtain the slope. The Hearst exponent is calculated from the slope, and then the fractal dimension is obtained. The fractal dimensions of all image patches are accumulated to obtain the total fractal dimension. The total fractal dimension is then fitted with the total number of sperm measured by standard CASA to establish a relationship model. The number of individual sperm is then evaluated based on the relationship model.

3. The method according to claim 2, wherein, For the two-dimensional surface, the specific steps for calculating the variation function by selecting different step lengths are as follows: For image blocks, different step lengths are selected, and the variance is calculated in multiple directions, and the average value is calculated ; Traverse all pixel points , calculate the square of height difference with the point at step , and take the average value: ; Statistics different values of wherein, is a step size, is a step size for the number of point pairs available, is a gray value of a pixel point in the image, is a step size in different directions.

4. An apparatus for implementing the semen evaluation method based on lensless imaging light intensity spatiotemporal distribution analysis as described in any one of claims 1-3, characterized in that, include: The shell (100) has a side opening and a hinged, rotatable closure cover (110) on the side of the opening, and a sample container support platform (120) is provided on its bottom plate. The sample container (200) is detachably mounted on the sample container support platform (120); A light source (300) is mounted on the top of the inner wall of the housing (100); A CMOS imaging sensor (400) is installed on the bottom of the inner wall of the housing (100), and the centers of the sample container (200), the light source (300) and the CMOS imaging sensor (400) are located on the same vertical line; An operation display screen (500) is installed on the outer wall of the housing (100) for controlling the device and displaying detection values; An embedded microcomputer (600) is installed inside the housing (100) and electrically connected to the operation display (500) and the CMOS imaging sensor (400) to control the operation of the operation display (500) and the CMOS imaging sensor (400).

5. The semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to claim 4, characterized in that, The sample container (200) includes a base plate (210), a rectangular frame (220) disposed on the base plate (210), and an upper cover plate (230) hinged to the rectangular frame (220), wherein the top of the rectangular frame (220) forms an open sample cavity (220a).

6. The semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to claim 5, characterized in that, The sample container support platform (120) has a sliding groove (120a) on its side that matches the two sides of the base plate (210).

7. The semen evaluation device based on lensless imaging light intensity spatiotemporal distribution analysis according to claim 4, characterized in that, The light source (300) includes a light source sleeve (310), a single red light-emitting diode (320) disposed on the top of the inner wall of the light source sleeve (310), a filter (330) disposed on the inner wall of the light source sleeve (310), and a microporous plate (340) installed at the bottom of the light source sleeve (310).

Citation Information

Patent Citations

  • Bacterial activity detection method based on light scattering

    CN117990661A