A sperm flagellum automatic quantitative analysis method based on free direction continuous convolution

By constructing free-direction continuous convolution kernels, the problem of discontinuous flagella segmentation in existing technologies is solved, enabling pixel-level continuous segmentation of sperm flagella and automatic calculation of motion parameters, thereby improving segmentation accuracy and network stability.

CN123181318APending Publication Date: 2026-11-27SUZHOU BOUNDLESS MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611283441.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot reliably achieve continuous segmentation of sperm flagella, resulting in the inability to accurately calculate flagellar motion parameters and hindering high-throughput automated analysis.

Method used

A method based on free-direction continuous convolution is adopted to construct a free-direction continuous convolution kernel containing grid points. Grid points are placed through eight-connected neighborhood directions to form sequential adjacent connections. This replaces the convolutional layer in the standard segmentation network, obtains a flagellated binary mask, and calculates motion parameters.

Benefits of technology

It achieves pixel-level continuous segmentation of sperm flagella, can completely track arbitrary curvature and orientation of flagella, improves segmentation accuracy and network stability, and can automatically calculate five flagella motion parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181318A_ABST
    Figure CN123181318A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of biomedical image processing and computer-aided semen analysis, and discloses a sperm flagellum automatic quantitative analysis method based on free direction continuous convolution, sperm movement video is acquired and input into a segmentation network frame by frame; a non-direction continuous convolution kernel is constructed, a sequential grid placement strategy is adopted, each grid point is sequentially placed along eight-connected neighborhood directions and position occupation constraints are applied, so that the convolution kernel is self-adaptive to flagellum curvature in a full 360-degree range and keeps the connectivity of adjacent grids; the convolution kernel is integrated into an encoder-decoder segmentation network to replace a standard convolution layer, and a flagellum binary mask is generated frame by frame; skeletonization and cubic spline interpolation are performed on the mask to extract a center line, and five quantitative parameters of straightness, beating amplitude, beating frequency, average speed and viscous dissipation power are calculated. The application realizes the unity of structure continuity and full direction adaptability in flagellum segmentation, and improves the segmentation accuracy and automatic calculation ability of flagellum parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of biomedical image processing and computer-aided semen analysis technology, and in particular to an automated quantitative analysis method for sperm flagella based on free-direction continuous convolution. Background Technology

[0002] Male infertility is a global health problem, affecting approximately one in six couples, with male factors accounting for about half of all infertility cases. Accurate assessment of sperm function is crucial for guiding effective treatment and improving reproductive outcomes. In current clinical practice, computer-assisted sperm analysis (CASA) systems are entirely based on sperm head trajectory assessment, measuring head kinematic parameters such as curve velocity (VCL), mean path velocity (VAP), ALH (alternating horizontal head amplitude), mean angular displacement (MAD), and head whipping frequency (BCF). The World Health Organization has emphasized the need to move beyond head-based assessments to achieve a more comprehensive sperm evaluation, and clinicians are increasingly advocating for systematic quantitative analysis of flagellated behavior. Sperm flagellation patterns directly reflect sperm metabolic status, axonal integrity, and fertilization capacity, but current clinical tools fail to characterize them. Therefore, characterizing sperm flagellated dynamics remains a long-standing but unmet clinical need.

[0003] Acquiring flagellar motility parameters is inherently a high-throughput challenge: flagella beat at high frequencies with complex waveforms, and statistical analysis requires quantitative analysis of hundreds of individual sperm cells, necessitating automated segmentation and analysis systems. The main bottleneck limiting such systems is the inability to achieve accurate and continuous segmentation of sperm flagella. Three factors make this task exceptionally difficult. First, sperm flagella beat in three-dimensional space, while microscopes only capture two-dimensional projections. As the flagella move during its beating cycle, some structures frequently leave the focal plane, creating discontinuities in the visual representation. Second, flagella are extremely fine structures, approximately 1 micrometer in diameter, corresponding to only 5 to 10 pixels in a typical 40x magnification image, resulting in low imaging contrast and easy blending into the background. Third, flagellar beating patterns are highly dynamic, exhibiting complex time-varying geometry, with significant differences between different sperm cells and between different beating phases. Because flagella can bend in any direction within the imaging plane during its beating cycle, the segmentation method must provide omnidirectional (360-degree) receptive field coverage to faithfully track the entire range of flagellar orientation.

[0004] Flagella segmentation methods can be broadly categorized into traditional image processing methods and learning-based methods. Traditional methods rely on geometric and topological priors. Early methods used Gaussian mixture models to model the background and head appearance and employed Bayesian segmentation. Later methods extended this to include structural similarity indices and R'{e}nyi entropy measures. However, these methods are sensitive to threshold settings and heavily depend on the contrast between the flagella and the background. Under bright-field microscopy, this condition is frequently violated, leading to discontinuous segmentation results. Learning-based methods have made significant progress, including the use of support vector machine classifiers combined with handcrafted features, fully convolutional networks, multi-task learning frameworks, improved U-Nets with attention gates, and various U-Net variants. However, reports have indicated that these methods struggle to capture complete flagella and maintain segmentation continuity.

[0005] From the perspective of convolution operator design, standard convolution kernels employ a fixed grid-like receptive field, which cannot adapt to the curved geometry of tubular structures. Dilated convolution expands the receptive field but retains a fixed grid topology, making it unsuitable for curved geometry. Deformable convolution achieves input-dependent receptive field adjustment by introducing learnable spatial offsets, but its unconstrained offset space allows sampling locations to scatter into irrelevant background regions, severely impairing the segmentation performance of fine structures only a few pixels wide. To address this drift problem, existing techniques have proposed Continuous Convolution (CConv), which maintains kernel continuity through axis-aligned linearized constraint offsets. However, CConv requires separate x-axis and y-axis convolutions to cover different orientations, doubling the computational cost and resulting in no information sharing between the two passes. Furthermore, tracking accuracy degrades when the local tangent angle deviates from its principal axis during each directional pass, preventing the sufficient capture of flagella with complex multi-directional curvature.

