Follicle relocation method, device, equipment and medium

By determining the target follicle in the ultrasound device, performing sample matrix processing and coordinate system transformation, the problem that multiple follicle information cannot be fully displayed is solved, and the rapid relocation and intuitive analysis of the target follicle is achieved, which improves the work efficiency of doctors.

CN120070548APending Publication Date: 2025-05-30SONOSCAPE MEDICAL (WUHAN) CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311629590.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

Because there are many follicles identified, the information of some follicles cannot be displayed on the upper computer display interface, which makes it difficult for doctors to view and analyze.

Method used

By determining the target follicles from several follicles displayed on the current upper computer display interface, building the target sample matrix, centralized processing and feature value calculation, the target mapping relationship is obtained, mapped into a new sample matrix, building a second spatial coordinate system, and determining the transformation matrix according to the coordinate system relationship, relocating the target follicles to the target position of the upper computer display interface.

Benefits of technology

The target follicle is quickly relocated to the target position of the upper computer display interface, allowing doctors to intuitively view the morphological structure information of the target follicle, save position adjustment time, and greatly improve the efficiency of follicle analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120070548A_ABST
    Figure CN120070548A_ABST
Patent Text Reader

Abstract

The invention discloses a follicle repositioning method, device and equipment and a medium, and relates to the technical field of computers, and the method comprises the steps: determining a target follicle from a display interface of an upper computer; determining a sample matrix of the target follicles; the matrix comprises a three-dimensional coordinate of each volume element of the target follicle in a first space coordinate system; calculating a characteristic value and a characteristic vector according to a three-dimensional coordinate centralization processing result to obtain a target mapping relation; mapping the sample matrix into a new sample matrix through the target mapping relation, and determining a maximum value and a minimum value of each column of matrix elements in the new sample matrix to construct a second space coordinate system; and determining a transformation matrix according to the first space coordinate system and the second space coordinate system, and performing pose transformation on the target follicle in the first space coordinate system according to the transformation matrix so as to reposition the target follicle to a target position of an upper computer display interface. The target follicles can be quickly repositioned to the target position of the display interface of the upper computer, and observation is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly relates to a follicle repositioning method, device, equipment and medium. Background Art

[0002] In an ultrasound device, the automatic follicle volume measurement function uses a volume probe to collect follicle body data in a hypoechoic area or a cystic area, and after interpolation reconstruction, the follicle body data in the hypoechoic area or the cystic area is segmented. Further, various parameter information of the segmented follicle body data is displayed through the upper computer display interface.

[0003] Since there are many follicles identified, information of some follicles cannot be displayed on the upper computer display interface, which is not conducive to doctors' viewing and analysis. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a follicle repositioning method, device, equipment and medium, which can quickly reposition a target follicle to be viewed to a target position on the upper computer display interface, so as to facilitate viewing and analysis. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a follicle repositioning method, including:

[0006] Determine a target follicle from several follicles displayed on the current upper computer display interface; wherein, the target follicle is composed of multiple volume elements;

[0007] Determine a target sample matrix corresponding to the target follicle; the target sample matrix contains three-dimensional coordinates of each volume element of the target follicle in a first space coordinate system;

[0008] Center the three-dimensional coordinates to obtain a centralized processing result, and calculate eigenvalues and eigenvectors according to the centralized processing result to obtain a target mapping relationship;

[0009] Map the target sample matrix to a new sample matrix through the target mapping relationship, and determine characteristic description values of matrix elements in each column of the new sample matrix, so as to construct a second space coordinate system based on the characteristic description values;

[0010] Determine a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and perform a pose transformation on the target follicle in the first space coordinate system according to the transformation matrix, so as to reposition the target follicle to the target position on the upper computer display interface.

[0011] Optionally, the determining a target follicle from several follicles displayed on the current upper computer display interface includes:

[0012] Obtain the follicle information input by the user on the upper computer display interface through a preset interaction interface on the current upper computer display interface, and determine a target follicle from a plurality of follicles displayed on the upper computer display interface according to the follicle information.

[0013] Optionally, the determining the target follicle from a plurality of follicles displayed on the current upper computer display interface includes:

[0014] Determine the target follicle based on the selection result of the user on the upper computer display interface through a preset input device.

[0015] Optionally, before determining the target follicle from a plurality of follicles displayed on the current upper computer display interface, it further includes:

[0016] Collect target body data of a hypoechoic region or a cystic region; the target body data contains a plurality of follicles, and the volume elements in the same follicle have the same label information;

[0017] Save the three-dimensional coordinates of the volume elements with the same label information in the first space coordinate system into the same sample matrix to obtain a sample matrix corresponding to each follicle.

[0018] Optionally, the characteristic description values include maximum values and minimum values;

[0019] The determining the characteristic description values of the matrix elements in each column of the new sample matrix to construct a second space coordinate system based on the characteristic description values includes:

[0020] Determine the sum values of the maximum values and the minimum values of the matrix elements in each column to obtain three sum values, calculate a target center point according to the three sum values, and then determine the target center point as the origin of the second space coordinate system;

