Dimension measurement method, electronic device, storage medium and program product

The method simplifies dimension measurement in medical images by using a straight line segment and slope-based thresholding to accurately measure object dimensions, addressing inaccuracies and complexity in existing methods.

CN118799374BActive Publication Date: 2024-12-24YOFO MEDICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411281485.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-12-24
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

Current methods for measuring object dimensions in medical images, such as tooth size, suffer from inaccuracies due to manual annotation errors and high computational complexity in automated segmentation algorithms.

Method used

A method involving acquiring a slice image, determining a straight line segment through the object, obtaining a characteristic curve, and selecting distance measuring points based on slope thresholds to accurately measure object dimensions using cone-beam computer tomography images.

Benefits of technology

This approach provides rapid and accurate dimension measurements by simplifying the computational process and reducing hardware requirements, enhancing measurement efficiency and precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799374B_ABST
    Figure CN118799374B_ABST
Patent Text Reader

Abstract

The present invention provides a size measurement method, electronic device, storage medium and program product. The method first obtains a slice image containing an object to be measured, determines a straight line segment passing through the object to be measured in the slice image, then obtains the characteristic value of each position point on the straight line segment, obtains a characteristic curve formed by the characteristic value of each position point and displays it, the characteristic value can reflect the absorption rate of the position point to X-rays, then determines two distance measurement points on the characteristic curve, and finally determines the distance between the two distance measurement points in the X-axis direction to obtain the size information of the object to be measured. According to the present invention, it is convenient to quickly set and select the distance measurement points, and obtain more accurate object size information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a dimension measurement method, an electronic device, a readable storage medium and a computer program product. Background Art

[0002] In medical testing or other medical scenarios, it is sometimes necessary to measure the distance of objects, such as measuring the size of a tooth or other bone part. Currently, common measurement methods include manual annotation on CT images or other types of images, but visual perception can easily lead to inaccurate boundary judgment, affecting the accuracy of the results; it can also be done by using algorithms to directly segment and identify objects in three-dimensional images, and then calculate the size of the segmented objects, but the algorithms are relatively complex, the measurement efficiency is low, and the system computing power requirements are high. Summary of the invention

[0003] In order to solve at least one of the above technical problems, the present invention provides a dimension measurement method, an electronic device, a readable storage medium and a computer program product.

[0004] A first aspect of the present invention provides a dimension measurement method, comprising: acquiring a slice image containing an object to be measured; determining a straight line segment passing through the object to be measured in the slice image, wherein two end points of the straight line segment are spaced apart from the edge of the object to be measured; acquiring a characteristic value of each position point on the straight line segment, obtaining a characteristic curve formed by the characteristic value of each position point and displaying the characteristic curve, wherein the X-axis of the characteristic curve represents the distance value, and the Y-axis represents the characteristic value, and the characteristic value can reflect the absorption rate of the position point to X-rays; determining two distance measuring points on the characteristic curve, wherein the absolute values ​​of the slopes of the tangents at the two distance measuring points meet a slope threshold, the two slopes corresponding to the two distance measuring points include a positive slope and a negative slope, and the positional relationship of the two distance measuring points in the X-axis direction corresponds to the shape of the object to be measured; and determining the distance between the two distance measuring points in the X-axis direction to obtain the dimension information of the object to be measured.

[0005] According to some embodiments of the present invention, obtaining a slice image containing an object to be measured includes: obtaining a cone-beam computer tomography image containing the object to be measured; slicing the cone-beam computer tomography image along a coordinate axis to obtain a plurality of slice images; and receiving an image viewing instruction, determining and displaying the corresponding slice image according to the image viewing instruction, wherein the determined slice image contains the object to be measured.

[0006] According to some embodiments of the invention, the coordinate axis is a vertical axis, a sagittal axis or a coronal axis.

[0007] According to some embodiments of the present invention, the object to be detected is present on the tooth or is the tooth itself.

[0008] According to some embodiments of the present invention, determining a straight line segment passing through the object to be measured in the slice image includes: receiving a position point selection indication, acquiring the coordinates of two position points from the position point selection indication, and obtaining a straight line segment with the two position points as endpoints and passing through the object to be measured; or generating a dental arch curve of the teeth in the slice image, and determining the straight line segment passing through the object to be measured by using the geometric relationship between the center point of the object to be measured in the slice image and the dental arch curve.

[0009] According to some embodiments of the present invention, a straight line segment passing through the object to be measured is determined by using the geometric relationship between the center point of the object to be measured in the slice image and the dental arch curve, including: determining the center point of the object to be measured in the slice image; determining a tangent point on the dental arch curve, a line between the tangent point and the center point being perpendicular to the tangent line at the tangent point; and determining a straight line segment passing through the center point and parallel to the tangent line, the straight line segment passing through the object to be measured.