[0006] In summary, existing technologies suffer from the following main problems: the fixed mesh of standard convolution cannot adapt to the curved structure of flagella, leading to discontinuous segmentation; the unconstrained offset of deformable convolution causes sampling points to drift into the background region, resulting in severe performance degradation or even crashes on multiple network architectures; axis-aligned continuous convolution is limited to an directional coverage range of approximately ±45 degrees, making it unable to handle flagella that bends in all directions in a single pass. These limitations prevent existing methods from reliably obtaining continuous segmentation results for flagella, thus hindering the automated, high-throughput computation of flagella motion parameters. Summary of the Invention

[0007] Therefore, the technical problem to be solved by the present invention is to overcome the fact that various convolution kernels in the prior art cannot reliably obtain continuous segmentation results of the flagella, which in turn leads to inaccurate quantitative analysis of flagella motion parameters.

[0008] To address the aforementioned technical problems, this invention provides an automated quantitative analysis method for sperm flagella based on free-direction continuous convolution, comprising: Build includes A free-direction continuous convolution kernel with n grid points, wherein the first grid point is placed at any position within the convolution kernel, and the second grid point is placed at any position within the kernel. The grid point is placed at the first... In any neighborhood direction of an eight-connected neighborhood of a grid point, sequential adjacent connections are formed. Grid points, ; An improved segmentation network is obtained by replacing the standard convolutional layers in a standard segmentation network based on an encoder-decoder structure with free-direction continuous convolutional kernels. The sperm motility video is input frame by frame into the improved segmentation network to obtain the flagella binary mask corresponding to each frame of motion image; Based on the flagellum binary mask of each frame of motion image, extract the center line of the flagellum in each frame of motion image; Based on sperm motility videos and the flagellar centerlines in all frames of motion images, quantitative parameters of sperm flagella in sperm motility videos are calculated.

[0009] Preferably, the free-direction continuous convolution kernel satisfies position occupancy constraints, including: each grid point occupies a unique spatial position, and all grid points do not overlap.

[0010] Preferably, the free-direction continuous convolution kernel satisfies the neighborhood continuity constraint, including: the first The grid point and the first Each grid point is directly connected.

[0011] Preferably, the convolution process of the free-direction continuous convolution kernel includes: Obtain the input feature map and initialize the modulation scalar and the set of occupied positions; Place the first grid point at any position in the convolution kernel, and add that position to the set of occupied positions; Place the first Grid points, including: Get the The set of 8-connected neighborhood directions of n grid points, where each neighborhood direction is connected to the nth grid point. The positions of the grid points are summed to obtain the corresponding candidate positions; the neighboring directions of the candidate positions that are already occupied positions are deleted, and the remaining neighboring directions are used to form the first... A set of candidate directions for grid points; Based on the local features at candidate locations on the input feature map, learnable convolutional layers are used to obtain the prediction scores of each candidate direction corresponding to each candidate location, and then normalized to obtain the candidate direction weights of each candidate direction. The weighted sum of all candidate directions and their weights is calculated to obtain the first... The initial displacement vector of each grid point; From the set of candidate directions, select the candidate direction that is closest to the initial displacement vector, and take it as the first... The target displacement vector of each grid point; The first The position of the grid point is related to the first grid point. Add the target displacement vectors of the nth grid points to obtain the nth grid point. The placement of each grid point; Obtain the first feature map from the input feature map. The local features at the placement location of the nth grid point are used as the nth grid point's local features. Convolutional features at each grid point; Find the maximum value of the candidate direction weights among all candidate directions, which is the nth direction. Step modulation scalar; the first The placement position of the first grid point is added to the set of occupied positions, and the placement of the second grid point continues. 1 grid point, until sequential adjacent connections are formed. 1 grid point; By utilizing the learnable weights of each grid point and their corresponding modulation scalars, the convolutional features at each grid point are weighted and summed to obtain the convolutional output of free-direction continuous convolutional kernels.

[0012] Preferably, the first Candidate direction set of grid points , is represented as: ; in, Indicates candidate directions. Represents the 8-connected neighborhood direction set, with the first... The positions of the grid points are Then its 8-connected neighborhood direction set ; Indicates the first The placement of each grid point This represents the set of occupied locations.

[0013] Preferably, the candidate direction weights for each candidate direction are obtained, and are expressed as follows: ; in, Indicates the first Grid points in the candidate direction Candidate direction weights at each location Indicates the first Grid points in the candidate direction Predicted score at the location, Represents an exponential function. Indicates the first A set of candidate directions for grid points.

[0014] Preferably, the first Initial displacement vector of each grid point , is represented as: ; No. The target displacement vector of each grid point , is represented as: .

[0015] Preferably, the convolution output of a free-direction continuous convolution kernel is expressed as: ; in, Indicates the position in the output feature map The convolution output at that point, Indicates the first Learnable weights for each grid point Indicates output position Based on the benchmark, the first Placement of each grid point As integer coordinate offsets, integer coordinates on the input feature map Convolutional features obtained by directly indexing values ​​at the specified location. Indicates the first Step-modulated scalar.

[0016] Preferably, the standard segmentation network based on the encoder-decoder structure is one of U-Net, SegNet, UNet3Plus, or FCN.

[0017] Preferably, quantitative parameters of sperm flagella in the sperm motility video are calculated based on the flagellar centerlines in the sperm motility video and all frames of motion images therein, including: The average swimming axis is defined as the straight line from the junction of the sperm head and flagellum to the tip of the flagellum; the straightness of the sperm is obtained by calculating the ratio of the length of the average swimming axis to the arc length of the flagellum. The amplitude of sperm beats is obtained by calculating half the difference between the maximum and minimum signed vertical distances from each point on the flagellar centerline to the average swimming axis. Fast Fourier transform spectrum analysis was performed on the time variation of the tangent angle signal at the fixed arc length position of the flagellum to obtain the fundamental frequency of the spectrum, which is used as the sperm beat frequency. The average velocity of sperm is obtained by calculating the temporal and spatial average values ​​of the displacement velocities of multiple uniformly resampled points along the flagellar centerline between each frame of motion video. The time-average mechanical energy rate of sperm dissipation due to viscous resistance was calculated based on resistance theory to obtain the viscous dissipation power of sperm.

