Three-dimensional contour creation method and device, equipment and medium
By adjusting the pole position on the three-dimensional standard section to form an elliptical curve, the problem of low accuracy of three-dimensional contours in the prior art is solved, and a three-dimensional contour creation that is more in line with the target organization is achieved, and the accuracy is improved.
Patent Information
- Application Number
- CN202311683932.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2025-06-10
AI Technical Summary
The existing ultrasonic three-dimensional volume contour creation scheme creates three-dimensional contours based on spherical surfaces, making it difficult to encapsulate complete tissues and organs when adjusting pole positions, resulting in low accuracy of three-dimensional contours.
By selecting the first reference surface and the second reference surface from the three-dimensional standard sections of the region of interest, adjusting the pole position to obtain a multi-segment elliptic curve to form a first closed curve and a second closed curve, a three-dimensional contour of the target organization is created based on these curves.
The accuracy of the three-dimensional contour is improved so that the first closed curve and the second closed curve are more in line with the target tissue, thereby enhancing the accuracy of the contour.
Smart Images

Figure CN120125733A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of three-dimensional contour creation, and particularly relates to a three-dimensional contour creation method, apparatus, device, and medium. Background Art
[0002] Currently, the existing ultrasound three-dimensional volume contour creation scheme is usually as follows: First, select a standard reference section, set two poles on the polar axis, adjust the positions of the two poles according to the specific tissue image, and create a standard sphere with the line connecting the two poles as the diameter as the three-dimensional contour of the tissue organ. However, this scheme creates a three-dimensional contour based on a sphere, while the tissue organ is usually not a relatively standard sphere. When adjusting the pole positions to select the lesion tissue, in order to include the entire tissue organ, it is inevitable to include many other irrelevant tissue regions, so the accuracy of the created three-dimensional contour is relatively low. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a three-dimensional contour creation method, apparatus, device, and medium, which can improve the accuracy of the three-dimensional contour. The specific scheme is as follows:
[0004] In a first aspect, this application discloses a three-dimensional contour creation method, including:
[0005] Select a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest;
[0006] Adjust the positions of the poles in the first reference plane to obtain multiple elliptical curves, and these multiple elliptical curves form a first closed curve including a first target region; the first target region is the entire region occupied by the target tissue in the first reference plane;
[0007] Adjust the positions of the poles in the second reference plane to obtain multiple elliptical curves, and these multiple elliptical curves form a second closed curve including a second target region; the second target region is the entire region occupied by the target tissue in the second reference plane;
[0008] Create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
[0009] Optionally, the adjusting the positions of the poles in the first reference plane to obtain multiple elliptical curves includes:
[0010] Adjust the position of at least one of the four poles in the first reference plane; where the poles are points on the polar axis;
[0011] Each adjacent two poles determine an elliptical curve, and four elliptical curves are obtained.
[0012] Optionally, adjusting the positions of the poles in the second reference plane to obtain multiple elliptical curves includes:
[0013] Adjusting the position of at least one of the two poles in the second reference plane that do not coincide with the first reference plane;
[0014] Determining one elliptical curve based on every two adjacent poles in the second reference plane to obtain four elliptical curves.
[0015] Optionally, creating the three-dimensional contour of the target tissue based on the first closed curve and the second closed curve includes:
[0016] Performing curve interpolation based on the first curve, the second curve, the third curve, and the fourth curve to obtain the three-dimensional contour of the target tissue;
[0017] Wherein, the endpoints of the first curve, the second curve, the third curve, and the fourth curve are all the intersection points of the first closed curve and the second closed curve, and the first curve and the third curve form the first closed curve, and the second curve and the fourth curve form the second closed curve.
[0018] Optionally, performing curve interpolation based on the first curve, the second curve, the third curve, and the fourth curve to obtain the three-dimensional contour of the target tissue includes:
[0019] Selecting at least one control point on each of the first curve, the second curve, the third curve, and the fourth curve to obtain a control point set corresponding to each curve;
[0020] Performing interpolation between two adjacent curves among the first curve, the second curve, the third curve, and the fourth curve according to angular steps and using the control point sets of the two adjacent curves to obtain multiple interpolation curves;
[0021] Determining the closed surface formed by the first curve, the second curve, the third curve, the fourth curve, and the multiple interpolation curves as the three-dimensional contour of the target tissue.
[0022] Optionally, the step of determining any interpolation point in the interpolation curve is:
[0023] Determining the weights of the two control points corresponding to this interpolation point; the two control points are respectively the control points on two adjacent curves;
[0024] Based on the weights and the lengths of the two control points from the origin respectively, determining the length of this interpolation point from the origin to obtain the target length;
[0025] Determine the coordinates of the interpolation point based on the target length, the angular step, and the coordinates of the two control points.
[0026] Optionally, after selecting the first reference plane and the second reference plane from the three-dimensional standard section of the region of interest, the method further includes:
[0027] Draw a line segment in the first reference plane that coincides with the major axis of the region of interest;
[0028] Rotate the first reference plane according to the angle between the line segment and the vertical direction so that the line segment in the first reference plane is in a vertical state;
[0029] Translate the first reference plane to the center of the display area.
[0030] Optionally, after selecting the first reference plane and the second reference plane from the three-dimensional standard section of the region of interest, the method further includes:
[0031] Draw a line segment in the second reference plane that coincides with the major axis of the region of interest;
[0032] Rotate the second reference plane according to the angle between the line segment and the vertical direction so that the line segment in the second reference plane is in a vertical state;
[0033] Translate the second reference plane to the center of the display area.
[0034] In a second aspect, the present application discloses a three-dimensional contour creation device, including:
[0035] A reference plane selection module, configured to select a first reference plane and a second reference plane from the three-dimensional standard section of the region of interest;
[0036] A first closed curve determination module, configured to adjust the position of the pole in the first reference plane to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a first closed curve including a first target region; the first target region is the entire region occupied by the target tissue in the first reference plane;
[0037] A second closed curve determination module, configured to adjust the position of the pole in the second reference plane to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a second closed curve including a second target region; the second target region is the entire region occupied by the target tissue in the second reference plane;
[0038] A three-dimensional contour determination module, configured to create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
[0039] In a third aspect, the present application discloses an ultrasonic device, including a memory and a processor, wherein:
[0040] The memory is used to store a computer program;
[0041] The processor is used to execute the computer program to implement the aforementioned three-dimensional contour creation method.
[0042] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein when the computer program is executed by a processor, the aforementioned three-dimensional contour creation method is implemented.
[0043] It can be seen that in the present application, a first reference plane and a second reference plane are selected from the three-dimensional standard sections of the region of interest, and then the positions of the poles in the first reference plane are adjusted to obtain multiple elliptical curves, and these multiple elliptical curves form a first closed curve including a first target region, where the first target region is the entire region occupied by the target tissue in the first reference plane, and the positions of the poles in the second reference plane are adjusted to obtain multiple elliptical curves, and these multiple elliptical curves form a second closed curve including a second target region, where the second target region is the entire region occupied by the target tissue in the second reference plane, and then the three-dimensional contour of the target tissue is created based on the first closed curve and the second closed curve. That is, when constructing the three-dimensional contour of the target tissue in the present application, the positions of the poles are adjusted on the selected first reference plane and second reference plane, so as to obtain multiple elliptical curves that form closed curves respectively.
[0044] The beneficial effect of the present application is that: it can adjust the poles according to the region of the target tissue in the reference plane to obtain multiple elliptical curves, so that the first closed curve and the second closed curve are more fitted to the target tissue, thereby improving the accuracy of the three-dimensional contour. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0046] Figure 1 It is a flowchart of a three-dimensional contour creation method provided by an embodiment of the present application;
[0047] Figure 2 It is a schematic diagram of a first reference plane provided by an embodiment of the present application;
[0048] Figure 3 It is a schematic diagram of the adjusted first reference plane provided by an embodiment of the present application;
[0049] Figure 4 A flowchart of a specific three - dimensional contour creation method provided by an embodiment of the present application;
[0050] Figure 5 A schematic diagram of an elliptic curve of a first reference plane provided by an embodiment of the present application;
[0051] Figure 6 A schematic diagram of an elliptic curve of a second reference plane provided by an embodiment of the present application;
[0052] Figure 7 A schematic diagram of a three - dimensional contour before interpolation provided by an embodiment of the present application;
[0053] Figure 8 A schematic diagram of a contour after interpolation provided by an embodiment of the present application;
[0054] Figure 9 A top - view of a partial contour after interpolation provided by an embodiment of the present application;
[0055] Figure 10 A schematic diagram of a triangular surface element provided by an embodiment of the present application;
[0056] Figure 11 A flowchart of a specific contour creation provided by an embodiment of the present application;
[0057] Figure 12 A schematic diagram of a specific three - dimensional contour creation provided by an embodiment of the present application
[0058] Figure 13 A schematic diagram of the structure of a three - dimensional contour creation device provided by an embodiment of the present application;
[0059] Figure 14 A structural diagram of an ultrasonic device provided by an embodiment of the present application. Detailed implementation manners
[0060] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0061] See Figure 1 As shown, an embodiment of the present application discloses a three - dimensional contour creation method, including:
[0062] Step S11: Select a first reference plane and a second reference plane from the three - dimensional standard sections of the region of interest.
[0063] In the embodiments of the present application, the first reference plane and the second reference plane can be selected from the coronal plane, sagittal plane, and transverse plane of the region of interest. The ROI (i.e., region of interest) is the region containing the target tissue. Among them, the range of the region of interest can be preset. For example, when scanning the abdominal region, the region of interest is the region determined according to the preset range in the abdominal region.
[0064] Optionally, one of the first reference plane and the second reference plane can be used as the main reference plane and the other as the auxiliary reference plane. The main reference plane and the auxiliary reference plane can be determined by the user's selection, or can be automatically determined in the following way: identify the longest axis of the region of interest, and determine the reference plane closest to the longest axis among the first reference plane and the second reference plane as the main reference plane, and the other as the auxiliary reference plane. Further, after determining the longest axis, the reference plane closest to the longest axis can be determined as the main reference plane from the coronal plane, sagittal plane, and transverse plane of the region of interest, and the reference plane farthest from the longest axis can be determined as the auxiliary reference plane.
[0065] Further, in the embodiments of the present application, a line segment coinciding with the major axis of the region of interest can be drawn in the first reference plane; the first reference plane can be rotated according to the angle between the line segment and the vertical direction so that the line segment in the first reference plane is in a vertical state; the first reference plane can be translated to the center of the display area. And the first reference plane can be enlarged for display. For example, see Figure 2 as shown Figure 2 is a schematic diagram of a first reference plane provided by the embodiments of the present application, see Figure 3 as shown Figure 3 is a schematic diagram of the adjusted first reference plane provided by the embodiments of the present application.
[0066] In another embodiment, a line segment coinciding with the major axis of the region of interest can be drawn in the second reference plane; the second reference plane can be rotated according to the angle between the line segment and the vertical direction so that the line segment in the second reference plane is in a vertical state; the second reference plane can be translated to the center of the display area. And the first reference plane can be enlarged for display.
[0067] Optionally, only the first reference plane or the second reference plane can be rotated and translated, or both the first reference plane and the second reference plane can be rotated and translated.
[0068] The above rotation, translation, and enlargement processes can make the display effect of the reference plane optimal, and avoid inaccurate adjustment of the pole position caused by the occlusion of important contours.
[0069] In addition, the embodiments of the present application can monitor the moving direction and distance of the trackball to draw a line segment coinciding with the major axis of the region of interest.
[0070] Optionally, after the rotation and translation of the reference plane are completed, the positions of the poles in the reference plane can be adjusted. In this way, the adjustment of the pole positions can be achieved in the best display state, ensuring the accuracy of the determined elliptical curve, and thus obtaining a reliable three-dimensional contour.
[0071] Step S12: Adjust the positions of the poles in the first reference plane to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a first closed curve that includes the first target area; the first target area is the entire area occupied by the target tissue in the first reference plane.
[0072] In the embodiments of the present application, the positions of the poles in the first reference plane can be adjusted. Each adjacent two poles determine a segment of elliptical curve to obtain multiple segments of elliptical curves. Here, adjacent means adjacent in the clockwise direction or the counterclockwise direction, and there may be no other poles between adjacent poles. The poles are points on the polar axis and can be set by default. In the embodiments of the present application, the moving direction and distance of the trackball can be monitored, and based on the moving direction and distance, the positions of the poles in the first reference plane are adjusted. It can be understood that in the embodiments of the present application, the three-dimensional volume data of the region of interest is first obtained, the standard section is determined based on the three-dimensional volume data, and the first reference plane and the second reference plane are selected therefrom and displayed on the interface. Then, the operator can adjust the positions of the poles in the first reference plane according to the area occupied by the target tissue through the trackball, so that the first closed curve includes and fits the target tissue, that is, the adjusted elliptical area is closer to the target tissue. In some other embodiments, the first reference plane can also be detected to determine the target positions to which the poles need to be adjusted, and then the poles are adjusted to the target positions.
[0073] Step S13: Adjust the positions of the poles in the second reference plane to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a second closed curve that includes the second target area; the second target area is the entire area occupied by the target tissue in the second reference plane.
[0074] In the embodiments of the present application, the positions of the poles in the second reference plane that do not coincide with those in the first reference plane can be adjusted. Each adjacent two poles determine a segment of elliptical curve to obtain multiple segments of elliptical curves. Here, adjacent means adjacent in the clockwise direction or the counterclockwise direction. In the embodiments of the present application, the moving direction and distance of the trackball can be monitored, and based on the moving direction and distance, the positions of the poles in the second reference plane are adjusted. It can be understood that the operator can adjust the positions of the poles in the second reference plane according to the area occupied by the target tissue through the trackball, so that the second closed curve includes and fits the target tissue.
[0075] Step S14: Create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
[0076] Embodiments of the present application can perform curve interpolation based on a first closed curve and a second closed curve to obtain multiple interpolation curves, and determine a closed surface formed by the multiple interpolation curves, the second closed curve, and the second closed curve as the three-dimensional contour of the target tissue.
[0077] It can be seen that embodiments of the present application select a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest, and then adjust the positions of the poles in the first reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a first closed curve including a first target region, where the first target region is the entire region occupied by the target tissue in the first reference plane, and adjust the positions of the poles in the second reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a second closed curve including a second target region, where the second target region is the entire region occupied by the target tissue in the second reference plane, and then create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve. That is, when constructing the three-dimensional contour of the target tissue in the present application, the positions of the poles are adjusted on the selected first reference plane and second reference plane, so as to obtain multiple elliptical curves that form a closed curve respectively. In this way, multiple elliptical curves can be obtained by adjusting the poles according to the region of the target tissue in the reference plane, so that the first closed curve and the second closed curve fit the target tissue better, thereby improving the accuracy of the three-dimensional contour.
[0078] Optionally, after determining the multiple interpolation curves, the first closed curve, and the second closed curve, graphic rendering can be performed to obtain a closed surface, and the closed surface can be determined as the three-dimensional contour of the target tissue.
[0079] See Figure 4 As shown, embodiments of the present application disclose a specific three-dimensional contour creation method, including:
[0080] Step S21: Select a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest.
[0081] Step S22: Adjust the position of at least one of the four poles of the first reference plane.
[0082] Among them, the poles are points on the polar axis. It can be understood that the three-dimensional data of the ultrasonic scan is determined based on three polar axes, and the reference plane is on the plane determined by two polar axes. In the embodiments of the present application, two default points can be set on each polar axis as the poles, or the intersection point of the polar axis and the reference plane can be determined as the pole. Four poles can be obtained through both of these methods. For example, the first reference plane is the coronal plane, which is on the plane determined by the two polar axes of the X-axis and the Y-axis. The first reference plane is displayed on the screen. Among them, the axis horizontally to the right is the X-axis, the axis vertically downward is the Y-axis, and the axis perpendicular to the screen and towards the observer of the screen is the polar axis Z. There are two poles on each of the X-axis and the Y-axis. If the two poles on the Y-axis are set by default, the Y-axis coordinate values can be set to 100 and -100 respectively. The second reference plane can be the sagittal plane. The second reference plane is displayed on the screen. The axis horizontally to the right is the Z-axis, the axis vertically downward is the Y-axis, and the pole on the Y-axis coincides with the first reference plane.
[0083] Step S23: Determine an elliptical curve segment between every two adjacent poles to obtain four elliptical curve segments.
[0084] In the embodiments of the present application, the positions of the four poles can be adjusted by a trackball. During the adjustment process, four quarter elliptical curves are displayed in real time to form a first closed curve including the first target area; the first target area is the entire area occupied by the target tissue in the first reference plane. It can be understood that this closed curve includes and fits the first target area. For example, see Figure 5 as shown Figure 5 is a schematic diagram of an elliptical curve of a first reference plane disclosed in the embodiments of the present application. It includes poles 1 to 4. Taking the elliptical curve between pole 1 and pole 3 as an example, the calculation method of the elliptical curve is as follows: Taking the center point of the screen as the origin, the horizontal right direction as the positive direction of the X-axis, and the vertical downward direction as the positive direction of the Y-axis, with the center point of the axis as the center of the ellipse (x 0 , y 0 ), passing through pole 1 (x 1 , y 1 ), pole 3 (x 3 , y 3 ), the elliptical curve equation is determined as follows:
[0085]
[0086] Among them, the center point of the axis is the intersection point of the horizontal and vertical polar axes. The calculation methods of other elliptical curves are the same.
[0087] Step S24: Adjust the position of at least one of the two poles in the second reference plane that do not coincide with the first reference plane.
[0088] Step S25: Determine an elliptical curve segment based on every two adjacent poles in the second reference plane, obtaining four elliptical curve segments.
[0089] This application embodiment discloses that the positions of two poles that do not coincide with the first reference plane are adjusted through a trackball. During the adjustment process, four quarter-elliptical curves are displayed in real time, forming a closed curve, such that the closed curve encompasses and conforms to the second target area. For example, refer to Figure 6 as shown in Figure 6 which is a schematic diagram of an elliptical curve of a second reference plane disclosed in this application embodiment. Figure 6 It includes pole 1, pole 2, pole 5, and pole 6, where pole 1 and pole 2 are poles that coincide with the first reference plane.
[0090] Step S26: Obtain a first curve, a second curve, a third curve, and a fourth curve based on the determined elliptical curves.
[0091] Step S27: Perform interpolation based on the first curve, the second curve, the third curve, and the fourth curve to obtain the three-dimensional contour of the target tissue.
[0092] Among them, the endpoints of the first curve, the second curve, the third curve, and the fourth curve are all the intersection points of the first closed curve and the second closed curve. Moreover, the first curve and the third curve form the first closed curve, and the second curve and the fourth curve form the second closed curve.
[0093] This application embodiment can respectively select at least one control point on the first curve, the second curve, the third curve, and the fourth curve to obtain a control point set corresponding to each curve; between two adjacent curves among the first curve, the second curve, the third curve, and the fourth curve, perform interpolation according to the angular step and using the control point sets of the two adjacent curves to obtain multiple interpolation curves; determine the closed surface formed by the first curve, the second curve, the third curve, the fourth curve, and the multiple interpolation curves as the three-dimensional contour of the target tissue. Among them, the determination steps for any interpolation point on the interpolation curve are: determine the weights of the two control points corresponding to this interpolation point; the two control points are respectively control points on two adjacent curves; and the two control points are control points on the same layer, that is, the control points with the same number, that is, for the i-th interpolation point, its coordinates are determined based on the control points with the same number i in the adjacent curves; determine the length of this interpolation point to the origin based on the weights and the lengths of the two control points to the origin to obtain the target length; determine the coordinates of this interpolation point based on the target length, the angular step, and the coordinates of the two control points.
[0094] For example, denote curve A as the first curve (pole 1 - pole 3 - pole 2), curve C as the third curve (pole 1 - pole 4 - pole 2), curve B as the third curve (pole 1 - pole 5 - pole 2), and curve D as the fourth curve (pole 1 - pole 6 - pole 2). In the embodiments of the present application, for each calculated curve (A, B, C, D), N control points can be selected at equal index intervals, that is, some representatives are taken from the continuous points taken at a pixel distance along the curve as the control points. N is a positive integer and is set according to requirements, such as 45. Among them, the first one is pole 1, and the last control point is pole 2. For example, when the interval is 10, the 0th, 10th, 20th, 30th... points are taken as the control points. Denote the control point sets calculated for curves A, B, C, and D as Va, Vb, Vc, and Vd respectively. Between adjacent curves, according to the angular step, with the control points as the input, interpolation is performed at equal angular intervals to obtain a series of curves. The specific adjacent curves to be interpolated are as follows: between curve A and curve B; between curve B and curve C; between curve C and curve D; between curve D and curve A. The closed surface formed by the interpolated curves serves as the three-dimensional contour of the target tissue. For example, see Figure 7 as shown Figure 7 is a schematic diagram of the three-dimensional contour before interpolation, Figure 8 is a schematic diagram of the contour after interpolation.
[0095] In the embodiments of the present application, equal angular interval interpolation is adopted. For each curve to be interpolated, N control points are calculated as the new interpolated curve, and the interpolation weight is calculated according to the angular distance. Taking the main reference section as an example, see Figure 9 as shown Figure 9 is a top view of a partial contour after interpolation provided by the embodiments of the present application. That is, the projection of the contour on the XOZ plane. Among them, Ca(x a , y a , z a ) is the i-th control point on the control point set Va, and Cb(x b , y b , z b ) is the i-th control point on the control point set Vb. Denote the P point as the i-th control point on the contour to be interpolated. First, calculate the length L of OP. The formula is as follows:
[0096] L = W 8 *d 8 +W b *d b ;
[0097] where, W 8 =α b / β, w b =α 8 / β, w a , w bThey are the weights of points Ca and Cb respectively. Angle β is ∠CaOCb, and angle α a is ∠CaOP, and angle α b is ∠CbOP; d a is the length of |OCa|, and d b is the length of |OCb|.
[0098] Then, calculate the offset angle γ between OP and the X-axis. The formula is as follows:
[0099] γ = ω * j;
[0100] where ω is the angular distance between adjacent curves after interpolation, that is, the interpolation angular step; j is the j-th interpolated curve, and j = 2 when interpolating point P. Finally, calculate the coordinates of the interpolated point P. The formula is as follows:
[0101] X = -L * cos(γ)
[0102] y = w a *y a +W b *y b
[0103] z = L * sin(γ);
[0104] where y a and y b are the Y-axis coordinates of points Ca and Cb respectively, and x, y, and z are the X-axis, Y-axis, and Z-axis coordinates of point P respectively.
[0105] Furthermore, after interpolation, in the embodiments of the present application, triangular facets can be calculated between adjacent curves, and the triangular facets are sent to the server for rendering to obtain a contour rendering diagram. The server can be various types of graphics processing servers. Refer to Figure 10 , Figure 10 a schematic diagram of a triangular facet provided by an embodiment of the application. In some other embodiments, facets of other shapes can also be calculated. Further, the determination method of the triangular facet can be: connecting the control point with serial number i on a certain curve to the control point with serial number i + 1 on the adjacent (which can be the right adjacent or the left adjacent) curve, so that each control point has a corresponding connection line. At this time, a triangular area is formed between each connection line and the corresponding curve, and this triangular area is the triangular facet. Render these triangular facets to obtain the three-dimensional contour of the target tissue.
[0106] Furthermore, refer to Figure 11 shown, Figure 11A specific flowchart for contour creation provided by an example of this application. After entering the ultrasound three-dimensional freeze state, the ultrasound three-dimensional volume analysis function can be used to analyze the volume of the region of interest. When the user uses the volume analysis function, they first need to create a three-dimensional volume contour to determine the tissue and organ region, preparing for subsequent volume analysis of the tissue and organ.
[0107] Step 1: Select the reference section. Under ultrasound three-dimensional freeze, enter the ultrasound three-dimensional volume analysis function. At this time, the host computer displays three-dimensional ultrasound standard sections A (Front, i.e., the coronal plane), B (Right, i.e., the sagittal plane), and C (Top, i.e., the transverse plane). Select two appropriate standard sections (A and B, B and C, or A and C) according to the specific tissue image as the reference planes for contour creation. Among them, A is the first reference plane as the main reference plane, and B is the second reference plane as the auxiliary reference plane.
[0108] Step 2: Draw an image adjustment straight line segment. On the first reference plane, draw a straight line segment through the trackball to coincide with the major axis of the region of interest. According to the angle between the line segment and the vertical direction, the program automatically rotates the first reference plane to make it vertically displayed, then translates the image to the center of the display area and magnifies the display.
[0109] Step 3: Adjust the positions of the 4 poles of the main reference plane and calculate 4 elliptical curves. On the first reference plane, adjust the positions of 4 points through the trackball. During the adjustment process, four quarter-elliptical curves are displayed in real time, forming a closed curve that encloses and fits the tissue region of interest. Denote the curves as A (pole 1 - pole 3 - pole 2) and C (pole 1 - pole 4 - pole 2).
[0110] Step 4: Adjust the positions of the 2 poles of the auxiliary reference plane and calculate 4 elliptical curves. On the second reference plane, adjust the positions of 2 points through the trackball. During the adjustment process, four quarter-elliptical curves are displayed in real time, forming a closed curve that encloses and fits the tissue region of interest. Denote the curves as B (pole 1 - pole 5 - pole 2) and D (pole 1 - pole 6 - pole 2).
[0111] Step 5: For each calculated curve (A, B, C, D), select N control points (such as 45) at equal length intervals. The first one is pole 1, and the last control point is pole 2.
[0112] Step 6: Calculate the difference to obtain a closed surface. Between adjacent curves, according to the angular step, using the control points as inputs, interpolate at equal angular intervals to obtain a series of curves. The interpolated curves form a closed surface as the three-dimensional contour of the region of interest.
[0113] In this way, by combining two standard sectional images of tissues and considering the shapes of tissue organs in the X, Y, and Z directions, a three-dimensional contour can be quickly created, significantly improving the accuracy of contour creation while ensuring the simplicity of user operation.
[0114] Next, refer to Figure 12 , Figure 12 a specific three-dimensional contour creation schematic diagram provided by the application. Taking three-dimensional tumor analysis as an example, the embodiment of the present application further elaborates on the contour creation scheme provided by the present application. First, in the three-dimensional pre-activation stage, it is necessary to adjust the ROI to include the tumor tissue area as the basis for creating the contour later; then, enter three-dimensional freezing (relying on a three-dimensional volume probe), and the program automatically extracts the standard reference plane and adjusts the section orientation to assist in contour creation; on this basis, adjust the pole position to determine the tumor tissue contour. The implementation method for determining the tumor tissue contour can refer to the foregoing embodiments. After determining the tumor tissue contour, the contour can be rendered and displayed, or tissue analysis can be performed on the tumor tissue, such as calculating the blood flow index, vascular index, etc., for further diagnosis.
[0115] Refer to Figure 13 shown, the embodiment of the present application discloses a three-dimensional contour creation device, including:
[0116] a reference plane selection module 11, configured to select a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest;
[0117] a first closed curve determination module 12, configured to adjust the position of the pole in the first reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a first closed curve including a first target region; the first target region is the entire region occupied by the target tissue in the first reference plane;
[0118] a second closed curve determination module 13, configured to adjust the position of the pole in the second reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a second closed curve including a second target region; the second target region is the entire region occupied by the target tissue in the second reference plane;
[0119] a three-dimensional contour determination module 14, configured to create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
[0120] It can be seen that in the embodiments of the present application, a first reference plane and a second reference plane are selected from the three-dimensional standard sections of the region of interest, and then the positions of the poles in the first reference plane are adjusted to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a first closed curve including a first target region, where the first target region is the entire region occupied by the target tissue in the first reference plane, and the positions of the poles in the second reference plane are adjusted to obtain multiple segments of elliptical curves, and the multiple segments of elliptical curves form a second closed curve including a second target region, where the second target region is the entire region occupied by the target tissue in the second reference plane. Then, a three-dimensional contour of the target tissue is created based on the first closed curve and the second closed curve. That is, when constructing the three-dimensional contour of the target tissue in the present application, the positions of the poles are adjusted on the selected first reference plane and second reference plane, so as to respectively obtain multiple segments of elliptical curves that form closed curves. In this way, multiple segments of elliptical curves can be obtained by adjusting the poles according to the region of the target tissue in the reference plane, so that the first closed curve and the second closed curve fit the target tissue better, thereby improving the accuracy of the three-dimensional contour.
[0121] Among them, the first closed curve determination module 12 is specifically configured to: adjust the position of at least one of the four poles of the first reference plane; where the pole is a point on the polar axis; each adjacent two poles determine a segment of elliptical curve, and four segments of elliptical curves are obtained.
[0122] The second closed curve determination module 13 is specifically configured to: adjust the position of at least one of the two poles in the second reference plane that do not coincide with the first reference plane; and determine a segment of elliptical curve based on each adjacent two poles in the second reference plane, and four segments of elliptical curves are obtained.
[0123] The three-dimensional contour determination module 14 is specifically configured to:
[0124] Perform curve interpolation based on the first curve, the second curve, the third curve, and the fourth curve to obtain the three-dimensional contour of the target tissue;
[0125] Among them, the endpoints of the first curve, the second curve, the third curve, and the fourth curve are all the intersection points of the first closed curve and the second closed curve, and the first curve and the third curve form the first closed curve, and the second curve and the fourth curve form the second closed curve.
[0126] The three-dimensional contour determination module 14 specifically includes:
[0127] The control point set determination sub-module is configured to select at least one control point on each of the first curve, the second curve, the third curve, and the fourth curve to obtain a control point set corresponding to each curve;
[0128] A curve interpolation sub-module, configured to perform interpolation between two adjacent curves among the first curve, the second curve, the third curve, and the fourth curve according to an angular step and by using the control point sets of the two adjacent curves, to obtain a plurality of interpolation curves;
[0129] A three-dimensional contour determination sub-module, configured to determine the closed surface formed by the first curve, the second curve, the third curve, the fourth curve, and the plurality of interpolation curves as the three-dimensional contour of the target tissue.
[0130] Wherein, the determination of any interpolation point on the interpolation curve is implemented by the following units:
[0131] A weight determination unit, configured to determine the weights of two control points corresponding to the interpolation point; the two control points are respectively the control points on two adjacent curves;
[0132] A length determination unit, configured to determine the length of the interpolation point to the origin based on the weights and the lengths of the two control points to the origin respectively, to obtain a target length;
[0133] An interpolation point determination unit, configured to determine the coordinates of the interpolation point based on the target length, the angular step, and the coordinates of the two control points.
[0134] Optionally, the apparatus further includes:
[0135] A first line segment drawing module, configured to draw a line segment in the first reference plane that coincides with the major axis of the region of interest;
[0136] A first reference plane rotation module, configured to rotate the first reference plane according to the angle between the line segment and the vertical direction, so that the line segment in the first reference plane is in a vertical state;
[0137] A first reference plane translation module, configured to translate the first reference plane to the center of the display area.
[0138] Optionally, the apparatus further includes:
[0139] A second line segment drawing module, configured to draw a line segment in the second reference plane that coincides with the major axis of the region of interest;
[0140] A second reference plane rotation module, configured to rotate the second reference plane according to the angle between the line segment and the vertical direction, so that the line segment in the second reference plane is in a vertical state;
[0141] A second reference plane translation module, configured to translate the second reference plane to the center of the display area.
[0142] SeeFigure 14 As shown in Figure 14 , an embodiment of the present application discloses an ultrasonic device 20, including a processor 21 and a memory 22; wherein, the memory 22 is used to store a computer program; the processor 21 is used to execute the computer program, which is the three-dimensional contour creation method disclosed in the foregoing embodiment.
[0143] For the specific process of the above three-dimensional contour creation method, reference can be made to the corresponding content disclosed in the foregoing embodiment, and details will not be repeated here.
[0144] Moreover, as a carrier for resource storage, the memory 22 can be a read-only memory, a random access memory, a magnetic disk, or an optical disc, etc., and the storage method can be transient storage or permanent storage.
[0145] In addition, the ultrasonic device 20 further includes a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26; wherein, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of the present application, and no specific limitation is imposed here; the input / output interface 25 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.
[0146] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the three-dimensional contour creation method disclosed in the foregoing embodiment.
[0147] For the specific process of the above three-dimensional contour creation method, reference can be made to the corresponding content disclosed in the foregoing embodiment, and details will not be repeated here.
[0148] In this specification, each embodiment is described in a progressive manner. The key point of each embodiment is the difference from other embodiments. The same or similar parts among the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0149] The steps of the method or algorithm described in combination with the embodiments disclosed in this article can be directly implemented by hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0150] The above has introduced in detail a three-dimensional contour creation method, device, equipment and 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 three-dimensional contour creation method, characterized in that, it includes: selecting a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest; adjusting the positions of the poles in the first reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a first closed curve including a first target region; the first target region is the entire region occupied by the target tissue in the first reference plane; adjusting the positions of the poles in the second reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a second closed curve including a second target region; the second target region is the entire region occupied by the target tissue in the second reference plane; creating a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
2. The three-dimensional contour creation method according to claim 1, characterized in that, the adjusting the positions of the poles in the first reference plane to obtain multiple elliptical curves includes: adjusting the positions of at least one of the four poles in the first reference plane; wherein, the poles are the points on the polar axis; determining an elliptical curve for every two adjacent poles, and obtaining four elliptical curves.
3. The three-dimensional contour creation method according to claim 1, characterized in that, the adjusting the positions of the poles in the second reference plane to obtain multiple elliptical curves includes: adjusting the positions of at least one of the two poles in the second reference plane that do not coincide with the first reference plane; determining an elliptical curve for every two adjacent poles in the second reference plane, and obtaining four elliptical curves.
4. The three-dimensional contour creation method according to any one of claims 1 to 3, characterized in that, the creating a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve includes: performing curve interpolation based on a first curve, a second curve, a third curve, and a fourth curve to obtain a three-dimensional contour of the target tissue; wherein, the endpoints of the first curve, the second curve, the third curve, and the fourth curve are all the intersection points of the first closed curve and the second closed curve, and the first curve and the third curve form the first closed curve, and the second curve and the fourth curve form the second closed curve.
5. The three-dimensional contour creation method according to claim 4, characterized in that, the performing curve interpolation based on a first curve, a second curve, a third curve, and a fourth curve to obtain a three-dimensional contour of the target tissue includes: selecting at least one control point on each of the first curve, the second curve, the third curve, and the fourth curve to obtain a control point set corresponding to each curve; performing interpolation between two adjacent curves among the first curve, the second curve, the third curve, and the fourth curve according to an angular step and using the control point sets of the two adjacent curves to obtain multiple interpolation curves; determining the closed surface formed by the first curve, the second curve, the third curve, the fourth curve, and the multiple interpolation curves as the three-dimensional contour of the target tissue.
6. The three-dimensional contour creation method according to claim 5, wherein, the determining step of any interpolation point in the interpolation curve is: determine the weights of two control points corresponding to the interpolation point; the two control points are respectively the control points on two adjacent curves; determine the length of the interpolation point to the origin based on the weights and the lengths of the two control points to the origin respectively to obtain a target length; determine the coordinates of the interpolation point based on the target length, the angular step, and the coordinates of the two control points.
7. The three-dimensional contour creation method according to any one of claims 1 to 3, wherein, after selecting the first reference plane and the second reference plane from the three-dimensional standard sections of the region of interest, it further includes: draw a line segment coinciding with the major axis of the region of interest in the first reference plane; rotate the first reference plane according to the angle between the line segment and the vertical direction so that the line segment in the first reference plane is in a vertical state; translate the first reference plane to the center of the display area; and / or, draw a line segment coinciding with the major axis of the region of interest in the second reference plane; rotate the second reference plane according to the angle between the line segment and the vertical direction so that the line segment in the second reference plane is in a vertical state; translate the second reference plane to the center of the display area.
8. A three-dimensional contour creation device, wherein, it includes: a reference plane selection module, configured to select a first reference plane and a second reference plane from the three-dimensional standard sections of the region of interest; a first closed curve determination module, configured to adjust the positions of the poles in the first reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a first closed curve including a first target region; the first target region is the entire region occupied by the target tissue in the first reference plane; a second closed curve determination module, configured to adjust the positions of the poles in the second reference plane to obtain multiple elliptical curves, and the multiple elliptical curves form a second closed curve including a second target region; the second target region is the entire region occupied by the target tissue in the second reference plane; a three-dimensional contour determination module, configured to create a three-dimensional contour of the target tissue based on the first closed curve and the second closed curve.
9. An ultrasonic device, wherein, it includes a memory and a processor, wherein: the memory is used to store a computer program; the processor is configured to execute the computer program to implement the three-dimensional contour creation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein, it is used to store a computer program, and when the computer program is executed by a processor, it implements the three-dimensional contour creation method according to any one of claims 1 to 7.
Citation Information
Cited By
Tumor tissue identification method and device and electronic equipment
CN121570141A