[0021] Determine the difference values between the maximum values and the minimum values of the matrix elements in each column to obtain three difference values, determine three vectors according to the three difference values, and then determine the three vectors as the three coordinate axis vectors of the second space coordinate system.

[0022] Optionally, the transformation matrix includes a translation matrix and a rotation matrix;

[0023] The determining the transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system includes:

[0024] Construct the translation matrix according to the positional relationship between the origin of the second space coordinate system and the first space coordinate system;

[0025] Construct the rotation matrix according to the positional relationship between the three coordinate axis vectors and the first spatial coordinate system.

[0026] Optionally, the follicle repositioning method further includes:

[0027] Sort the three differences.

[0028] Determine the coordinate axis corresponding to the largest difference among the three differences as the first coordinate axis of the second spatial coordinate system, determine the coordinate axis corresponding to the smallest difference among the three differences as the second coordinate axis of the second spatial coordinate system, and determine the coordinate axis corresponding to the remaining one difference among the three differences as the third coordinate axis of the second spatial coordinate system.

[0029] Optionally, the follicle repositioning method further includes:

[0030] Determine the section direction of the section where the first coordinate axis and the third coordinate axis are located as the coronal plane direction of the target follicle;

[0031] Determine the section direction of the section where the first coordinate axis and the second coordinate axis are located as the sagittal plane direction of the target follicle;

[0032] Determine the section direction of the section where the second coordinate axis and the third coordinate axis are located as the transverse plane direction of the target follicle.

[0033] In a second aspect, the present application discloses a follicle repositioning device, including:

[0034] A target follicle determination module, configured to determine a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements;

[0035] A target sample matrix determination module, configured to determine a target sample matrix corresponding to the target follicle; the target sample matrix includes the three-dimensional coordinates of each of the volume elements of the target follicle in the first spatial coordinate system;

[0036] A mapping relationship determination module, configured to centralize the three-dimensional coordinates to obtain a centralized processing result, and calculate eigenvalues and eigenvectors according to the centralized processing result to obtain a target mapping relationship;

[0037] A second spatial coordinate system construction module, configured to map the target sample matrix into a new sample matrix through the target mapping relationship, and determine the characteristic description values of the column matrix elements in the new sample matrix, so as to construct a second spatial coordinate system based on the characteristic description values;

[0038] A repositioning module, configured to determine a transformation matrix according to the positional relationship between the first spatial coordinate system and the second spatial coordinate system, and perform a pose transformation on the target follicle in the first spatial coordinate system according to the transformation matrix, so as to reposition the target follicle to a target position on the upper computer display interface.

[0039] In a third aspect, the present application discloses an electronic device, including:

[0040] A memory, configured to store a computer program;

[0041] A processor, configured to execute the computer program to implement the follicle repositioning method disclosed above.

[0042] In a fourth aspect, the present application discloses a computer-readable storage medium, configured to store a computer program; wherein, when the computer program is executed by a processor, the follicle repositioning method disclosed above is implemented.

[0043] It can be seen that the present application proposes a follicle repositioning method, including: determining a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements; determining a target sample matrix corresponding to the target follicle; the target sample matrix contains the three-dimensional coordinates of each of the volume elements of the target follicle in the first space coordinate system; centralizing the three-dimensional coordinates to obtain a centralized processing result, and calculating eigenvalues and eigenvectors based on the centralized processing result to obtain a target mapping relationship; mapping the target sample matrix to a new sample matrix through the target mapping relationship, and determining the characteristic description values of the matrix elements in each column of the new sample matrix to construct a second space coordinate system based on the characteristic description values; determining a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and performing a pose transformation on the target follicle in the first space coordinate system according to the transformation matrix to reposition the target follicle to the target position on the host computer display interface. In summary, it can be seen that the present application first determines a target follicle from several follicles displayed on the current host computer, and determines the target sample matrix of the target follicle. Further, the present application obtains a target mapping relationship by centralizing the target sample matrix and performing operations on eigenvalues and eigenvectors. Further, the present application maps the target sample matrix to a new sample matrix based on the target mapping relationship, constructs a second space coordinate system by calculating the maximum and minimum values of the matrix elements in each column of the new sample matrix, then obtains a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and finally the present application quickly transforms the target follicle to the target position on the host computer display interface according to the transformation matrix. In this way, the doctor can intuitively view the morphological structure information of the target follicle at the target position on the host computer display interface, saving the time for adjusting the position of the target follicle and greatly improving the follicle analysis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to the provided drawings.

[0045] Figure 1 It is a flowchart of a follicle repositioning method disclosed in the present application;

[0046] Figure 2 It is a schematic diagram of a host computer display interface disclosed in the present application;

[0047] Figure 3 It is a schematic diagram of a point set of a follicle disclosed in the present application;

[0048] Figure 4 Schematic diagram of a sample matrix disclosed in this application;

[0049] Figure 5 Schematic diagram of a coordinate transformation disclosed in this application;