[0018] Compared with the prior art, the above-described technical solution of the present invention has the following advantages: The present invention describes an automatic quantitative analysis method for sperm flagella based on free-direction continuous convolution. It designs a free-direction continuous convolution kernel and employs a sequential grid placement strategy based on eight-connected neighborhoods to achieve unconstrained 360° extension of the convolution kernel sampling chain in all directions. This completely overcomes the shortcomings of axis-aligned continuous convolution, which can only cover a limited ±45° direction and cannot adapt to arbitrary curved flagellar structures. It can completely fit and track continuous slender curves of flagella with arbitrary curvature and orientation, effectively solving the problems of segmentation breakage and contour loss in standard fixed-grid convolution, and outputting a pixel-level continuous and complete flagellar segmentation mask. Based on this segmentation capability, a quantitative calculation framework for flagellar parameters is further established, automatically calculating five flagellar motion parameters from the segmentation results.

[0019] Meanwhile, this application adds a position occupancy constraint mechanism, which automatically filters out expansion directions that will cause point overlap during the iterative placement of grid points, strictly constrains all sampling grid points to occupy independent spatial pixels that do not overlap, avoids the defect of sampling points drifting to the background region caused by the unconstrained offset of deformable convolution from the bottom layer, eliminates the network performance degradation and training crash problems caused by the disordered distribution of sampling points across the foreground and background, and greatly improves the training stability and segmentation accuracy of the model in various encoder-decoder standard segmentation networks. Attached Figure Description

[0020] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein: Figure 1 This is a schematic diagram illustrating the principle of the automatic quantitative analysis method for sperm flagella based on free-direction continuous convolution of the present invention. Figure 2 This is a schematic diagram of the convolution process using free-direction continuous convolution kernels; Figure 3 This is a schematic diagram of the steps of an automated quantitative analysis method for sperm flagella based on free-direction continuous convolution; Figure 4 This is a comparative diagram of standard convolution, deformable convolution, and free-direction continuous convolution kernels; Figure 5 This is a step-by-step visualization of the conventional deformable convolution offset drift problem; Figure 6 This is a comparative diagram showing the sperm flagella segmentation results of eight segmentation network models equipped with different convolutional variants. Figure 7This is a rendering of the sperm flagella segmentation results in this embodiment; Figure 8 This is a correlation analysis diagram of sperm flagellar motility parameters and sperm head parameters in this embodiment. Detailed Implementation

[0021] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.

[0022] Reference Figure 1 The diagram shows the principle of the automated quantitative analysis method for sperm flagella based on free-direction continuous convolution of the present invention. The specific analysis process includes: Build includes A free-direction continuous convolution kernel with n grid points, wherein the first grid point is placed at any position within the convolution kernel, and the second grid point is placed at any position within the kernel. The grid point is placed at the first... In any neighborhood direction of an eight-connected neighborhood of a grid point, sequential adjacent connections are formed. Grid points, ; An improved segmentation network is obtained by replacing the standard convolutional layers in a standard segmentation network based on an encoder-decoder structure with free-direction continuous convolutional kernels. The sperm motility video is input frame by frame into the improved segmentation network to obtain the flagella binary mask corresponding to each frame of motion image; Based on the flagellum binary mask of each frame of motion image, extract the center line of the flagellum in each frame of motion image; Based on sperm motility videos and the flagellar centerlines in all frames of motion images, quantitative parameters of sperm flagella in sperm motility videos are calculated.

[0023] In this embodiment, the free-direction continuous convolution kernel satisfies the position occupancy constraint, including: each grid point occupies a unique spatial position, and all grid points do not overlap. The free-direction continuous convolution kernel satisfies the neighborhood continuity constraint, including: the first... The grid point and the first Each grid point is directly connected.

[0024] This application adds a position occupancy constraint mechanism, which automatically filters out expansion directions that will cause point overlap during the iterative placement of grid points. It strictly constrains all sampling grid points to occupy independent spatial pixels that do not overlap, thereby avoiding the defect of sampling points drifting to the background region caused by the unconstrained offset of deformable convolution from the bottom layer. It also eliminates the network performance degradation and training crash problems caused by the disordered distribution of sampling points across the foreground and background, and greatly improves the training stability and segmentation accuracy of the model in various encoder-decoder standard segmentation networks.

[0025] Specifically, the design of the free-direction continuous convolutional kernel satisfies two requirements: structural continuity requires adjacent sampling points to maintain a neighbor-to-neighbor relationship, and directional unconstraint requires the sampling chain to advance in any direction. To this end, DCConv introduces two complementary mechanisms: a sequential grid placement strategy and a positional occupancy constraint. The first grid point is placed anywhere within the convolutional kernel, and each subsequent grid point is placed relative to the previous grid point along one of the eight-connected neighborhood directions, ensuring that each grid is directly connected to the previous one, while enabling the kernel to track the curve structure in any orientation. The eight-connected neighborhood covers the entire 360-degree directional range, a fundamental advantage over axis-aligned methods. The positional occupancy constraint ensures that each grid point occupies a unique spatial position, preventing multiple grids from folding into the same pixel.