[0010] According to some embodiments of the present invention, before determining a line segment passing through the object to be measured through the geometric relationship between the center point of the object to be measured in the slice image and the dental arch curve, the method further includes: receiving an object selection indication, identifying the object to be measured from the slice image through the object selection indication, and obtaining the area range of the object to be measured in the slice image.

[0011] According to some embodiments of the present invention, the object selection indication includes the coordinates of the clicked position point of the slice image, and the method of identifying the object to be tested from the slice image through the object selection indication includes: determining the tooth where the clicked position point in the slice image is located, and using the determined tooth as the tooth to be tested.

[0012] According to some embodiments of the present invention, the characteristic value is a CT value or a pixel value.

[0013] According to some embodiments of the present invention, determining two ranging points on the characteristic curve includes: receiving a coordinate point selection indication, and determining two ranging points from the characteristic curve according to the coordinate point selection indication; or determining a curve segment including the object to be measured from the characteristic curve, and determining two ranging points from the curve segment according to the slope of a tangent at each coordinate point included in the curve segment.

[0014] According to some embodiments of the present invention, two ranging points are determined from the curve segment based on the slope of the tangent at each coordinate point included in the curve segment, including: determining a coordinate point at which the absolute value of the slope of the tangent at the ranging point in the curve segment satisfies a slope threshold, and obtaining at least one characteristic line segment; obtaining a first ranging point with the largest slope and a second ranging point with the smallest slope in the at least one characteristic line segment; if the positional relationship between the first ranging point and the second ranging point in the X-axis direction does not meet the requirements related to the shape of the object to be measured, using one of the first ranging point and the second ranging point as the coordinate point to be adjusted, and repeatedly performing the adjustment step on the coordinate point to be adjusted until the positional relationship meets the requirements.

[0015] According to some embodiments of the present invention, the adjustment step includes: determining a ranging point corresponding to a slope having the same slope sign and a slope value adjacent to the slope of the coordinate point to be adjusted in numerical order, taking the determined ranging point as a new coordinate point to be adjusted, and judging whether the positional relationship between the new coordinate point to be adjusted and the second ranging point in the X-axis direction meets the requirements related to the shape of the object to be measured.

[0016] According to some embodiments of the present invention, if all ranging points with positive slopes in the at least one characteristic line segment cannot meet the requirement, the other of the first ranging point and the second ranging point is used as the coordinate point to be adjusted, and the adjustment step is repeated on the coordinate point to be adjusted until the positional relationship meets the requirement.

[0017] According to some embodiments of the present invention, the requirements related to the shape of the object to be measured include: if the object to be measured is convex, the X-axis coordinate value from the first ranging point is smaller than the X-axis coordinate value of the second ranging point; if the object to be measured is concave, the X-axis coordinate value from the first ranging point is larger than the X-axis coordinate value of the second ranging point.

[0018] A second aspect of the present invention provides an electronic device, comprising: a memory, the memory storing execution instructions; and a processor, the processor executing the execution instructions stored in the memory, so that the processor executes the method described in any one of the above embodiments.

[0019] A third aspect of the present invention provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the method described in any of the above embodiments.

[0020] A fourth aspect of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it is used to implement the method described in any of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings illustrate exemplary embodiments of the present invention and together with the description serve to explain the principles of the present invention. These drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification.

[0022] Figure 1 A schematic diagram showing application scenarios of the dimension measurement methods of some embodiments of the present invention is shown.

[0023] Figure 2 A schematic diagram of the overall process of measuring the size of teeth using the size measurement method M100 in some embodiments of the present invention is shown.

[0024] Figure 3 It is a slice image displayed on the display screen of an electronic device.

[0025] Figure 4 It is the CT value curve image displayed on the display screen of an electronic device.

[0026] Figure 5 A schematic diagram of the overall process of measuring the size of teeth using the size measurement method M200 in some embodiments of the present invention is shown.

[0027] Figure 6 A schematic diagram showing the overall process of the dimension measurement method M300 according to some embodiments of the present invention is shown.

[0028] Figure 7 FIG. 1 is a block diagram showing a structure of an electronic device 1000 equipped with a dimension measuring device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and implementations. It is to be understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present invention. It is also necessary to explain that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings.

[0030] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0031] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as exemplary features that provide various details of some ways in which the technical concept of the present invention can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present invention.

[0032] The terms used herein are for the purpose of describing specific embodiments, rather than being restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values ​​and / or provided values ​​that will be recognized by those of ordinary skill in the art.

[0033] When measuring the size of the human body's bone structure or the grooves and holes in the bone structure, if the manual measurement method is used, the cross-sectional image is manually annotated by manipulating the mouse on the system, but since the accuracy of human eye observation is not very high, the annotated points may have errors with the actual boundary points, resulting in inaccurate distances between the two annotated points. If the system automatically annotates the dimensions, the structure to be measured is identified and segmented from the three-dimensional CBCT image (the CBCT image in the present invention is a cone beam computed tomography image, and CBCT in the present invention is the abbreviation of Cone Beam Computed Tomography) through an image segmentation algorithm, and then the spatial structure, position direction and other parameters are calculated and the position points are identified, and finally the distance between the position points is calculated. Since the three-dimensional image is processed, more algorithms will be used in the process, the calculation process is relatively complex, the calculation takes a long time, and the hardware equipment and computing power of the system are required to be high.