[0050] Figure 6 Flowchart of a specific follicle repositioning method disclosed in this application;

[0051] Figure 7 Schematic diagram of a sectional view;

[0052] Figure 8 Flowchart of another specific follicle repositioning method disclosed in this application;

[0053] Figure 9 Schematic diagram of follicle display before repositioning disclosed in this application;

[0054] Figure 10 Schematic diagram of follicle display after repositioning disclosed in this application;

[0055] Figure 11 Schematic diagram of the structure of a follicle repositioning device disclosed in this application;

[0056] Figure 12 Schematic diagram of the structure of an electronic device disclosed in this application. Detailed implementation manners

[0057] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0058] When displaying the parameter information of the segmented follicle body data through the display interface of the host computer, since there are many follicles recognized, the information of some follicles cannot be displayed on the display interface of the host computer, which is not conducive to doctors' viewing and analysis.

[0059] For this reason, the embodiments of this application propose a follicle repositioning scheme, which can quickly reposition the target follicle to be viewed to the target position on the display interface of the host computer, so as to facilitate viewing and analysis.

[0060] Based on this, the embodiments of this application disclose a follicle repositioning method. This method can be applied to electronic devices such as ultrasonic devices. Further, this method can be applied to the host computer (also called the ultrasonic main machine) of the ultrasonic device.

[0061] See Figure 1 As shown, the method includes:

[0062] Step S11: Determine a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements.

[0063] See Figure 2 As shown Figure 2 is a schematic diagram of the host computer display interface. In addition to displaying the follicle image in the middle part, the host computer display interface also displays relevant parameters. Figure 2 The various parameters on it are mainly composed of two parts. Among them, the first part is the image parameter selection area, including: FR: accuracy rate; D: depth; Gn: gain; QualMax: image quality; 2DuS / 3DuS: false color. The second part is the follicle measurement result, including: d(V): diameter; dx: length in the x direction; dy: length in the y direction; dz: length in the z direction; md: average length; V: volume.

[0064] In this embodiment, the host computer display interface contains several follicles, and each follicle corresponds to a follicle information, which can be a kind of label information of the follicle. In this way, the user can input the follicle information on the host computer display interface to select the corresponding target follicle.

[0065] In a specific implementation manner, the follicle information input by the user can be obtained through a preset interaction interface on the current host computer display interface. Further, the target follicle is determined from several follicles displayed on the host computer display interface according to the follicle information. In another specific implementation manner, the target follicle can also be determined based on the result selected by the user from the host computer display interface through a preset input device, where the preset input device can be a mouse, a trackball, etc. That is, the host computer receives the user's operation through a mouse, a trackball, etc. to select the target follicle from the follicles displayed on the interface.

[0066] In addition, it should be noted that the target follicle is composed of several volume elements, and this volume element is also called volumetric data or volume data.

[0067] Step S12: Determine a target sample matrix corresponding to the target follicle; the target sample matrix contains the three-dimensional coordinates of each volume element of the target follicle in the first space coordinate system.

[0068] In this embodiment, first, a sample matrix corresponding to each follicle is constructed. Further, the target sample matrix corresponding to the target follicle is determined in the sample matrix.

[0069] The specific process of constructing a sample matrix corresponding to each follicle is as follows: Collect the target body data of the hypoechoic area or cystic area; the target body data contains several follicles, and the volume elements in the same follicle have the same label information; save the three-dimensional coordinates of the volume elements with the same label information in the first space coordinate system into the same sample matrix to obtain the sample matrix corresponding to each follicle respectively.

[0070] In a specific implementation manner, when the ultrasonic device scans the abdomen of the target object, the ultrasonic probe is directed towards the ovarian area, and at this time, the ultrasonic probe collects the ultrasonic echo data of the corresponding area. The ultrasonic host determines the data of the hypoechoic area or cystic area from the ultrasonic echo data collected by the probe based on the follicle volume measurement function. The hypoechoic area and the cystic area are the areas where the follicles are located. Further, the ultrasonic host traverses the target body data. Since the volume elements of the same follicle have the same label information, the ultrasonic host saves the three-dimensional coordinates of the volume elements with the same label information into the same sample matrix, and the sample matrix corresponding to each follicle can be obtained.

[0071] Since each follicle corresponds to a separate sample matrix, after the target follicle is determined, the target sample matrix of the target follicle can be determined from each sample matrix.

[0072] See Figure 3 as shown Figure 3 is a schematic diagram of the point set of a follicle. It can be seen that the follicle is composed of several volume elements. Figure 4 is a schematic diagram of a sample matrix. Each row in the sample matrix stores a sample. It can be seen that the sample matrix is an n×3-dimensional matrix, where n represents the number of volume elements, and 3 represents 3 features, which are the X coordinate value, the Y coordinate value, and the Z coordinate value respectively.

[0073] Step S13: Centralize the three-dimensional coordinates to obtain the centralized processing result, and calculate the eigenvalues and eigenvectors according to the centralized processing result to obtain the target mapping relationship.