[0026] Reference Figure 2 The diagram illustrates the convolution process of a free-direction continuous convolution kernel, showcasing a 9-step mesh placement process from initialization to progressive learning of deformation in two examples, including the initial mesh point, candidate region, currently selected mesh point, and annotations of the selected mesh points. Further, the convolution process of the free-direction continuous convolution kernel in this embodiment includes: Obtain the input feature map and initialize the modulation scalar and the set of occupied positions; Place the first grid point at any position in the convolution kernel, and add that position to the set of occupied positions; Place the first Grid points, including: Get the The set of 8-connected neighborhood directions of n grid points, where each neighborhood direction is connected to the nth grid point. The positions of the grid points are summed to obtain the corresponding candidate positions; the neighboring directions of the candidate positions that are already occupied positions are deleted, and the remaining neighboring directions are used to form the first... The set of candidate directions for grid points is represented as: ;in, Indicates candidate directions. Represents the 8-connected neighborhood direction set, with the first... The positions of the grid points are Then its 8-connected neighborhood direction set ; Indicates the first The placement of each grid point This represents the set of occupied positions; Based on the local features at candidate locations on the input feature map, learnable convolutional layers are used to obtain the prediction scores for each candidate direction corresponding to each candidate location. These scores are then normalized to obtain the candidate direction weights for each candidate direction, as follows: ;in, Indicates the first Grid points in the candidate direction Candidate direction weights at each location Indicates the first Grid points in the candidate direction Predicted score at the location, Represents an exponential function; The weighted sum of all candidate directions and their weights is calculated to obtain the first... The initial displacement vector of each grid point is expressed as: ; From the set of candidate directions, select the candidate direction that is closest to the initial displacement vector, and take it as the first... The target displacement vector of each grid point is represented as: ; The first The position of the grid point is related to the first grid point. Add the target displacement vectors of the nth grid points to obtain the nth grid point. The placement of each grid point; Obtain the first feature map from the input feature map. The local features at the placement location of the nth grid point are used as the nth grid point's local features. Convolutional features at each grid point; Find the maximum value of the candidate direction weights among all candidate directions, which is the nth direction. Step modulation scalar; the first The placement position of the first grid point is added to the set of occupied positions, and the placement of the second grid point continues. 1 grid point, until sequential adjacent connections are formed. 1 grid point; By utilizing the learnable weights of each grid point and their corresponding modulation scalars, the convolutional features at each grid point are weighted and summed to obtain the convolutional output of the free-direction continuous convolutional kernel, as shown below: ; in, Indicates the position in the output feature map The convolution output at that point, Indicates the first Learnable weights for each grid point Indicates output position Based on the benchmark, the first Placement of each grid point As integer coordinate offsets, integer coordinates on the input feature map Convolutional features obtained by directly indexing values ​​at the specified location. Indicates the first Step-modulated scalar.

[0027] When calculating flagellar parameters, the flagellar centerline was extracted from the segmented binary flagellar mask through morphological refinement, and then smoothed using cubic spline interpolation. Based on the smoothed centerline and the original image sequence, five quantitative flagellar parameters were calculated: Straightness (STR) characterizes the instantaneous geometric configuration of the flagellum; Beat Amplitude (AMP) quantifies the maximum lateral displacement of the flagellum from the mean swimming axis; Beat Frequency (BF) describes the inherent oscillation rhythm of the flagellum; Mean Velocity (V) quantifies the overall dynamic activity level of the flagellum; and Viscous Dissipation Power (VDP) estimates the rate at which the flagellum dissipates mechanical energy due to viscous drag. All parameters were calculated per frame per sperm, and the time mean and standard deviation were reported within the observation window.

[0028] Furthermore, based on the sperm motility video and the flagellar centerline in all frames of motion images therein, quantitative parameters of the sperm flagella in the sperm motility video are calculated, including: The average swimming axis is defined as the straight line from the junction of the sperm head and flagellum to the tip of the flagellum; the straightness of the sperm is obtained by calculating the ratio of the length of the average swimming axis to the arc length of the flagellum. The amplitude of sperm beats is obtained by calculating half the difference between the maximum and minimum signed vertical distances from each point on the flagellar centerline to the average swimming axis. Fast Fourier transform spectrum analysis was performed on the time variation of the tangent angle signal at the fixed arc length position of the flagellum to obtain the fundamental frequency of the spectrum, which is used as the sperm beat frequency. The average velocity of sperm is obtained by calculating the temporal and spatial average values ​​of the displacement velocities of multiple uniformly resampled points along the flagellar centerline between each frame of motion video. The time-average mechanical energy rate of sperm dissipation due to viscous resistance was calculated based on resistance theory to obtain the viscous dissipation power of sperm.

[0029] In this embodiment of the invention, the free-direction convolutional kernel provided by this invention can be applied to existing standard segmentation networks based on encoder-decoder structures using standard convolutional kernels. Specifically, the standard segmentation network based on the encoder-decoder structure can be any one of U-Net, SegNet, UNet3Plus, or FCN. The encoder module performs multi-level downsampling on the input feature map to extract multi-scale, multi-level image semantic features. The decoder module gradually restores the spatial resolution of the feature map through upsampling operations and fuses the shallow texture and edge detail features output by the encoder, ultimately outputting a pixel-level segmentation prediction map with the same size as the input image, thus completing the pixel segmentation task of flagella targets in microscopic images. The free-direction convolutional kernel of this invention can be seamlessly embedded into segmentation networks, adapts to mainstream encoder-decoder segmentation architectures, and has extremely strong versatility.

[0030] Based on the above embodiments, in this embodiment of the invention, the automatic quantitative analysis method for sperm flagella based on free-direction continuous convolution provided by the present invention is applied to quantitatively analyze sperm flagella parameters, referring to... Figure 3 The diagram shows the steps of an automated quantitative analysis method for sperm flagella based on free-direction continuous convolution, with specific steps shown in S101 to S107.

[0031] S101: Collection of sperm motility video: The semen sample was placed on the stage of a bright-field microscope, and the sperm motility was continuously recorded at a fixed frame rate (e.g., 30 frames / second) to obtain a segment containing... Frame motion pictures The video shows the movement of sperm. The sperm motility video consists of T frames, each with a resolution of H×W pixels; each frame in the video contains motion images. Each sperm contains one or more sperm cells. The flagella of the sperm cells are long, curved, linear structures extending from the head. They may appear as discontinuous areas due to defocusing caused by three-dimensional motion.

[0032] S102: Input sperm motility video frame by frame into the improved segmentation network: The recorded video is split into single-frame images in chronological order, and each frame is fed into a deep learning segmentation network that integrates a free-direction constrained continuous convolution (DCConv) module. The task of this network is to perform pixel-level identification of the flagellum region in each frame, that is, to determine whether each pixel belongs to a flagellum.