[0034] To this end, the present invention proposes a size measurement method.

[0035] Figure 1 The schematic diagram of the application scenario of the size measurement method of some embodiments of the present invention is shown. In this application scenario, an electronic device 10 and a CBCT scanning device 20 may be included. The CBCT scanning device 20 is used to perform CBCT scanning, and the electronic device 10 is used to process the CBCT image to measure the size of the teeth in the image. The electronic device 10 and the CBCT scanning device 20 may communicate with each other in a wired or wireless manner. Figure 1 The electronic device 10 may be a tablet computer, a laptop computer, a desktop computer, or the like. Figure 1The shapes and structures of the electronic device 10 and the CBCT scanning device 20 shown in the figures should not be understood as limiting the protection scope of the present invention.

[0036] Figure 2 A schematic diagram of the overall process of measuring the size of teeth using the size measurement method M100 in some embodiments of the present invention is shown. Figure 2 The detailed description is for a clearer understanding of the technical solution of the present invention and should not be considered as a limitation of the protection scope of the present invention. In the process of implementing the technical idea of ​​the present invention, one or some steps may be omitted, or other alternatives may be adopted.

[0037] S101, controlling the CBCT scanning device 20 to perform CBCT scanning and reconstruction on a human head to obtain a CBCT image of the patient's head.

[0038] S102 , slicing the CBCT image to obtain a slice image containing the tooth to be tested, and displaying the slice image on a display screen of the electronic device 10 . Figure 3 It is a slice image displayed on the display screen of an electronic device, such as Figure 3 As shown, the slice image is obtained by slicing the oral CBCT image along the vertical axis.

[0039] S103, the operator selects the endpoints of the line segment by clicking on the slice image with the mouse, and the electronic device 10 determines two position points in the slice image according to the two clicked positions, and obtains the straight line segment formed by the two position points. Figure 3 Click point p1 and point p2 to get the p1p2 line segment.

[0040] S104, obtaining the CT value of each position point on the straight line segment to form a CT value curve, and displaying the CT value curve on the display screen of the electronic device 10. The X-axis of the CT value curve is the distance between the position points, and the Y-axis is the CT value. Figure 4 It is the CT value curve image displayed on the display screen of electronic equipment. Figure 4 The boundary line of the gray area is the CT value curve, and the two ends of the curve correspond to point p1 and point p2 respectively.

[0041] S105, the operator selects a distance measurement point on the CT value curve by controlling the mouse, and selects the coordinate point with the largest absolute value of the tangent slope as the distance measurement point. Figure 4 Click on point A and point B in the image to determine point A and point B as two distance measurement points. Figure 3 and Figure 4 , when Figure 4 When operating, Figure 3 The positions of point A and point B are also shown. Figure 3The white line between the midpoint A and the point B is the distance measurement line of the tooth to be measured T. The slope at point A is positive, and the slope at point B is negative. The slope between point A and point B corresponds to the change in the CT value of the tooth to be measured T. The coordinate with the larger absolute value of the slope is used as the boundary of the tooth to be measured, which is conducive to the rapid and accurate determination of the distance measurement point of the tooth to be measured and the measurement of the distance.

[0042] S106, obtaining the distance L between the distance measuring points A and B on both sides of the tooth to be measured, and obtaining the size of the tooth to be measured in the measuring direction. The operator can change the position of the distance measuring point on the CT value curve by operating the electronic device 10, so as to adjust the distance measuring point to a satisfactory position. For example, the operator can move both distance measuring points to the left, so as to measure Figure 3 The size of the tooth adjacent to tooth T in .

[0043] Figure 5 A schematic diagram of the overall process of measuring the size of teeth using the size measurement method M200 in some embodiments of the present invention is shown. Figure 5 The detailed description is for a clearer understanding of the technical solution of the present invention and should not be considered as a limitation of the protection scope of the present invention. In the process of implementing the technical idea of ​​the present invention, one or some steps may be omitted, or other alternatives may be adopted.

[0044] S201, controlling the CBCT scanning device 20 to perform CBCT scanning and reconstruction on a human head to obtain a CBCT image of the patient's head.

[0045] S202 , slicing the CBCT image to obtain a slice image containing the tooth to be tested, and displaying the slice image on a display screen of the electronic device 10 . Figure 3 It is a slice image displayed on the display screen of an electronic device, such as Figure 3 As shown, the slice image is obtained by slicing the oral CBCT image along the vertical axis.

[0046] S203, the operator uses the mouse to select in the slice image to identify the teeth to be tested. For example, the slice image is pre-threshold segmented to obtain the area range of each tooth, and then the operator selects the teeth to be tested by clicking Figure 3 The tooth T in the image is used to obtain the area range of tooth T.