[0074] In this embodiment, first, the three-dimensional coordinates are centralized to obtain the centralized processing result, which can represent the central point characteristics corresponding to the target follicle, etc.; then, the eigenvalues and eigenvectors corresponding to the three-dimensional coordinates are calculated according to the centralized processing result to obtain the target mapping relationship. Among them, the target mapping relationship is the mapping relationship required to map the target sample matrix to a new sample matrix.

[0075] Step S14: Map the target sample matrix to a new sample matrix through the target mapping relationship, and determine the characteristic description values of the matrix elements in each column of the new sample matrix to construct the second space coordinate system based on the characteristic description values.

[0076] In this embodiment, first, the target sample matrix is mapped to a new sample matrix through the target mapping relationship, and then the characteristic description values of the column matrix elements in the new sample matrix are determined to construct the second space coordinate system based on the characteristic description values. Among them, the characteristic description value is a value used to characterize the characteristics of a column matrix element, and can be an extreme value, a maximum or minimum value, the difference between extreme values, the sum of extreme values, the difference between maximum and minimum values, the sum of maximum and minimum values, etc.

[0077] Furthermore, since the second space coordinate system is obtained based on the centering processing result of the three-dimensional coordinates of the target follicle, it can be understood as a space coordinate system constructed with the target follicle as the center; the origin of this second space coordinate system can be the center of the target follicle, and the coordinate axes correspond to the major and minor axes of the target follicle. That is, in the second space coordinate system, the target follicle is in a centered position and in a proper posture.

[0078] Specifically, the characteristic description values are the maximum value and the minimum value. In this embodiment, first, the sum values of the maximum value and the minimum value of the column matrix elements in the new sample matrix are determined to obtain three sum values, and the target center point is calculated based on the three sum values, and then the target center point is determined as the origin of the second space coordinate system. Furthermore, in this embodiment, the difference values between the maximum value and the minimum value of the column matrix elements are determined to obtain three difference values, and three vectors are determined based on the three difference values, and then the three vectors are determined as the three coordinate axis vectors of the second space coordinate system.

[0079] In a specific implementation manner, the maximum value of the column matrix elements in the new sample matrix is (X max , Y max , Z max ), and the minimum value of the column matrix elements is (X min , Y min , Z min ). In this way, the three sum values mentioned above are: (X max + X min ), (Y max + Y min ), (Z max + Z min ). In this embodiment, the point where half of the three sum values are located is determined as the target center point, that is, the origin of the second space coordinate system. Specifically, the origin of the second space coordinate system is {(X max + X min ) / 2, (Y max + Y min ) / 2, (Z max + Z min ) / 2}.

[0080] In a specific implementation manner, the maximum value of the column matrix elements in the new sample matrix is (X max , Ymax , Z max ), the minimum value of each column matrix element is (X min , Y min , Z min ). In this embodiment, the vector constructed by the difference between the maximum value X max and the minimum value X min is determined as the X-axis vector of the second space coordinate system, and the vector constructed by the difference between the maximum value Y max and the minimum value Y min is determined as the Y-axis vector of the second space coordinate system, and the vector constructed by the difference between the maximum value Z max and the minimum value Z min is determined as the Z-axis vector of the second space coordinate system.

[0081] Step S15: Determine the transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and perform pose transformation on the target follicle in the first space coordinate system according to the transformation matrix, so as to relocate the target follicle to the target position on the host computer display interface.

[0082] Among them, the transformation matrix includes a translation matrix and a rotation matrix. Performing pose transformation on the target follicle in the first space coordinate system according to the transformation matrix can be to perform translation and / or rotation transformation on the target follicle in the first space coordinate system to relocate the target follicle to the target position in a specific posture.

[0083] In this embodiment, a translation matrix is constructed according to the positional relationship between the origin of the second space coordinate system and the first space coordinate system, and a rotation matrix is constructed according to the positional relationship between the three coordinate axis vectors of the second space coordinate system and the first space coordinate system.

[0084] Specifically, by translating the origin of the second space coordinate system to the origin of the first space coordinate system, the translation matrix is obtained. It can be understood that in the translation matrix, the distance that each volume element needs to be translated is recorded. Based on this, the center of the target follicle can be translated from the current position to the target position, and the translation of other points in the target follicle can also be realized synchronously, thereby realizing the overall translation of the target follicle.

[0085] Specifically, by rotating the three coordinate axis vectors to the first space coordinate system, the rotation matrix is obtained. It can be understood that after translating the target follicle to the target position, the target follicle can be rotated to the upright position through the rotation matrix, so as to more intuitively display the target follicle on the host computer display interface.

[0086] Among them, the target position of the host computer display interface can be a certain coordinate in the interface. The first spatial coordinate system is the spatial coordinate system where the target position is located, and the second spatial coordinate system is the orthotopic coordinate system where the target follicle is located before transformation. In a specific implementation manner, the target position is the center of the display interface. In this way, the first spatial coordinate system is the coordinate system where the center of the display interface is located. The purpose of this application is to transform the posture and position of the target follicle from the posture and position in the second spatial coordinate system to the posture and position in the first spatial coordinate system. Since the first spatial coordinate system is located at the center of the display interface, the target follicle can be more intuitively observed by repositioning the target follicle in this application.