[0033] In this embodiment, the baseline segmentation network is a segmentation network with an encoder-decoder architecture such as UNet or UNet3Plus. The network's encoder extracts multi-scale feature maps, and the decoder progressively restores the spatial resolution. The free-direction continuous convolutional kernel DCConv serves as a plug-and-play module to replace the standard convolutional layers in the segmentation network; this module can be integrated into various encoder-decoder segmentation networks without requiring adjustments for specific architectures. Unlike unconstrained deformable convolutions, DCConv only needs to predict the eight-directional distribution at each step, preventing offset drift through a position occupancy mechanism, thereby achieving consistent performance improvements across all test architectures.

[0034] S103: Use the DCConv module for feature extraction and segmentation.

[0035] The DCConv provided in this embodiment is a plug-and-play module that replaces the standard convolutional layers in the baseline segmentation network. Its working principle can be simply understood as follows: When extracting image features, standard convolution uses a fixed-shape "view window" (such as a 3×3 square grid) to slide across the image; this fixed-shape window cannot fit the direction of the curved flagella and is prone to breakage at the bends or blurry areas of the flagella. While existing deformable convolutions allow individual sampling points in the observation window to move freely to fit the target shape, the lack of constraints makes it easy for sampling points to "drift" into the background area, which is especially serious for flagella that are only a few pixels wide, leading to complete segmentation failure. The core idea of ​​DCConv in this embodiment is to make the sampling points of the convolution kernel like a "snake", starting from the center and arranging them step by step along the flagella. Each step can only go to one of the eight adjacent directions and cannot go back to the position that has already been visited.

[0036] Specifically, the convolution process and principle of DCConv in this embodiment include: ① Determine the starting point: Place the first sampling point of the convolution kernel at the center position; ② Gradual extension: Starting from the second sampling point, each new sampling point must be adjacent to the previous sampling point. That is, the new sampling point is located in any one of the eight directions of the previous sampling point: up, down, left, right, upper left, lower left, upper right, and lower right. This ensures the continuity between sampling points, which is the "neighborhood continuity constraint". ③ No repetition: Each new sampling point cannot fall on a position already occupied by a previous sampling point. This ensures that the convolution kernel has sufficient spatial coverage, i.e., "position occupancy constraint".

[0037] ④ Direction Adaptive Learning: At each step, the network learns to select the direction to move next by calculating the probability weights of candidate directions and summing them according to the image features at the current position, so that the convolution kernel automatically fits the curvature of the flagellum. ⑤ Omnidirectional coverage: Since each step can select any one of the eight directions, the entire convolution kernel can extend at any angle, covering the complete 360° directional range, and can accurately track the direction of the flagellum no matter which direction it bends.

[0038] Based on the above mechanism, DCConv can generate a sampling path that closely follows the direction of the flagella in a single operation. The identified sampling path is not only unbroken and ensures structural continuity, but also not limited by angle and has omnidirectional adaptability.

[0039] Furthermore, DCConv, as a plug-and-play module, replaces the standard convolutional layers in a standard segmentation network, providing functionality for each pixel location. At each location, DCConv performs convolution according to the following sub-steps, including: S103-1: Initialization; Set the first grid point Placed at the center of the convolution kernel, i.e., in a relative position. Modulation scalar Initialize the set of occupied positions. .

[0040] S103-2: Place grid points sequentially (the first...) step, ,in, correspond Convolution kernels include: ① Constructing a candidate direction set: from the 8-connected neighborhood direction set In the process, directions that would cause new grid points to fall into already occupied integer positions are excluded, resulting in a set of candidate directions: This is a location occupancy constraint, ensuring that each grid point occupies a unique spatial location and preventing grid point overlap.

[0041] For a 3x3 convolution kernel, i.e. At that time, in the Steps to the maximum The neighbors were occupied and The effective candidate direction set is less than or equal to 7 and less than 8. It is always non-empty, ensuring that sequential placement will not lead to a dead end.

[0042] ②Predicted direction score: based on location The input features at each location are processed by learnable convolutional layers. Each direction in Predicted score .

[0043] ③ Mask Softmax calculation: The score for the occupied direction is set as Then, Softmax is applied to the valid candidate directions to obtain the candidate direction weights: .

[0044] ④ Calculate the desired displacement: Obtain the continuously differentiable initial displacement vector by weighted summation, expressed as: From the set of candidate directions, select the candidate direction that is closest to the initial displacement vector as the first... The target displacement vector of each grid point is represented as: .

[0045] This embodiment implements end-to-end differentiable training, and the selection of discrete directions is relaxed to a differentiable soft expectation: predict the score for each candidate direction, calculate the weights through mask softmax (assign zero weights to already occupied directions), and obtain the displacement as the weighted expectation of the effective candidate directions.

[0046] ⑤ Update No. The grid point positions of each grid point are: ; This is a neighborhood continuity constraint, which ensures that each new grid point is directly connected to the previous grid point, maintaining point-by-point continuity.

[0047] ⑥ Calculate the modulation scalar: This reflects the confidence level of the selected direction.

[0048] ⑦ Update the occupied collection: .

[0049] S103-3: Until sequential adjacent connections are formed Using the learnable weights and corresponding modulation scalars of each grid point, the convolutional features at each grid point are weighted and summed to obtain the convolutional output of an undirected continuous convolutional kernel, represented as: .

[0050] S104: Obtain the segmentation mask: The improved segmentation network performs binary classification on each pixel in each frame of motion image and outputs a binary segmentation mask. ,in, The white areas represent pixels identified as flagella, and the black areas represent the background; this mask accurately indicates the position and shape of the flagella in the current frame.

[0051] S105: Flagella centerline extraction and smoothing: The segmented flagellum mask is morphologically refined, reducing the flagellum region, which is several pixels wide, to a single-pixel-wide skeleton line, i.e., the center line. Then, the center line is smoothed by fitting a cubic spline curve to eliminate noise and spikes, resulting in a smooth and ordered curve from the head-flagellum junction to the flagellum tip. .

[0052] S106: Based on the smooth centerline and time series information extracted frame by frame, automatically calculate five quantitative parameters of the flagellum, including: straightness, flapping amplitude, flapping frequency, average velocity and viscous dissipation power.