[0047] S204, generate a dental arch curve of the teeth in the slice image, and determine a straight line segment passing through the object to be measured through the dental arch curve. The dental arch curve can describe the arrangement of teeth in the oral cavity, and the dental arch curve may not pass through the center of the teeth in the slice image. Obtain the center point of the area range of the tooth to be measured, establish a connection line between the center point and multiple points in the dental arch curve, and determine a connection line perpendicular to the tangent line of the point on the dental arch curve from the multiple connection lines, and the tangent line perpendicular to the connection line is called the target tangent line. Generate a straight line segment that passes through the center point of the tooth area to be measured and is parallel to the target tangent line. There is an intersection between the straight line segment and the tooth area to be measured, and there is a preset distance between the endpoint of the straight line segment and the intersection of the corresponding side, and the preset distance is set to be less than the size distance of a tooth.

[0048] S205, obtaining the CT value of each position point on the straight line segment to form a CT value curve.

[0049] S206, identifying a curve portion of the tooth to be tested in the CT value curve through the tooth region to be tested, and including a small portion of the curve outside the curve portion to obtain a curve segment including the tooth to be tested.

[0050] S207, determining coordinates of which the absolute value of the slope is greater than the slope threshold from the curve segment, and these points form one or more characteristic line segments.

[0051] S208, the tooth to be measured is a convex object, so the first coordinate with the largest slope and the second coordinate with the smallest slope are determined, and a total of two coordinates are obtained. If the X-axis coordinate of the first coordinate is smaller than the X-axis coordinate of the second coordinate, the first coordinate and the second coordinate are used as distance measurement points.

[0052] S209, determining the distance between the two distance measuring points to obtain the size of the tooth to be measured in the measuring direction.

[0053] Figure 6 The overall flow diagram of the dimension measurement method M300 in some embodiments of the present invention is shown. Figure 6 The method shown includes step S310, step S320, step S330, step S340 and step S350. The method can be executed by electronic devices such as mobile phones, tablet computers, and desktop computers.

[0054] S310, obtaining a slice image containing an object to be tested. The object to be tested may be a tooth, a dental cavity or other bone structure.

[0055] Step S310 may specifically include the following steps: acquiring a CBCT image containing the object to be measured; slicing the CBCT image along the coordinate axis to obtain a plurality of slice images; and receiving an image viewing instruction, determining and displaying a corresponding slice image according to the image viewing instruction. The determined slice image contains the object to be measured. The coordinate axis may be a vertical axis, a sagittal axis, or a coronal axis.

[0056] For example, a CBCT image of a human head is sliced ​​along the vertical axis to obtain multiple cross-sectional images. Figure 3 The figure shows one of the cross-sectional images. Some cross-sectional images may not contain the teeth to be measured, so a suitable cross-sectional image can be selected manually to measure the size of the teeth to be measured. The specific selection method can be to form an atlas of cross-sectional images, and to browse the atlas by operating the electronic device 10 to select a suitable cross-sectional image; or to tile all cross-sectional images in the display interface, and to select a suitable cross-sectional image by operating the electronic device 10. The target slice image (cross-sectional image) finally determined in step S310 can be only one.

[0057] S320, determining a straight line segment passing through the object to be measured in the slice image, wherein two end points of the straight line segment are spaced apart from the edge of the object to be measured, that is, the two end points are spaced apart from the edge of the object to be measured.

[0058] Step S320 may specifically include step S321 or step S322.

[0059] S321, receiving a position point selection instruction, obtaining the coordinates of two position points from the position point selection instruction, and obtaining a straight line segment with the two position points as endpoints and passing through the object to be measured. Figure 3 , by clicking on the target slice image to select two position points, the clicked positions are point p1 and point p2, and a straight line segment p1p2 passing through the tooth to be tested T is obtained. Step S321 is suitable for manually determining the straight line segment.

[0060] S322, generate a dental arch curve of the tooth in the slice image, and determine a straight line segment passing through the object to be measured by the geometric relationship between the center point of the object to be measured in the slice image and the dental arch curve. Using the dental arch curve and the position of the tooth to be measured relative to the dental arch curve, automatically determine a straight line segment with a more reasonable measurement direction. Step S322 is suitable for automatically determining a straight line segment.

[0061] Specifically, before determining the line segment passing through the object to be measured through the geometric relationship between the center point of the object to be measured and the dental arch curve in the slice image, an object selection indication can be received first, and the object to be measured can be identified from the slice image through the object selection indication to obtain the area range of the object to be measured in the slice image.

[0062] First, threshold segmentation is performed on the target slice image to obtain multiple tooth regions contained in the target slice image. The object selection indication may include the coordinates of the clicked position point of the slice image. The method of identifying the object to be tested from the slice image through the object selection indication may include the following steps: determining the tooth where the clicked position point in the slice image is located, and using the determined tooth as the tooth to be tested. By clicking the tooth to be tested, the electronic device 10 determines which tooth is the tooth to be tested.