[0087] Furthermore, when the center of the target follicle is at the center of the display interface, the target follicle is in a centered position in each section. Further, the host computer can perform section division on the target follicle with each coordinate plane corresponding to the first spatial coordinate system as the section plane, and the origin of the first spatial coordinate system corresponds to the intersection point (i.e., the section center) of each section plane. Through the above translation process, the center of the target follicle can be moved to the section center, and through the above rotation process, it can be ensured that the target follicle is the best observation plane on each coordinate plane, so as to more intuitively display the target follicle in the host computer display interface.

[0088] Figure 5 Schematic diagram for transforming the posture and position of the target follicle. From Figure 5 It can be seen that after the target follicle is transformed in the first spatial coordinate system, its orientation is easier to observe. That is to say, in this embodiment, a second spatial coordinate system is established at the position of the target follicle before transformation, and a first spatial coordinate system is established at the target position of the host computer display interface, such as the center of the host computer display interface. Then, the transformation matrix is determined based on the relationship between the second spatial coordinate system and the first spatial coordinate system. Further, the target follicle is repositioned to the target position according to the transformation matrix for intuitive display.

[0089] Furthermore, after repositioning the target follicle to the target position of the host computer display interface, this application can also calculate the three diameters of the target follicle in the first spatial coordinate system. Specifically, the absolute value of the difference between the maximum value and the minimum value of the matrix elements in each column of the new sample matrix is respectively determined as the three diameters of the target follicle, and the three diameters of the target follicle are sent to the host computer display interface for display. In this way, this application can observe the three diameters of the target follicle through the host computer display interface to analyze the target follicle based on the three diameters.

[0090] It can be seen that the present application proposes a follicle repositioning method, including: determining a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements; determining a target sample matrix corresponding to the target follicle; the target sample matrix contains the three-dimensional coordinates of each of the volume elements of the target follicle in the first space coordinate system; centralizing the three-dimensional coordinates to obtain a centralized processing result, and calculating eigenvalues and eigenvectors according to the centralized processing result to obtain a target mapping relationship; mapping the target sample matrix to a new sample matrix through the target mapping relationship, and determining the characteristic description values of the matrix elements in each column of the new sample matrix, so as to construct a second space coordinate system based on the characteristic description values; determining a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and performing a pose transformation on the target follicle in the first space coordinate system according to the transformation matrix, so as to reposition the target follicle to the target position on the host computer display interface. In summary, it can be seen that the present application first determines a target follicle from several follicles displayed on the current host computer, and determines the target sample matrix of the target follicle. Further, the present application obtains a target mapping relationship by centralizing the target sample matrix and performing operations on eigenvalues and eigenvectors. Further, the present application maps the target sample matrix to a new sample matrix based on the target mapping relationship, constructs a second space coordinate system by calculating the maximum and minimum values of the matrix elements in each column of the new sample matrix, then obtains a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and finally the present application quickly transforms the target follicle to the target position on the host computer display interface according to the transformation matrix. In this way, the doctor can intuitively view the morphological structure information of the target follicle at the target position on the host computer display interface, saving the time for adjusting the position of the target follicle and greatly improving the follicle analysis efficiency.

[0091] The embodiment of the present application discloses a specific follicle repositioning method. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Refer to Figure 6 as shown, specifically including:

[0092] Step S21: Sort the three differences.

[0093] In this embodiment, the difference between the maximum value and the minimum value of the matrix elements in each column is determined to obtain three differences, and the three differences are sorted in size.

[0094] Step S22: Determine the coordinate axis corresponding to the largest difference among the three differences as the first coordinate axis of the second spatial coordinate system, determine the coordinate axis corresponding to the smallest difference among the three differences as the second coordinate axis of the second spatial coordinate system, and determine the coordinate axis corresponding to the remaining one difference among the three differences as the third coordinate axis of the second spatial coordinate system.

[0095] In this embodiment, determine the section direction of the section where the first coordinate axis and the third coordinate axis are located as the coronal plane direction of the target follicle (i.e., the A-section direction); determine the section direction of the section where the first coordinate axis and the second coordinate axis are located as the sagittal plane direction of the target follicle (i.e., the B-section direction); determine the section direction of the section where the second coordinate axis and the third coordinate axis are located as the transverse plane direction of the target follicle (i.e., the C-section direction). Refer to Figure 7 as shown Figure 7 is a schematic diagram of an anatomical plane. It can be seen that the coronal plane is the largest section that can observe the anatomical body, followed by the sagittal plane, and the transverse plane is the smallest section that can observe the anatomical body. Similarly, in this application, the doctor can observe the section information display diagram of the target follicle through the upper computer display interface. Specifically, the coronal plane direction of the target follicle is the largest section direction that can observe the target follicle. That is, in this embodiment, the most section information of the target follicle can be observed in the coronal plane direction, followed by the sagittal plane direction and the transverse plane direction.