[0053] Specifically, straightness (STR) is the straight-line distance between the two ends of the flagellum divided by the arc length of the flagellum itself, which is used to reflect the overall bending state of the flagellum at a certain moment; the closer the value is to 1, the straighter the flagellum is, and the smaller the value is, the greater the degree of bending.

[0054] That is, the straight-line (chordal) distance from the junction of the sperm head and flagellum to the tip of the flagellum. With the arc length of the flagellum The ratio of straightness , is represented as: ; ; in, Indicates the first on the center line 1 pixel.

[0055] Specifically, pulsation amplitude (AMP): using the line connecting the tip and tail of the flagellum as the reference axis, i.e., the average swimming axis, the maximum distance of each point on the flagellum deviating from this axis is calculated. This value reflects the maximum lateral deviation of the flagellum relative to its average swimming direction; the larger the value, the greater the amplitude of the flagellum's pulsation. The expression is: ; in, Indicates each point on the center line The signed vertical distance to the average swimming axis.

[0056] Specifically, the beat frequency (BF) is the number of complete back-and-forth swings completed by the flagellum per second, determined by fixing the arc length position of the flagellum. Tangent angle at point The signal, varying over time, is obtained through spectral analysis (Fast Fourier Transform) to reflect the rhythm of flagellar pulsation. The tangent angle is defined as follows: The fundamental frequency of its spectrum analysis corresponds to the beat frequency.

[0057] Specifically, the average velocity (V) is the average displacement velocity of all points on the flagellum between adjacent frames; the larger this value, the more intense and dynamic the flagellum movement; the expression is: ; This represents the inter-frame time interval.

[0058] Specifically, viscous dissipated power (VDP) is the mechanical energy power consumed by the flagellum to overcome the viscous resistance of the surrounding liquid during its flapping process, reflecting the energy consumption level of the flagellum's pulsation. Based on resistance theory, the velocity of each point on the flagellum is decomposed into components along the flagellum direction and perpendicular to the flagellum direction, multiplied by the corresponding resistance coefficient, and then integrated to obtain the expression: ; in, and These are the velocity components perpendicular to and parallel to the local tangent direction of the flagellum, respectively. and The normal and tangential drag coefficients are given by Gray–Hancock's slender body theory: , ; For the dynamic viscosity of the medium, The length of the flagellum. R is the radius of the flagellum.

[0059] S107: Summary of the analysis results on the mean behavior and variability of sperm flagellar dynamics: The five parameters mentioned above are calculated frame-by-frame for each image of each sperm, and the temporal mean and standard deviation are reported within the observation time window to characterize the average behavior and variability of the sperm flagellar dynamics, thus completing a comprehensive quantitative description of the sperm flagellar beating behavior. The entire process, from raw video input to parameter output, is fully automated, requiring no manual intervention and supporting high-throughput automated processing.

[0060] This invention achieves unrestricted, continuous convolution across 360°. DCConv employs a stepwise, sequential placement strategy of eight-connected neighborhoods, enabling the convolution kernel to conform to the flagellar direction at any angle during a single operation. Simultaneously, positional occupancy constraints prevent sampling point overlap, satisfying the previously contradictory requirements of continuity and omnidirectionality within a unified operation. Furthermore, a complete system for calculating flagellar quantitative parameters is established: from extraction and smoothing of the segmentation mask along the centerline to five physically meaningful parameters, forming a closed-loop analysis process.

[0061] This embodiment compares four convolution operators (standard convolution, deformable convolution DCN, continuous convolution CConv, and the DCConv proposed in this invention) on eight representative segmentation network architectures (UNet, AttUNet, SegNet, ResUNet, NestedUNet, UNet3Plus, R2UNet, and R2AttUNet) for each. (Refer to...) Figure 4 The diagram shows a comparison of standard convolution, deformable convolution, and free-direction continuous convolution kernels, illustrating the characteristics of fixed grid mode, excessive drift caused by unconstrained offset, and close following curve structure.

[0062] All models were trained and evaluated under identical conditions, using twelve metrics for comprehensive evaluation, covering three dimensions: region overlap, centerline continuity, and topological correctness. Table 1 shows a comparison of segmentation performance for different convolutional variants across eight segmentation network models; model performance, including Dice, IoU, Sens., Prec., MCC, clDice, clPrec., and clRecall, is expressed as a percentage (%).

[0063] Table 1. Comparison of segmentation performance of different convolutional variants in eight segmentation network models.

[0064] As shown in Table 1, DCConv consistently achieves optimal performance across all architectures. The best model, UNet3Plus_DCConv, achieves a Dice of 90.74%, an IoU of 83.23%, and a clDice of 96.34%. Compared to the baseline networks, DCConv delivers significant improvements. For example, UNet_DCConv improves Dice by 14.59 percentage points (74.83% → 89.42%) compared to the UNet baseline, and AttUNet_DCConv improves by 10.41 percentage points (78.24% → 88.65%) compared to the AttUNet baseline.

[0065] Reference Figure 5 The diagram illustrates the step-by-step visualization of the drift problem in conventional deformable convolution, showing how unconstrained offsetting causes sampling points to gradually deviate from the flagella structure and enter irrelevant background regions over multiple steps, starting from the initial mesh. Unconstrained deformable convolution (DCN) exhibits catastrophic performance degradation on multiple architectures. The Dice of AttUNet_DCN drops to 44.51%, SegNet_DCN to 30.99%, and R2UNet_DCN to 37.99%, all lower than their corresponding baseline networks. This clearly demonstrates the sampling point drift problem caused by unconstrained offsetting: without structural constraints, the sampling points of the deformable convolution kernel drift into irrelevant background regions, which is particularly fatal for extremely fine structures like sperm flagella, which are only a few pixels wide. DCConv, however, completely eliminates this type of failure through its positional occupancy constraint mechanism.

[0066] DCConv has also achieved consistent improvements over CConv. For example, on ResUNet, CConv achieves 89.76% while DCConv reaches 90.33%, and on UNet3Plus, CConv achieves 90.11% while DCConv reaches 90.74%. This improvement stems from DCConv's free-direction constraint design: CConv is limited by axis alignment processing, and each direction channel can only track curvature within a range of approximately ±45°, while DCConv covers the entire 360° angle range in a single unified operation through an eight-connected neighborhood direction set.