[0063] The method of determining a straight line segment passing through the object to be measured by using the geometric relationship between the center point of the object to be measured in the slice image and the dental arch curve may include the following steps: determining the center point of the object to be measured in the slice image; determining a tangent point on the dental arch curve, wherein the line between the tangent point and the center point is perpendicular to the tangent line at the tangent point; and determining a straight line segment passing through the center point and parallel to the tangent line, wherein the straight line segment passes through the object to be measured.

[0064] After determining the tooth region to be measured, the center point of the tooth region to be measured is obtained. The center point can be the center point of the minimum enveloping circle of the tooth region to be measured, or the tooth region to be measured can be simplified into a polygon and the center of mass of the polygon is calculated as the center point.

[0065] Each position point on the dental arch curve near the tooth area to be tested is taken as a tangent point, and it is determined whether the line between the tangent point and the center point of the tooth area to be tested is perpendicular to the tangent line at the tangent point, so as to determine the tangent line perpendicular to the line. A straight line segment parallel to the determined tangent line is generated through the center point of the tooth area to be tested. The determined straight line segment can be as follows: Figure 3 The straight line segment is set by the dental arch curve so that the straight line segment is close to the tooth arrangement direction, making the measurement direction more reasonable, and the final measured size can represent the size of the tooth in the reasonable measurement direction.

[0066] S330, obtain the characteristic value of each position point on the straight line segment, obtain the characteristic curve formed by the characteristic value of each position point and display it. The X-axis of the characteristic curve represents the distance value, and the Y-axis represents the characteristic value. The characteristic value can reflect the absorption rate of the position point to X-rays. The characteristic value can be a CT value or a pixel value. The characteristic curve of the straight line segment p1p2 is as follows: Figure 4 shown.

[0067] S340, determining two ranging points on the characteristic curve, wherein the absolute values ​​of the slopes of the tangents at the two ranging points satisfy the slope threshold, the two slopes corresponding to the two ranging points include a positive slope and a negative slope, and the positional relationship of the two ranging points in the X-axis direction corresponds to the shape of the object to be measured.

[0068] Figure 4 In the figure, point A and point B are two distance measurement points. Figure 4 It can be seen that the curves at point A and point B are steeper, and the absolute value of the slope is larger, which meets the slope threshold. The slope at point A is a positive slope, and the slope at point B is a negative slope.

[0069] When the object to be measured is a tooth, the tooth is convex, so the positional relationship between the two distance measurement points in the X-axis direction is: the X-axis coordinate value of point A is smaller than the X-axis coordinate value of point B. This makes the area between point A and point B a convex area, so that the distance between point A and point B can represent the size of the tooth.

[0070] When the object to be measured is a dental cavity, the dental cavity is concave, so the positional relationship between the two distance measurement points in the X-axis direction is: the X-axis coordinate value of point A is greater than the X-axis coordinate value of point B. This makes the area between point A and point B a concave area, so that the distance between point A and point B can represent the size of the dental cavity.

[0071] Step S340 may specifically include step S341 or step S342.

[0072] S341, receiving a coordinate point selection instruction, and determining two distance measurement points from the characteristic curve according to the coordinate point selection instruction. Step S341 is suitable for manually determining the distance measurement points. The position of the distance measurement points is adjusted by sliding the distance measurement points on the characteristic curve, so as to select the distance measurement points with larger absolute slope values, thereby realizing the size measurement of the object to be measured.

[0073] S342, determining a curve segment including the object to be measured from the characteristic curve, and determining two distance measurement points from the curve segment according to the slope of the tangent line at each coordinate point included in the curve segment.

[0074] In step S342, the method of determining the curve segment containing the object to be measured from the characteristic curve may be: taking the curve within a preset distance range from the center point of the object to be measured as the curve segment containing the object to be measured. Figure 4 , the characteristic curve within the range K is the curve segment that includes the tooth to be tested. The range of the curve segment can be set by the center point of the tooth to be tested, for example, the characteristic curve whose center point is within a preset distance range on the straight line segment is used as the curve segment. The preset distance range is set to be larger than the maximum size of the largest tooth to avoid the curve segment not being able to completely include the curve of the tooth to be tested, but it will not include other complete teeth except the tooth to be tested, and may only include a small part of the teeth on one side or both sides of the tooth to be tested.

[0075] In step S342, the method of determining two ranging points from the curve segment according to the slope of the tangent at each coordinate point included in the curve segment may include the following steps: determining a coordinate point at which the absolute value of the slope of the tangent at the ranging point in the curve segment satisfies a slope threshold, and obtaining at least one characteristic line segment; obtaining a first ranging point with the largest slope and a second ranging point with the smallest slope in the at least one characteristic line segment; if the positional relationship between the first ranging point and the second ranging point in the X-axis direction does not meet the requirements related to the shape of the object to be measured, using one of the first ranging point and the second ranging point as the coordinate point to be adjusted, and repeatedly performing the adjustment steps on the coordinate point to be adjusted until the positional relationship meets the requirements.