[0096] In one embodiment, refer to Figure 8 as shown. First, this application automatically measures the follicles in the left ovary or the right ovary, and then processes the irregularities in the identified follicles. For example, trim the places with burrs in the follicles, etc. After the processing, move the cursor to select a single target follicle, and click the right mouse button to confirm the selection. Further, reposition the target follicle based on the follicle repositioning method of this application, so as to display the target follicle at the center of the screen and each section, which is beneficial for doctors to observe.

[0097] The following elaborates on the specific implementation method of the follicle repositioning scheme:

[0098] The ultrasonic device obtains the target sample matrix of the target follicle. The volume data contained in the target follicle is n, so n m-dimensional (n×m) volume data sets X=(x 1 , x 2 , …x m ) are obtained as the target sample matrix. The number of low-dimensional space bits corresponding to it is greater than or equal to k. The following processing is performed on the volume data set:

[0099] (1) Perform centering processing on all the volume data in the volume data set to obtain the centering processing result;

[0100]

[0101] (2) Calculate the covariance matrix of the volume data;

[0102] COV = X T X;

[0103] (3) Calculate the eigenvalues and eigenvectors based on the covariance matrix;

[0104] Solve the characteristic equation |λE - X T X| = 0 to find the eigenvalues. The Jacobi method is commonly used to find the eigenvalues. Arrange the calculated eigenvalues in descending order, i.e., λ 1 ≥ λ 2 ≥... ≥ λ m ;

[0105] Respectively find the eigenvectors e i corresponding to the eigenvalues λ i (i = 1, 2,..., m), and require ||e i || = 1, that is where e i,j represents the j-th component of the vector e i ;

[0106] (4) Determine the mapping relationship based on the eigenvectors corresponding to the first several sorted eigenvalues, and map each sample x (i) of the sample set to a new sample z (i) .

[0107] Furthermore, calculate the maximum and minimum values of the matrix elements of each column of the new sample z (i) , and determine the point where half of the sum of the maximum and minimum values of the matrix elements of each column is located as the target center point, that is, the origin of the second spatial coordinate system, and construct a translation matrix accordingly. Determine the vector where the difference between the maximum and minimum values of the matrix elements of each column is located as the three coordinate axis vectors of the second spatial coordinate system, and construct a rotation matrix accordingly. The specific process is as shown in the previously disclosed content and will not be specifically described here. In this way, the present application realizes the repositioning of the target follicle to the center of the host computer display interface through the translation matrix and the rotation matrix.

[0108] In this embodiment, Figure 9 is a schematic diagram of follicle display before repositioning, Figure 10It is a schematic diagram showing the follicle after relocation. It can be seen that before relocation, the center of the target follicle does not coincide with the center of the section, and the section information of the target follicle on section B and section C cannot be observed. After relocation, the center of the target follicle coincides with the center of the section, and the section information of the target follicle on each section can be seen. Among them, the section information includes section A information, section B information, section C information, and 3D information (three dimensions).

[0109] In summary, the present application quickly calculates the translation matrix and the rotation matrix, and based on the translation matrix and the rotation matrix, quickly moves the target follicle to the upper computer display interface and the center of each section, enabling the doctor to observe the morphological structure of the follicle on each section, saving the adjustment time for the doctor to change the position of the follicle.

[0110] Correspondingly, the embodiment of the present application also discloses a follicle relocation device. Refer to Figure 11 As shown, the device includes:

[0111] A target follicle determination module 11, configured to determine a target follicle from several follicles displayed on the current upper computer display interface; wherein, the target follicle is composed of multiple volume elements;

[0112] A target sample matrix determination module 12, configured to determine a target sample matrix corresponding to the target follicle; the three-dimensional coordinates of each volume element of the target follicle in the first space coordinate system are included in the target sample matrix;

[0113] A mapping relationship determination module 13, configured to centralize the three-dimensional coordinates to obtain a centralized processing result, and calculate eigenvalues and eigenvectors according to the centralized processing result to obtain a target mapping relationship;

[0114] A second space coordinate system construction module 14, configured to map the target sample matrix into a new sample matrix through the target mapping relationship, and determine the characteristic description values of the column matrix elements in the new sample matrix, so as to construct a second space coordinate system based on the characteristic description values;

[0115] A relocation module 15, configured to determine a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and perform a pose transformation on the target follicle in the first space coordinate system according to the transformation matrix, so as to relocate the target follicle to the target position on the upper computer display interface.

[0116] Among them, for the more specific working processes of the above-mentioned various modules, reference can be made to the corresponding content disclosed in the foregoing embodiments, and details will not be elaborated herein.