[0067] In terms of topology correctness metrics, multiple DCConv variants (UNet_DCConv, ResUNet_DCConv, UNet3Plus_DCConv) achieved near-perfect topology consistency with a β1 error of 0.0000 and a β0 error of less than 0.21. This is directly attributed to the two core mechanisms of DCConv: neighborhood continuity constraints ensure sequential continuity, and location occupancy constraints prevent grid point collapse.

[0068] The centerline continuity index (clDice) directly evaluates the continuity and integrity of the flagellum centerline after segmentation. Even segmentation results with high region overlap (IoU) cannot be used for downstream parameter calculations if the flagellum is broken into multiple unconnected segments (parameters such as straightness, pulsation amplitude, and flagellum velocity all require unbroken end-to-end centerline representation). The DCConv variant achieved the highest clDice score across all architectures, which is a prerequisite for subsequent automated high-throughput flagellum parameter calculations.

[0069] In summary, regarding segmentation performance, experiments on eight segmentation network architectures show that DCConv variants consistently achieve the highest scores in Dice, IoU, and MCC metrics, with the best-performing UNet3Plus-DCConv model achieving 90.74% Dice, 83.23% IoU, and 90.61% MCC. In terms of centerline continuity, DCConv variants consistently achieve the highest clDice score, with UNet3Plus-DCConv reaching 96.34%. Multiple DCConv variants exhibit Betti number errors (β1) of 0.0000 and β0 errors below 0.21, indicating near-perfect topological consistency with the ground truth. Regarding universality, replacing standard convolutions with deformable convolutions leads to catastrophic performance degradation on AttUNet, SegNet, and R2UNet architectures (Dice drops to 44.51%, 30.99%, and 37.99%, respectively), while DCConv achieves consistent improvements across all eight architectures, confirming its plug-and-play versatility.

[0070] Reference Figure 6 The image shows a comparison of sperm flagella segmentation results using eight segmentation network models equipped with different convolutional variants; see reference. Figure 7 The image shown is a rendering of the sperm flagella segmentation results in this embodiment. This invention completely eliminates the catastrophic failure problem of deformable convolution. Experiments have confirmed that unconstrained deformable convolution suffers severe performance degradation on three architectures and relies on specific architecture tuning, while DCConv consistently improves performance on all eight architectures, demonstrating its reliability as a general-purpose plug-and-play module. Simultaneously, it significantly improves segmentation accuracy, continuity, and topological correctness: the optimal model achieves Dice 90.74%, clDice 96.34%, and Betti number error approaching zero, ensuring that the segmentation results can be directly used for subsequent automated parameter calculations.

[0071] Based on the above embodiments, this embodiment performs fully automated analysis on 216,000 frames of images from 2,400 sperm samples (200 from each patient) from 12 patients. Spearman rank correlation analysis is performed on five flagellar parameters (STR, AMP, BF, V, VDP) and five CASA head kinematic parameters (VCL, VAP, ALH, MAD, BCF), and Benjamini-Hochberg correction is applied to control for false detection rate.

[0072] Reference Figure 8 The figure shown is a correlation analysis diagram between sperm flagellar motility parameters and sperm head parameters in this embodiment; specifically, the beat frequency (BF) showed no statistically significant correlation with any of the five CASA head kinematic parameters (after all corrections). This indicates that the flagellar pulsation frequency reflects the inherent oscillatory rhythm of the axonal filament, which is coordinated and controlled by the dynamin molecular motor and cannot be captured by head trajectory indicators. It is a functional dimension that is completely independent of the existing CASA system.

[0073] Specifically, straightness (STR) also showed very little correlation with head parameters, only reaching statistical significance with ALH. , This indicates that the instantaneous geometry of the flagella is largely independent of the head displacement pattern.

[0074] Specifically, V and VDP are strongly positively correlated with VCL. and , The V and VDP were also strongly correlated with VAP and ALH, which can be explained biophysically: the overall dynamic activity and energy consumption of the flagella directly drive head translation. However, V and VDP were only weakly correlated with MAD. and This indicates that no single head parameter can fully represent flagellar dynamics information.

[0075] Specifically, there was no significant correlation between BCF (head pulsation crossover frequency) and BF (flagellate pulsation frequency), indicating that these two parameters capture different aspects of sperm motility.

[0076] In summary, in large-scale clinical analysis, the system processed 216,000 images from 2,400 sperm cells without human intervention. Spearman correlation analysis showed no statistically significant correlation between flapping frequency and CASA head kinematic parameters, confirming that flagellar parameters provide complementary functional information that current head assessments cannot capture. Since flagellar and head parameters encode complementary rather than redundant sperm functional information, incorporating flagellar parameters into clinical sperm analysis will provide a more complete functional assessment than existing CASA systems.

[0077] This embodiment achieves high-throughput automated analysis without any human intervention. It can automatically process 216,000 images from 12 patients, 2,400 sperm, and without any manual correction or annotation, far exceeding the capacity of manual operation. This means that in actual clinical or research scenarios, operators only need to place the semen sample under a microscope and start recording; the system can automatically complete all the work from video to quantitative results. It also significantly reduces the labor and time costs of clinical applications. Traditional flagella analysis requires professional embryologists to manually annotate and measure frame by frame, which is time-consuming, highly subjective, and difficult to scale. The automated tool of this invention transforms flagella analysis from "small-scale manual operation limited to research laboratories" to "routine testing that can be deployed at scale in clinical settings," enabling objective and consistent quantitative assessment of hundreds of sperm from each patient.