[0076] The slope threshold is used to filter out coordinate points with low slopes, avoid non-bone structures from interfering with the selection of distance measurement points, and reduce the amount of calculation when selecting distance measurement points. The slope threshold can be set according to the object to be measured.

[0077] After filtering out the coordinate points that do not meet the slope threshold, Figure 4 The peak of the mid-wave peak may be screened out from the characteristic curve due to its low slope, and the original complete characteristic curve may only have a plurality of V-shaped characteristic line segments. The first distance measurement point and the second distance measurement point are determined in these characteristic line segments.

[0078] Requirements related to the shape of the object to be measured include: if the object to be measured is convex, the X-axis coordinate value from the first distance measuring point is smaller than the X-axis coordinate value of the second distance measuring point; if the object to be measured is concave, the X-axis coordinate value from the first distance measuring point is larger than the X-axis coordinate value of the second distance measuring point.

[0079] If the X-axis coordinate value of the first measuring point of the tooth to be measured is smaller than the X-axis coordinate value of the second measuring point, it means that the first measuring point and the second measuring point meet the requirements, and the distance between the first measuring point and the second measuring point in the X-axis direction can be directly obtained to obtain the size of the tooth to be measured in the measuring direction (straight line segment direction).

[0080] If the X-axis coordinate value of the first distance measuring point of the tooth to be measured is not less than the X-axis coordinate value of the second distance measuring point, it means that in the curve containing the tooth to be measured, in the curve part representing other teeth, the maximum slope of some position points is too large or the minimum slope is too small, resulting in interference with the tooth to be measured. For example, the surface of the tooth on the front side of the tooth to be measured is very steep, so the minimum slope is located on the tooth on the front side of the tooth to be measured, making the X-axis coordinate value of the second distance measuring point smaller than the X-axis coordinate value of the first distance measuring point. Or the surface of the tooth on the back side of the tooth to be measured is very steep, so the maximum slope is located on the tooth on the back side of the tooth to be measured, making the X-axis coordinate value of the first distance measuring point greater than the X-axis coordinate value of the second distance measuring point.

[0081] At this time, the distance measuring point needs to be adjusted. The adjustment step includes: determining a distance measuring point corresponding to the slope of the coordinate point to be adjusted, which has the same slope sign and a slope value adjacent to the slope value of the coordinate point to be adjusted in numerical order, using the determined distance measuring point as a new coordinate point to be adjusted, and determining whether the positional relationship between the new coordinate point to be adjusted and the second distance measuring point in the X-axis direction meets the requirements related to the shape of the object to be measured.

[0082] Specifically, the first distance measurement point can be used as the coordinate point to be adjusted, and all the coordinate points with positive slopes are sorted from large to small to obtain a positive slope coordinate sequence, and then the coordinate points in the positive slope coordinate sequence are used as the coordinate points to be adjusted in turn, and it is determined whether the new coordinate point to be adjusted and the second distance measurement point meet the above requirements. If one of the coordinate points meets the above requirements, the new coordinate point to be adjusted is used as the first distance measurement point.

[0083] If all the distance measuring points with positive slopes in at least one of the above-mentioned characteristic line segments cannot meet the requirements, then the other of the first distance measuring point and the second distance measuring point is used as the coordinate point to be adjusted, and the adjustment steps are repeated for the coordinate point to be adjusted until the positional relationship meets the requirements. In other words, if all the coordinate points in the positive slope coordinate sequence cannot make the new coordinate point to be adjusted and the second distance measuring point meet the above requirements, it means that the first distance measuring point does not need to be adjusted, and the second distance measuring point needs to be adjusted. Therefore, the second distance measuring point is used as the coordinate point to be adjusted, and all the coordinate points with negative slopes are sorted from small to large to obtain a negative slope coordinate sequence, and then the coordinate points in the negative slope coordinate sequence are used as the coordinate points to be adjusted in turn, and it is determined whether the new coordinate point to be adjusted and the first distance measuring point meet the above requirements. If a certain coordinate point meets the above requirements, the new coordinate point to be adjusted is used as the second distance measuring point.

[0084] S350, determine the distance between the two distance measuring points in the X-axis direction to obtain the size information of the object to be measured. After obtaining the first distance measuring point and the second distance measuring point that meet the above requirements, the size information of the tooth to be measured is obtained by distance measurement.

[0085] According to the dimension measurement method proposed in the embodiment of the present invention, by displaying the CT value and the distance in the form of a histogram, the operator can directly operate the histogram to set the distance measuring point, and the system can automatically calculate the distance between the distance measuring points according to the position of the distance measuring point, which is conducive to the convenient and quick setting and selection of the distance measuring point; the position with a larger slope is set as the distance measuring point, so that the obtained distance is more accurate; the histogram is displayed synchronously with the CT slice image and the point-line linkage is performed, which can provide a more intuitive distance measurement.