[0117] It can be seen that in this application, the target follicle is first determined from several follicles currently displayed on the host computer, and the target sample matrix of the target follicle is determined. Further, in this application, through operations on centering, eigenvalues, and eigenvectors of the target sample matrix, the target mapping relationship is obtained. Further, in this application, based on the target mapping relationship, the target sample matrix is mapped into a new sample matrix, and the maximum and minimum values of the matrix elements in each column of the new sample matrix are calculated to construct the second spatial coordinate system. Then, according to the positional relationship between the first spatial coordinate system and the second spatial coordinate system, the transformation matrix is obtained. Finally, in this application, the target follicle is quickly transformed to the target position on the host computer display interface according to the transformation matrix. In this way, the doctor can intuitively view the morphological structure information of the target follicle at the target position on the host computer display interface, saving the time for adjusting the position of the target follicle and greatly improving the follicle analysis efficiency.

[0118] In some specific embodiments, the target follicle determination module 11 may specifically include:

[0119] The first target follicle determination unit is configured to obtain follicle information input by the user on the host computer display interface through a preset interaction interface on the current host computer display interface, and determine the target follicle from several follicles displayed on the host computer display interface according to the follicle information.

[0120] In some specific embodiments, the target follicle determination module 11 may specifically include:

[0121] The second target follicle determination unit is configured to determine the target follicle based on the result selected by the user from the host computer display interface through a preset input device.

[0122] In some specific embodiments, further before the target follicle determination module 11, it may further include:

[0123] The target body data acquisition unit is configured to acquire target body data of a hypoechoic region or a cystic region; the target body data contains several follicles, and the volume elements in the same follicle have the same label information;

[0124] The sample matrix generation unit is configured to save the three-dimensional coordinates of the volume elements with the same label information in the first spatial coordinate system into the same sample matrix to obtain the sample matrix corresponding to each follicle.

[0125] In some specific embodiments, the feature description values include maximum values and minimum values;

[0126] The second spatial coordinate system construction module 14 includes:

[0127] A target center point determination unit, configured to determine the sum of the maximum value and the minimum value of each column of the matrix elements, obtain three sums, calculate a target center point according to the three sums, and then determine the target center point as the origin of the second spatial coordinate system;

[0128] A second spatial coordinate system construction unit, configured to determine the difference between the maximum value and the minimum value of each column of the matrix elements, obtain three differences, determine three vectors according to the three differences, and then determine the three vectors as the three coordinate axis vectors of the second spatial coordinate system.

[0129] In some specific embodiments, the transformation matrix includes a translation matrix and a rotation matrix;

[0130] Correspondingly, the relocation module 15 includes:

[0131] A translation matrix construction unit, configured to construct the translation matrix according to the positional relationship between the origin of the second spatial coordinate system and the first spatial coordinate system;

[0132] A rotation matrix construction unit, configured to construct the rotation matrix according to the positional relationship between the three coordinate axis vectors and the first spatial coordinate system.

[0133] In some specific embodiments, the follicle relocation device may further include:

[0134] A difference sorting unit, configured to sort the three differences;

[0135] An axis determination unit, configured to determine the coordinate axis corresponding to the largest difference among the three differences as the first coordinate axis of the second spatial coordinate system, determine the coordinate axis corresponding to the smallest difference among the three differences as the second coordinate axis of the second spatial coordinate system, and determine the coordinate axis corresponding to the remaining one difference among the three differences as the third coordinate axis of the second spatial coordinate system.

[0136] In some specific embodiments, the follicle relocation device may further include:

[0137] A coronal plane determination unit, configured to determine the section direction of the section where the first coordinate axis and the third coordinate axis are located as the coronal plane direction of the target follicle;

[0138] A sagittal plane direction determination unit, configured to determine the section direction of the section where the first coordinate axis and the second coordinate axis are located as the sagittal plane direction of the target follicle;

[0139] A transverse plane direction determination unit, configured to determine the section direction of the section where the second coordinate axis and the third coordinate axis are located as the transverse plane direction of the target follicle.

[0140] Furthermore, an embodiment of the present application also provides an electronic device. Figure 12 FIG. 20 is a structural diagram of an electronic device shown according to an exemplary embodiment. The content in the figure should not be considered as any limitation to the scope of use of the present application.

[0141] Figure 12 FIG. 20 is a schematic structural diagram of an electronic device 20 provided by an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the follicle repositioning method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0142] In this embodiment, the power supply 26 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, and specific limitations are not imposed on it here; the input / output interface 24 is used to obtain external input data or output data to the outside, and the specific interface type can be selected according to specific application needs, and no specific limitation is made here.

[0143] In addition, as a carrier for resource storage, the memory 22 may be a read-only memory, a random access memory, a magnetic disk, or an optical disc, etc. The resources stored thereon may include a computer program 221, and the storage method may be temporary storage or permanent storage. Among them, in addition to the computer program capable of implementing the follicle repositioning method executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 221 may further include a computer program capable of performing other specific tasks.

[0144] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the follicle repositioning method disclosed above is implemented.

[0145] For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not described herein again.

[0146] In the present application, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.

[0147] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0148] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the technical field.

[0149] Finally, it should also be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising a..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.