[0078] Globally, approximately one in six couples suffer from infertility, with male factors accounting for about half of these cases. This invention provides quantitative flagellar analysis capabilities, enabling clinicians to identify sperm function abnormalities that cannot be detected by head parameters alone. For example, abnormal flagellar pulsation frequency may indicate a defect in the axonal structure. Furthermore, existing CASA systems only assess head movement, while parameters such as flagellar pulsation frequency provide functional information completely independent of head parameters. This invention provides, for the first time, direct evidence that flagellar parameters are independent of head parameters. Spearman correlation analysis confirms that pulsation frequency is not statistically significantly correlated with any CASA head parameters, filling a gap in the field of flagellar function assessment lacking quantitative evidence. Incorporating flagellar parameters into clinical assessment provides physicians with a more complete picture of sperm function, offering a new functional dimension for clinical sperm quality assessment. This helps to more accurately determine sperm fertilization capacity, screen for high-quality sperm in assisted reproduction, and evaluate the impact of drugs or lifestyle interventions on sperm function.

[0079] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0080] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0081] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0082] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0083] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.

Claims

1. An automated quantitative analysis method for sperm flagella based on free-direction continuous convolution, characterized in that, include: Build includes A free-direction continuous convolution kernel with n grid points, wherein the first grid point is placed at any position within the convolution kernel, and the second grid point is placed at any position within the kernel. The grid point is placed at the first... In any neighborhood direction of an eight-connected neighborhood of a grid point, sequential adjacent connections are formed. Grid points, ; An improved segmentation network is obtained by replacing the standard convolutional layers in a standard segmentation network based on an encoder-decoder structure with free-direction continuous convolutional kernels. The sperm motility video is input frame by frame into the improved segmentation network to obtain the flagella binary mask corresponding to each frame of motion image; Based on the flagellum binary mask of each frame of motion image, extract the center line of the flagellum in each frame of motion image; Based on sperm motility videos and the flagellar centerlines in all frames of motion images, quantitative parameters of sperm flagella in sperm motility videos are calculated.

2. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 1, characterized in that, The free-direction continuous convolution kernel satisfies the position occupancy constraint, including: each grid point occupies a unique spatial position, and all grid points do not overlap.

3. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 1, characterized in that, The free-direction continuous convolution kernel satisfies the neighborhood continuity constraint, including: the first... The grid point and the first Each grid point is directly connected.

4. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 1, characterized in that, The convolution process of the free-direction continuous convolution kernel includes: Obtain the input feature map and initialize the modulation scalar and the set of occupied positions; Place the first grid point at any position in the convolution kernel, and add that position to the set of occupied positions; Place the first Grid points, including: Get the The set of 8-connected neighborhood directions of n grid points, where each neighborhood direction is connected to the nth grid point. The positions of the grid points are summed to obtain the corresponding candidate positions; the neighboring directions of the candidate positions that are already occupied positions are deleted, and the remaining neighboring directions are used to form the first... A set of candidate directions for grid points; Based on the local features at candidate locations on the input feature map, learnable convolutional layers are used to obtain the prediction scores of each candidate direction corresponding to each candidate location, and then normalized to obtain the candidate direction weights of each candidate direction. The weighted sum of all candidate directions and their weights is calculated to obtain the first... The initial displacement vector of each grid point; From the set of candidate directions, select the candidate direction that is closest to the initial displacement vector, and take it as the first... The target displacement vector of each grid point; The first The position of the grid point is related to the first grid point. Add the target displacement vectors of the nth grid points to obtain the nth grid point. The placement of each grid point; Obtain the first feature map from the input feature map. The local features at the placement location of the nth grid point are used as the nth grid point's local features. Convolutional features at each grid point; Find the maximum value of the candidate direction weights among all candidate directions, which is the nth direction. Step modulation scalar; the first The placement position of the first grid point is added to the set of occupied positions, and the placement of the second grid point continues. 1 grid point, until sequential adjacent connections are formed. 1 grid point; By utilizing the learnable weights of each grid point and their corresponding modulation scalars, the convolutional features at each grid point are weighted and summed to obtain the convolutional output of free-direction continuous convolutional kernels.

5. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 4, characterized in that, No. Candidate direction set of grid points , is represented as: ; in, Indicates candidate directions. Represents the 8-connected neighborhood direction set, with the first... The positions of the grid points are Then its 8-connected neighborhood direction set ; This represents the rounding function; Indicates the first The placement of each grid point This represents the set of occupied locations.

6. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 4, characterized in that, The candidate direction weights for each candidate direction are obtained and represented as follows: ; in, Indicates the first Grid points in the candidate direction Candidate direction weights at each location Indicates the first Grid points in the candidate direction Predicted score at the location, Represents an exponential function. Indicates the first A set of candidate directions for grid points.

7. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 6, characterized in that, No. Initial displacement vector of each grid point , is represented as: ; No. The target displacement vector of each grid point , is represented as: 。 8. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 4, characterized in that, The convolution output of a free-direction continuous convolution kernel is represented as: ; in, Indicates the position in the output feature map The convolution output at that point, Indicates the first Learnable weights for each grid point Indicates output position Based on the benchmark, the first Placement of each grid point As integer coordinate offsets, integer coordinates on the input feature map Convolutional features obtained by directly indexing values ​​at the specified location. Indicates the first Step-modulated scalar.

9. The automated quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 1, characterized in that, The standard segmentation network based on the encoder-decoder structure is one of U-Net, SegNet, UNet3Plus, or FCN.

10. The automatic quantitative analysis method for sperm flagella based on free-direction continuous convolution according to claim 1, wherein quantitative parameters of sperm flagella in sperm motility video are calculated based on the flagella centerline in all frames of motion images therein, including: The average swimming axis is defined as the straight line from the junction of the sperm head and flagellum to the tip of the flagellum. Calculate the ratio of the average swimming axis length to the flagellar arc length to obtain the straightness of the sperm; The amplitude of sperm beats is obtained by calculating half the difference between the maximum and minimum signed vertical distances from each point on the flagellar centerline to the average swimming axis. Fast Fourier transform spectrum analysis was performed on the time variation of the tangent angle signal at the fixed arc length position of the flagellum to obtain the fundamental frequency of the spectrum, which is used as the sperm beat frequency. The average velocity of sperm is obtained by calculating the temporal and spatial average values ​​of the displacement velocities of multiple uniformly resampled points along the flagellar centerline between each frame of motion video. The time-average mechanical energy rate of sperm dissipation due to viscous resistance was calculated based on resistance theory to obtain the viscous dissipation power of sperm.