[0086] Based on any of the above embodiments, the present invention further provides a dimension measurement device (corresponding to the dimension measurement method). The dimension measurement device includes: a slice image acquisition module 1002 , a line segment determination module 1004 , a characteristic curve generation module 1006 , a distance measurement point determination module 1008 and a distance determination module 1010 .

[0087] The slice image acquisition module 1002 is used to acquire a slice image containing the object to be detected.

[0088] The line segment determination module 1004 is used to determine a straight line segment passing through the object to be measured in the slice image, wherein two end points of the straight line segment are spaced from the edge of the object to be measured.

[0089] The characteristic curve generation module 1006 is used to obtain the characteristic value of each position point on the straight line segment, obtain the characteristic curve formed by the characteristic value of each position point and display it. The X-axis of the characteristic curve represents the distance value, and the Y-axis represents the characteristic value. The characteristic value can reflect the absorption rate of the position point to X-rays. The characteristic value can be a CT value or a pixel value.

[0090] The distance measuring point determination module 1008 is used to determine two distance measuring points on the characteristic curve. The absolute values ​​of the slopes of the tangents at the two distance measuring points satisfy the slope threshold, the two slopes corresponding to the two distance measuring points include a positive slope and a negative slope, and the positional relationship of the two distance measuring points in the X-axis direction corresponds to the shape of the object to be measured.

[0091] The distance determination module 1010 is used to determine the distance between two distance measurement points in the X-axis direction to obtain the size information of the object to be measured.

[0092] The above modules can be implemented by computer program modules. The implementation process of the functions and effects of each module in the above device is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0093] The execution subject of the dimension measurement method in the specific implementation of the present invention can be an electronic device such as a mobile phone, a tablet computer, a desktop computer, etc. Therefore, based on any of the above implementations, the present invention also provides an electronic device, which can execute the dimension measurement method of any implementation of the present invention described above, and the dimension measurement device of any implementation described above can be configured on the electronic device.

[0094] Figure 7 FIG. 1 is a block diagram showing a structure of an electronic device 1000 equipped with a dimension measuring device according to an embodiment of the present invention.

[0095] The electronic device 1000 includes the slice image acquisition module 1002 , the line segment determination module 1004 , the characteristic curve generation module 1006 , the distance measurement point determination module 1008 and the distance determination module 1010 .

[0096] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300 and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0097] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.

[0098] The processor 1200 may be a central processing unit (CPU). The processor 1200 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0099] The memory 1300 can be used as a non-transitory computer-readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions of the computer program in the embodiment of the present invention. The processor 1200 implements the above method by running the non-transitory software programs, instructions and modules stored in the memory 1300.

[0100] The memory 1300 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created by the processor 1200, such as structural data, model data, sample data, stiffness evaluation results, etc. of the bridge. In addition, the memory 1300 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1300 may optionally include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the processor 1200 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0101] The present invention also provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the above method. "Readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use in an instruction execution system, device or equipment or in combination with these instruction execution systems, devices or equipment. More specific examples of readable storage media include the following: an electrical connection portion (electronic device) with one or more wirings, a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM), etc.

[0102] The present invention also provides a computer program product. The method of the present invention can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed, the process or function of the present invention is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.

[0103] The computer program or instructions may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The readable storage medium may be any available medium that can be accessed or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid state drive. The computer readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0104] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0108] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, or characteristics described may be combined in a suitable manner in any one or more embodiments / methods or examples. In addition, those skilled in the art may combine and combine different embodiments / methods or examples described in this specification and features of different embodiments / methods or examples, unless they are contradictory.

[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0110] It should be understood by those skilled in the art that the above embodiments are only for the purpose of clearly illustrating the present invention, and are not intended to limit the scope of the present invention. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present invention.

Claims

1. A size measurement method, characterized in that: include: Acquire a slice image containing the object to be measured; Determine in the slice image a straight line segment passing through the object to be measured, wherein two end points of the straight line segment are spaced apart from the edge of the object to be measured; Acquire the characteristic value of each position point on the straight line segment, obtain a characteristic curve formed by the characteristic value of each position point and display the characteristic curve, wherein the X-axis of the characteristic curve represents the distance value and the Y-axis represents the characteristic value, and the characteristic value can reflect the absorption rate of the position point to X-rays; Determine two ranging points on the characteristic curve, the absolute values ​​of the slopes of the tangents at the two ranging points satisfy a slope threshold, the two slopes corresponding to the two ranging points include a positive slope and a negative slope, and the positional relationship of the two ranging points in the X-axis direction corresponds to the shape of the object to be measured, wherein the slope threshold is used to screen out coordinate points with low slopes, avoid non-bone structures interfering with the selection of ranging points and reduce the amount of calculation when selecting ranging points; and Determine the distance between the two distance measuring points in the X-axis direction to obtain the size information of the object to be measured, Wherein two distance measurement points are determined on the characteristic curve, including: receiving a coordinate point selection instruction, and determining two distance measurement points from the characteristic curve according to the coordinate point selection instruction, or Determine a curve segment containing the object to be measured from the characteristic curve, and determine two distance measurement points from the curve segment according to the slope of the tangent line at each coordinate point contained in the curve segment; Wherein determining a straight line segment passing through the object to be measured in the slice image comprises: receiving a position point selection instruction, obtaining coordinates of two position points from the position point selection instruction, and obtaining a straight line segment having the two position points as endpoints and passing through the object to be measured, or A dental arch curve of the tooth in the slice image is generated, and a straight line segment passing through the object to be measured is determined by a geometric relationship between a center point of the object to be measured in the slice image and the dental arch curve.