[0150] The above has introduced in detail a follicle repositioning method, device, equipment, and storage medium provided by the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A follicle repositioning method, characterized in that, it includes: Determine a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements; Determine a target sample matrix corresponding to the target follicle; the target sample matrix contains the three-dimensional coordinates of each of the volume elements of the target follicle in the first space coordinate system; Centralize the three-dimensional coordinates to obtain a centralized processing result, and calculate eigenvalues and eigenvectors based on the centralized processing result to obtain a target mapping relationship; Map the target sample matrix to a new sample matrix through the target mapping relationship, and determine the characteristic description values of the matrix elements in each column of the new sample matrix, so as to construct a second space coordinate system based on the characteristic description values; Determine a transformation matrix according to the positional relationship between the first space coordinate system and the second space coordinate system, and perform pose transformation on the target follicle in the first space coordinate system according to the transformation matrix, so as to reposition the target follicle to the target position on the host computer display interface.

2. The follicle repositioning method according to claim 1, characterized in that, The determination of the target follicle from several follicles displayed on the current host computer display interface includes: Obtain the follicle information input by the user on the host computer display interface through a preset interaction interface on the current host computer display interface, and determine the target follicle from several follicles displayed on the host computer display interface according to the follicle information; Or, determine the target follicle based on the result selected by the user from the host computer display interface through a preset input device.

3. The follicle repositioning method according to claim 1, characterized in that, Before determining the target follicle from several follicles displayed on the current host computer display interface, it further includes: Collect target volume data of a hypoechoic region or a cystic region; the target volume data contains several follicles, and the volume elements in the same follicle have the same label information; Save the three-dimensional coordinates of the volume elements with the same label information in the first space coordinate system to the same sample matrix to obtain the sample matrix corresponding to each follicle.

4. The follicle repositioning method according to any one of claims 1 to 3, characterized in that, The characteristic description values include maximum values and minimum values; The determination of the characteristic description values of the matrix elements in each column of the new sample matrix to construct a second space coordinate system based on the characteristic description values includes: Determine the sum value of the maximum value and the minimum value of the matrix elements in each column to obtain three sum values, and calculate a target center point according to the three sum values, and then determine the target center point as the origin of the second space coordinate system; Determine the difference value between the maximum value and the minimum value of the matrix elements in each column to obtain three difference values, and determine three vectors according to the three difference values, and then determine the three vectors as the three coordinate axis vectors of the second space coordinate system.

5. The follicle repositioning method according to claim 4, characterized in that, The transformation matrix includes a translation matrix and a rotation matrix; Determining the transformation matrix according to the positional relationship between the first spatial coordinate system and the second spatial coordinate system includes: Constructing the translation matrix according to the positional relationship between the origin of the second spatial coordinate system and the first spatial coordinate system; Constructing the rotation matrix according to the positional relationship between the three coordinate axis vectors and the first spatial coordinate system.

6. The follicle repositioning method according to claim 4, wherein, it further includes: Sorting the three differences; Determining the coordinate axis corresponding to the largest difference among the three differences as the first coordinate axis of the second spatial coordinate system, determining the coordinate axis corresponding to the smallest difference among the three differences as the second coordinate axis of the second spatial coordinate system, and determining the coordinate axis corresponding to the remaining one difference among the three differences as the third coordinate axis of the second spatial coordinate system.

7. The follicle repositioning method according to claim 6, wherein, it further includes: Determining the section direction of the section where the first coordinate axis and the third coordinate axis are located as the coronal plane direction of the target follicle; Determining the section direction of the section where the first coordinate axis and the second coordinate axis are located as the sagittal plane direction of the target follicle; Determining the section direction of the section where the second coordinate axis and the third coordinate axis are located as the transverse plane direction of the target follicle.

8. A follicle repositioning device, wherein, it includes: A target follicle determination module, configured to determine a target follicle from several follicles displayed on the current host computer display interface; wherein, the target follicle is composed of multiple volume elements; A target sample matrix determination module, configured to determine a target sample matrix corresponding to the target follicle; the target sample matrix contains the three-dimensional coordinates of each of the volume elements of the target follicle in the first spatial coordinate system; A mapping relationship determination module, configured to centralize the three-dimensional coordinates to obtain a centralized processing result, and calculate eigenvalues and eigenvectors according to the centralized processing result to obtain a target mapping relationship; A second spatial coordinate system construction module, configured to map the target sample matrix to a new sample matrix through the target mapping relationship, and determine the characteristic description values of the matrix elements in each column of the new sample matrix, so as to construct a second spatial coordinate system based on the characteristic description values; A repositioning module, configured to determine a transformation matrix according to the positional relationship between the first spatial coordinate system and the second spatial coordinate system, and perform a pose transformation on the target follicle in the first spatial coordinate system according to the transformation matrix, so as to reposition the target follicle to the target position on the host computer display interface.

9. An electronic device, wherein, it includes: A memory, configured to store a computer program; A processor, configured to execute the computer program to implement the follicle repositioning method according to any one of claims 1 to 7.

10. A computer-readable storage medium, wherein, it is configured to store a computer program; wherein, when the computer program is executed by a processor, the follicle repositioning method according to any one of claims 1 to 7 is implemented.