2. The dimension measuring method according to claim 1, characterized in that: Acquire slice images containing the object to be measured, including: Acquiring a cone-beam computed tomography image containing the object to be measured; Slicing the cone-beam computed tomography image along a coordinate axis to obtain a plurality of slice images; and An image viewing instruction is received, and the corresponding slice image is determined and displayed according to the image viewing instruction, wherein the determined slice image contains the object to be measured.

3. The dimension measuring method according to claim 2, characterized in that: The coordinate axis is a vertical axis, a sagittal axis or a coronal axis.

4. The dimension measuring method according to claim 1, characterized in that: The object to be detected is present on the tooth or is the tooth itself.

5. The dimension measuring method according to claim 4, characterized in that: Determining a straight line segment passing through the object to be measured by using a geometric relationship between a center point of the object to be measured in the slice image and the dental arch curve includes: Determine the center point of the object to be measured in the slice image; Determine a tangent point on the dental arch curve, wherein a line between the tangent point and the center point is perpendicular to a tangent line at the tangent point; and A straight line segment passing through the center point and parallel to the tangent line is determined, wherein the straight line segment passes through the object to be measured.

6. The dimension measuring method according to claim 5, characterized in that: Before determining a line segment passing through the object to be measured by using a geometric relationship between a center point of the object to be measured and the dental arch curve in the slice image, the method further includes: An object selection instruction is received, and the object to be detected is identified from the slice image according to the object selection instruction to obtain a region range of the object to be detected in the slice image.

7. The dimension measuring method according to claim 6, characterized in that: The object selection indication includes the coordinates of the clicked position point of the slice image, and the method of identifying the object to be detected from the slice image by using the object selection indication includes: The tooth where the clicked position point in the slice image is located is determined, and the determined tooth is used as the tooth to be tested.

8. The dimension measuring method according to claim 1, characterized in that: The characteristic value is a CT value or a pixel value.

9. The dimension measuring method according to claim 1, characterized in that: Determining two distance measurement points from the curve segment according to the slope of the tangent line at each coordinate point included in the curve segment includes: Determine a coordinate point at which the absolute value of the slope of the tangent line at the distance measuring point in the curve segment satisfies a slope threshold, and obtain at least one characteristic line segment; Acquire a first distance measuring point with the largest slope and a second distance measuring point with the smallest slope in the at least one characteristic line segment; If the positional relationship between the first ranging point and the second ranging point in the X-axis direction does not meet the requirements related to the shape of the object to be measured, one of the first ranging point and the second ranging point is used as the coordinate point to be adjusted, and the adjustment step is repeated on the coordinate point to be adjusted until the positional relationship meets the requirements.

10. The dimension measuring method according to claim 9, characterized in that: The adjustment step includes: determining a distance measuring point corresponding to the slope of the coordinate point to be adjusted, which has the same slope sign and a slope value adjacent to the slope value of the coordinate point to be adjusted in numerical order, taking the determined distance measuring point as a new coordinate point to be adjusted, and judging whether the positional relationship between the new coordinate point to be adjusted and the second distance measuring point in the X-axis direction meets the requirements related to the shape of the object to be measured.

11. The dimension measuring method according to claim 10, characterized in that: If all the ranging points with positive slopes in the at least one characteristic line segment cannot meet the requirement, the other of the first ranging point and the second ranging point is used as the coordinate point to be adjusted, and the adjustment step is repeatedly performed on the coordinate point to be adjusted until the positional relationship meets the requirement.

12. The dimension measuring method according to claim 9, characterized in that: The requirements related to the shape of the object to be measured include: if the object to be measured is convex, the X-axis coordinate value from the first distance measuring point is smaller than the X-axis coordinate value of the second distance measuring point; if the object to be measured is concave, the X-axis coordinate value from the first distance measuring point is larger than the X-axis coordinate value of the second distance measuring point.

13. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1 to 12.

14. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the method according to any one of claims 1 to 12.

15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program is used to implement the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method for automatically extracting dental arch curved surface in dental implantation navigation

    CN102254317A

  • Body layer image generation method, device and system, electronic equipment and storage medium

    CN117462163A