Buckling angle determination method and device, equipment and storage medium
By determining the rotation angle and the position of the non-rotation target in the stationary state of the target object, combining the reference point and the reference line, the bending angle of the target part of the human body is accurately determined, which solves the problem of large errors in the prior art and achieves higher accuracy .
Patent Information
- Application Number
- CN202310583184.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
Smart Images

Figure CN119014858A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of flexion degree measurement, and in particular to a method, device, terminal and storage medium for determining a flexion angle. Background Art
[0002] In the process of correcting the posture of a target part of the human body, it is necessary to accurately determine the posture of the target part (mainly to determine the flexion angle of the target part). Existing methods for determining the posture of the target part mainly include: 1. Using an ordinary camera to pre-acquire an image of the target part, and performing image analysis based on the image to obtain the posture of the target part; 2. Using a depth of field camera to obtain a depth of field image of the target part, and then determine the posture of the target part.
[0003] The above method 1 mainly analyzes the front, back and sides of the target part. When the body posture of the target part rotates in the horizontal plane, the analysis of the front, back and sides of the target part will have visual errors, resulting in inaccurate or even wrong judgment results. The above method 2 uses the shooting method of the depth of field camera combined with image technology to calculate the posture of the target part (mainly to calculate the flexion angle of the target part), and the calculation accuracy is relatively low. If the comparative analysis of the before and after data is used for corrective training of the body posture of the target part, it will usually produce large errors. Summary of the invention
[0004] The present invention provides a method, device, terminal and storage medium for determining a flexion angle, which can more accurately determine the flexion angle of a target part.
[0005] In a first aspect, an embodiment of the present invention provides a method for determining a flexion angle, the method comprising:
[0006] When the target object is stationary, determining a rotation angle of the first target part on the first plane;
[0007] Determining a non-rotated target position corresponding to a target point on a second target part based on the rotation angle;
[0008] Based on the non-rotational target position, the reference point and the reference straight line, or based on the non-rotational target position and two reference points, the flexion angle of the second target part on the second plane is determined; wherein the target object includes a first target part and the second target part. The reference point and the reference straight line may be different according to different second target parts, that is, the two may be predetermined according to actual conditions.
[0009] In a second aspect, an embodiment of the present invention further provides a device for determining a flexion angle, the device comprising:
[0010] A rotation angle determination module, used to determine the rotation angle of the first target part on the first plane when the target object is stationary;
[0011] a non-rotation target position determination module, used to determine the non-rotation target position corresponding to the target point on the second target part based on the rotation angle;
[0012] A flexion angle determination module is used to determine the flexion angle of the second target part on a second plane, wherein the target object includes the first target part and the second target part.
[0013] In a third aspect, an embodiment of the present invention further provides a computer device, the computer device comprising:
[0014] one or more processors;
[0015] A storage device for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the flexion angle as described in any embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for determining the flexion angle as described in any embodiment of the present invention is implemented.
[0018] The embodiment of the present invention determines the rotation angle of a first target part on a first plane when the target object is stationary; determines a non-rotational target position corresponding to a target point on a second target part based on the rotation angle; and determines a flexion angle of the second target part on a second plane based on the non-rotational target position, a reference point and a reference straight line or based on the non-rotational target position and two reference points, wherein the target object includes the first target part and the second target part. This overcomes the disadvantages of large errors and inaccurate results caused by using ordinary cameras and depth-of-field cameras to analyze the posture of the target parts, and can more accurately determine the flexion angle of the target part. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1is a flow chart of a method for determining a flexion angle in Embodiment 1 of the present invention;
[0021] Figure 2a is a flow chart of a method for determining a flexion angle in Embodiment 2 of the present invention;
[0022] Figure 2b It is a schematic diagram of various anatomical planes of a human body and a preset coordinate system in Embodiment 2 of the present invention;
[0023] Figure 2c A schematic diagram of an angle formed between a rotation reference point straight line and a rotation reference straight line in a second embodiment of the present invention;
[0024] Figure 2d is a schematic diagram of correcting a target point to a non-rotated target position by using a rotating geometric figure in Embodiment 2 of the present invention;
[0025] Figure 2e It is a schematic diagram of determining the flexion angle by using a reference point straight line and a reference straight line in Embodiment 2 of the present invention;
[0026] Figure 3a is a schematic diagram of determining a reference circle by two reference points and a target point in Embodiment 3 of the present invention;
[0027] Figure 3b It is a schematic diagram of determining the central angle corresponding to the curvature of the thoracic vertebra using a circumscribed straight line of a reference point in Embodiment 3 of the present invention;
[0028] Figure 4 is a structural schematic diagram of a device for determining a flexion angle in a fourth embodiment of the present invention;
[0029] Figure 5 It is a structural diagram of a computer device in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0031] Embodiment 1
[0032] Figure 1 This is a flow chart of a method for determining a flexion angle provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where the flexion angle of a target part needs to be determined. The method can be executed by a flexion angle determination device, which can be implemented in software and / or hardware. Figure 1 As shown, the method of this embodiment specifically includes:
[0033] S110 : When the target object is stationary, determine a rotation angle of a first target part of the target object on a first plane.
[0034] For example, the target object may be a human body; the static state of the target object may be a human body in a standing static state, a human body in a lying static state, a human body in a sitting static state, etc. The specific static state may be selected according to actual needs, and is not particularly limited in this embodiment.
[0035] The first target part may preferably be a part of the human body with bilateral symmetry. The bilateral symmetry may mean that the target part itself has bilateral symmetry, or may mean that the target part and other parts form a bilateral symmetry relationship. For example, the first target part may be the head, shoulder joint, trunk, pelvis, femur and other parts.
[0036] The first plane may preferably refer to the horizontal plane of the human body in anatomy, that is, the horizontal plane corresponding to the human body when the human body is in a standing still state; or the plane perpendicular to the supporting surface of the human body when the human body is in a lying still state.
[0037] The rotation angle of the first target part on the first plane can preferably be the angle between the line between two left-right symmetrical points on the first target part (which can be marking points set on the human body surface) and the coronal plane of the anatomical human body. Under normal circumstances, the rotation angle of the first target part on the first plane will be within a limited rotation angle range. If the rotation angle exceeds the limited rotation angle range, it can be determined that there is a problem with the posture of the first target part on the first plane. At this time, it is preferred to correct the posture so that the rotation angle of the first target part on the first plane is within a limited range.
[0038] S120: Based on the rotation angle, determine a non-rotated target position corresponding to a target point on a second target part of the target object.
[0039] Since the various parts of the target object are interconnected, if there is a change in posture of one part, it may cause the points on other parts to change in position; if the posture of the part where the point is located is determined based on the point whose position has changed, problems are likely to occur. That is, if there is a problem with the posture of the first target part on the first plane, it may cause the target position of the target point on the second target part to change. If the target point is used to determine the posture of the second target part, it is likely to cause errors in the calculation of the posture of the second target part. Based on the above situation, the position of the point on the first target part can be corrected by the rotation angle of the first target part on the first plane, and the target point can be pulled back to the normal position by correcting the position of the point on the first target part, that is, there is no rotation target. It should be noted here that the first target part and the second target part can be the same target part or different target parts.
[0040] S130, based on the non-rotational target position, the reference point and the reference straight line, determining the flexion angle of the second target part on the second plane, wherein the reference point and the reference straight line may be different according to different second target parts, that is, the two may be predetermined according to actual conditions. In this embodiment, the reference point and the target point are both located on the second target part.
[0041] Preferably, the position of the reference straight line corresponds to the 0° flexion angle of the second target part. The second target part can be a part of the human body with bilateral symmetry. For example, it can be a knee joint, or it can be a part of the human body with non-bilateral symmetry (such as the spine). The second plane can be the coronal plane or the sagittal plane in anatomy.
[0042] For example, when the flexion angle of the knee joint needs to be determined using the greater trochanter of the femur, the midpoint of the lateral knee, and the lateral malleolus, it is first necessary to determine whether the femur has rotation (internal rotation or external rotation) on the horizontal plane (because the rotation of the femur is likely to cause the position of the midpoint of the lateral knee to change). If it is determined that the femur has rotation on the horizontal plane, it is necessary to correct the point on the femur to drive the midpoint of the lateral knee to return to the non-rotation target position, and then determine the flexion angle of the knee joint based on the non-rotation target position of the midpoint of the lateral knee, the greater trochanter of the femur, and the lateral malleolus.
[0043] It should be noted here that, under the premise that a marking point is set on the target part, the target point on the target part can be directly determined according to the position of the marking point when the target object is in a stationary state; or a two-dimensional image or a three-dimensional image of the target part can be obtained in advance when the target object is in a stationary state, and then the target point on the target part can be determined according to the position of the marking point in the two-dimensional image or the three-dimensional image.
[0044] The method for determining the flexion angle provided in this embodiment solves the technical problem of large errors and inaccurate results when analyzing the body posture of the target part using ordinary cameras and depth-of-field cameras; and effectively improves the accuracy of determining the flexion angle of the target part.
[0045] Embodiment 2
[0046] Figure 2a This is a flow chart of a method for determining a flexion angle provided in Embodiment 2 of the present invention. This embodiment is based on the above embodiments.
[0047] The method of determining the rotation angle of the first target part on the first plane includes: determining two rotation reference points and a rotation reference straight line corresponding to the first target part, the two rotation reference points are both located on the first target part, the rotation reference straight line is parallel to the first plane, and the rotation angle corresponding to the rotation reference straight line is 0°; determining the angle between the rotation reference point straight line formed by the two rotation reference points and the rotation reference straight line, and using the angle as the rotation angle.
[0048] Determine the non-rotation target position corresponding to the target point on the second target part based on the rotation angle; including: determine whether the rotation angle is within the preset rotation angle range; if the rotation angle is within the preset rotation angle range, determine the current position of the target point on the second target part as the non-rotation target position. If the rotation angle exceeds the preset rotation angle range, determine the rotation geometric figure formed by the two rotation reference points and the target point; determine the rotation center point based on the two rotation reference points, and rotate the rotation geometric figure with the rotation center point as the rotation center; stop rotating when the rotation reference point straight line is parallel to the rotation reference straight line, obtain the rotated non-rotation geometric figure, and determine the non-rotation target position of the target point based on the non-rotation geometric figure.
[0049] Determining the flexion angle of the second target part on the second plane based on the non-rotation target position, the reference point and the reference straight line includes: determining an angle between a reference point straight line formed by the non-rotation target point and the reference point corresponding to the non-rotation target point position and the reference straight line, and using the angle as the flexion angle.
[0050] Further, after determining the flexion angle of the second target part on the second plane based on the non-rotational target position, the reference point and the reference straight line, the method further includes:
[0051] comparing the flexion angle with a preset flexion angle range;
[0052] If the flexion angle exceeds the preset flexion angle range, determining that the flexion state of the target part is excessive flexion or under-flexion;
[0053] If the flexion angle is within the preset flexion angle range, it is determined that the flexion state of the target part is normal.
[0054] The method of this embodiment is as follows Figure 2a As shown, specifically including:
[0055] S210, determining two rotation reference points and a rotation reference line corresponding to the first target part, wherein the two rotation reference points are both located on the first target part, the rotation reference line is parallel to the first plane, and the rotation angle corresponding to the rotation reference line is 0°.
[0056] Taking the target object as a human body as an example, the two rotation reference points may preferably be two left-right symmetrical points on the first target part of the human body, and illustratively, they may be left-right symmetrical marking points pre-set on the surface of the first target part. The rotation reference straight line may preferably be any straight line parallel to the coronal plane and the horizontal plane, and illustratively, the two points determining the rotation reference straight line may also be left-right symmetrical marking points pre-set on the surface of the human body.
[0057] S220, determining the angle between the rotation reference point straight line formed by the two rotation reference points and the rotation reference straight line, and using the angle as the rotation angle. In this embodiment, the rotation angle of the rotation reference point straight line is the rotation angle of the first target part.
[0058] Figure 2b Schematic diagram of various anatomical planes of the human body and a preset coordinate system when the human body is used as the target object in the second embodiment of the present invention. Figure 2b As shown, the midpoint of the line connecting the left heel-cuboidal joint 1 and the right heel-cuboidal joint 2 of the human body is taken as the reference origin 3 of the three-dimensional coordinate system. The line connecting the left heel-cuboidal joint 1 and the right heel-cuboidal joint 2 of the human body is taken as the X-axis, and the right side of the body is taken as the positive direction of the X-axis; the axis on the horizontal plane 4 that is perpendicular to the X-axis and the coronal plane 5 and passes through the origin 3 is taken as the Y-axis, and the front side of the body is taken as the positive direction of the Y-axis; the axis on the coronal plane 5 that is perpendicular to the X-axis and the horizontal plane 4 and passes through the origin 3 is taken as the Z-axis, and the top of the body is taken as the positive direction of the Z-axis, and the plane that is perpendicular to the horizontal plane 4 and the coronal plane 5 is taken as the sagittal plane 6.
[0059] Below Figure 2b Taking the coordinate system established in as an example, the rotation angle of each first target part is specifically described:
[0060] (1) The first target site is the femur, and two rotation reference points, the lateral point W of the popliteal crease and the medial point M of the popliteal crease, and two points for determining the rotation reference line, the left calcaneus joint 1 and the right calcaneus joint 2, are respectively marked points set on the body surface.
[0061] Figure 2c A schematic diagram of an angle formed between a rotation reference point straight line and a rotation reference straight line provided in the second embodiment of the present invention, such as Figure 2c As shown, the first straight line is formed by connecting the lateral point W of the popliteal crease and the medial point M of the popliteal crease, namely the rotation reference point straight line 7 (the straight line equation is y=k2X+c), and the second straight line is formed by connecting the left heel-cuboidal joint 1 and the right heel-cuboidal joint 2, namely the rotation reference straight line 8 (the straight line equation is y=k1X+b). The angle between the rotation reference point straight line 7 and the rotation reference straight line 8 is calculated. The angle calculation formula is tanθ=|(k2-k1) / (1+k1k2)|. The angle θ is the rotation angle of the femur.
[0062] When the angle θ = 0, it can be determined that the femur has not rotated on the horizontal plane. When the angle θ is not 0, it can be determined that the femur has rotated on the horizontal plane. The rotation of the femur may be internal rotation or external rotation. The determination of internal and external rotation can be made using the Y value W of the point W on the outside of the popliteal crease. Y The Y value M of the medial point M of the popliteal crease Y When Δ>0, it can be determined that the femur is in internal rotation; when Δ<0, it can be determined that the femur is in external rotation.
[0063] (2) The first target part is the shoulder joint. Taking the left shoulder as an example, the two rotation reference points, the seventh cervical vertebra C7 and the left acromion H, and the two points for determining the rotation reference line, the left heel-cuboidal joint 1 and the right heel-cuboidal joint 2, are respectively marked points set on the body surface.
[0064] Connect the seventh cervical vertebra C7 and the left acromion H to form the first straight line, i.e., the rotation reference straight line (linear equation y=k2X+a), connect the left heel cuboid joint 1 and the right heel cuboid joint 2 to form the second straight line, i.e., the rotation reference straight line (linear equation y=k1X+b), calculate the angle between the rotation reference point straight line and the rotation reference straight line, the angle calculation formula is tanθ
[0065] =|(k2-k1) / (1+k1k2)|, the angle θ is the rotation angle of the left shoulder joint.
[0066] If the Y value of C7 is C 7Y Y value H less than H Y , then the angle θ remains unchanged; if the Y value of C7 is C 7Y Y value H greater than H Y, then the angle θ becomes a negative value. The normal range of shoulder flexion angle can usually be set to [0°-20°]. When θ is the shoulder flexion angle, if θ is greater than the maximum value of the normal range of shoulder flexion angle, the state of the shoulder joint can be determined to be shoulder anterior extension (i.e., pronation). If θ is less than the minimum value of the normal range of shoulder flexion angle, the state of the shoulder joint can be determined to be shoulder retraction (i.e., supination); if θ is within the normal range of shoulder joint angle, the state of the shoulder joint is determined to be normal. The judgment method for the right shoulder joint is consistent with the above method and will not be repeated here.
[0067] (3) The first target part is the head, and two rotation reference points, the left tragus Q and the right tragus R, and two points determining the rotation reference line, the left heel-cubic joint 1 and the right heel-cubic joint 2, are respectively marked points set on the body surface.
[0068] Connect the left tragus Q and the right tragus R to form the first straight line, i.e., the rotation reference point straight line (the straight line equation is y=k2X+e), connect the left heel cuboid joint 1 and the right heel cuboid joint 2 to form the second straight line, i.e., the rotation reference straight line (the straight line equation is y=k1X+b), and calculate the angle between the rotation reference point straight line and the rotation reference straight line. The angle calculation formula is tanθ
[0069] =|(k2-k1) / (1+k1k2)|, the angle θ is the rotation angle of the head.
[0070] When the angle θ=0, it can be determined that the head has not rotated on the horizontal plane, and when the angle θ is not 0, it can be determined that the head has rotated on the horizontal plane.
[0071] The rotation of the head may be left-handed or right-handed. If the Y value of Q is Q Y Y value R less than R Y , we can determine that the head is in a left-handed state; if the Y value of Q is Q Y Y value R greater than R Y , it can be determined that the state of the head is right-handed.
[0072] (4) The first target part is the trunk, and the two rotation reference points, the left acromion H and the right acromion I, and the two points that determine the rotation reference line, the left heel-cuboidal joint 1 and the right heel-cuboidal joint 2, are respectively marked points set on the body surface.
[0073] Connect the left acromion H and the right acromion I to form the first straight line, i.e., the rotation reference point straight line (the straight line equation is y=k2X+f), connect the left heel cuboid joint 1 and the right heel cuboid joint 2 to form the second straight line, i.e., the rotation reference straight line (the straight line equation is y=k1X+b), calculate the angle between the rotation reference point straight line and the rotation reference straight line, the angle calculation formula is tanθ
[0074] =|(k2-k1) / (1+k1k2)|, the angle θ is the rotation angle of the torso.
[0075] When the angle θ = 0, it can be determined that the trunk has not rotated on the horizontal plane. When the angle θ is not 0, it can be determined that the trunk has rotated on the horizontal plane. The rotation of the trunk may be left-handed or right-handed. If the Y value of H is H Y Y value I less than I Y , we can determine that the trunk is in a left-handed state; if the Y value of H is H Y Y value greater than I Y , we can determine that the state of the trunk is right rotation.
[0076] (5) The first target position is the pelvis, and two rotation reference points, the left anterior superior iliac spine J and the right anterior superior iliac spine K, and two points for determining the rotation reference line, the left calcaneus joint 1 and the right calcaneus joint 2, are respectively marked points set on the body surface.
[0077] Connect the left anterior superior iliac spine J and the right anterior superior iliac spine K to form the first straight line, i.e., the rotation reference point straight line (the straight line equation is y=k2X+i), connect the left heel cuboid joint 1 and the right heel cuboid joint 2 to form the second straight line, i.e., the rotation reference straight line (the straight line equation is y=k1X+b), calculate the angle between the rotation reference point straight line and the rotation reference straight line, the angle calculation formula is tanθ=|(k2-k1) / (1+k1k2)|, and the angle θ is the rotation angle of the pelvis.
[0078] When the angle θ = 0, it can be determined that the pelvis has not rotated on the horizontal plane. When the angle θ is not 0, it can be determined that the pelvis has rotated on the horizontal plane. The rotation of the pelvis may be left-handed or right-handed. If the Y value of J is J Y Y value K less than K Y , we can determine that the state of the pelvis is left rotation; if the Y value of J is J Y Y value K greater than K Y , it can be determined that the state of the pelvis is right rotation.
[0079] (6) The first target part is the pelvis, and two rotation reference points, the left posterior superior iliac spine O and the right posterior superior iliac spine P, and two points for determining the rotation reference line, the left calcaneus joint 1 and the right calcaneus joint 2, are respectively marked points set on the body surface.
[0080] Connect the left posterior superior iliac spine O and the right posterior superior iliac spine P to form the first straight line, i.e., the rotation reference point straight line (the straight line equation is y=k2X+k), connect the left heel cuboid joint 1 and the right heel cuboid joint 2 to form the second straight line, i.e., the rotation reference straight line (the straight line equation is y=k1X+b), calculate the angle between the rotation reference point straight line and the rotation reference straight line, the angle calculation formula is tanθ=|(k2-k1) / (1+k1k2)|, and the angle θ is the rotation angle of the pelvis.
[0081] When the angle θ = 0, it can be determined that the pelvis has not rotated on the horizontal plane. When the angle θ is not 0, it can be determined that the pelvis has rotated on the horizontal plane. The rotation of the pelvis may be left-handed or right-handed. If the Y value of O is O Y Y value P less than P Y , we can determine that the state of the pelvis is left rotation; if the Y value of O is O Y Y value P greater than P Y , it can be determined that the state of the pelvis is right rotation.
[0082] S230, determine whether the rotation angle is within the preset rotation angle range, if yes, execute step S240, otherwise execute S250. As described in the above example, the rotation angle is compared with the preset rotation angle range to determine whether the rotation angle is within the preset rotation angle range.
[0083] S240, determining that the current position of the target point on the second target part is a non-rotation target position. If the rotation angle is within the preset rotation angle range, it can be explained that the first target part is in a normal posture state, which will not affect the target point on the second target part. Therefore, it is preferred to determine that the current position of the target point on the second target part is the non-rotation target position.
[0084] S250, determine a rotating geometric figure consisting of two rotating reference points and a target point; determine a rotation center point based on the two rotating reference points, and rotate the rotating geometric figure with the rotation center point as the rotation center; stop rotating when the rotating reference point straight line is parallel to the rotating reference straight line to obtain a non-rotated geometric figure after rotation, and determine the non-rotated target position of the target point based on the non-rotated geometric figure.
[0085] Preferably, the rotation center point is one of the two rotation reference points or the midpoint of a line connecting the two rotation reference points.
[0086] In this embodiment, the positional relationship between the first target part, the second target part, the rotation reference point and the target point may include the following three situations: 1) the first target part is different from the second target part, and the target point is different from the two rotation reference points, 2) the first target part is the same as the second target part, and the target point is different from the two rotation reference points, and 3) the first target part is the same as the second target part, and the target point is one of the two rotation reference points. Among them, for situations 1) and 2), since the target point is different from the rotation reference point, the rotational geometric figure formed by the two rotation reference points and the target point is a rotational triangle, and for situation 3), since the target point is one of the two rotation reference points, the rotational geometric figure formed by the two rotation reference points and the target point is a rotational straight line segment. For situation 1), taking the above-mentioned first target part as the femur part and the second target part as the knee joint part as an example, the above steps are specifically described:
[0087] Figure 2d A schematic diagram of using a rotating geometric figure to correct a target point to a non-rotated target position is provided in the second embodiment of the present invention, such as Figure 2d As shown, the target point is the midpoint B of the lateral knee, which is preferably a marking point set at a corresponding position on the body surface. The rotating triangle formed by the lateral point W of the popliteal crease, the medial point M of the popliteal crease and the midpoint B of the lateral knee is determined, and the medial point M of the popliteal crease is used as the rotation center point. The rotating triangle is rotated on the horizontal plane according to the femoral rotation angle θ to correct the midpoint B of the lateral knee to the non-rotation position B1 in the non-rotation state of the femur, and correct the lateral point W of the popliteal crease to the non-rotation position W1 in the non-rotation state of the femur. There are many similar examples. For example, the first target part is the trunk, and the second target part is the spine. The process of determining the target point on the spine is similar to the above process, which will not be repeated in this embodiment.
[0088] For situation 3), taking the case where both the first target part and the second target part are the head, and the target point is the left tragus Q of the two rotation reference points, the left tragus Q and the right tragus R, as an example, the above steps are specifically described: determine the rotation straight line segment formed by the left tragus Q (target point Q) and the right tragus R, and use the midpoint of the rotation straight line segment formed by the left tragus Q (target point Q) and the right tragus R as the rotation center point, rotate the above rotation straight line segment on the horizontal plane according to the head rotation angle θ, so as to correct the target point Q to the non-rotation position Q1 when the head is in a non-rotation state.
[0089] S260, determining the angle between the reference point straight line formed by the non-rotational target point and the reference point corresponding to the non-rotational target point position and the reference straight line, and using the angle as the flexion angle.
[0090] S270, comparing the flexion angle with a preset flexion angle range; if the flexion angle exceeds the preset flexion angle range, determining that the flexion state of the target part is over-flexion or under-flexion; if the flexion angle is within the preset flexion angle range, determining that the flexion state of the target part is normal.
[0091] Still taking the above-mentioned first target part as the femur part and the second target part as the knee joint part as an example, the above-mentioned steps are specifically described:
[0092] Figure 2e A schematic diagram of determining a flexion angle using a reference point straight line and a reference straight line is provided in the second embodiment of the present invention, as shown in FIG. Figure 2e As shown, the greater trochanter A of the femur and the midpoint B1 of the lateral side of the knee are connected to form a first straight line, namely, the reference point straight line 9 (the linear equation is y=k3X+m), and the midpoint B1 of the lateral side of the knee and the corresponding lateral malleolus E are connected to form a second straight line, namely, the reference point straight line 10 (the linear equation is y=k4X+n). The angle between the reference point straight line 9 and the reference straight line 10 is calculated. The angle calculation formula is tanθ1=|(k3-k4) / (1+k3k4)|. The angle θ1 is an acute angle, so the complementary angle θ2 of the angle θ1 is the flexion angle of the corresponding knee joint.
[0093] The normal range of knee flexion angle can usually be set to [175°-180°]. When θ2 is the knee flexion angle, if θ2 is greater than the maximum angle of the normal range of the knee flexion angle, it can be determined that the state of the knee joint is knee hyperextension; if θ2 is less than the minimum angle of the normal range of the knee flexion angle, it can be determined that the state of the knee joint is knee flexion; if θ2 is within the normal range of the knee flexion angle, it can be determined that the flexion state of the knee joint is normal.
[0094] Taking the case where the first target part is the trunk and the second target part is the spine as an example, the above steps are specifically described:
[0095] First, we can use the following body surface markers: the seventh cervical vertebra C7, the first thoracic vertebra T1, the second thoracic vertebra T2, the third thoracic vertebra T3, the fourth thoracic vertebra T4, the fifth thoracic vertebra T5, the sixth thoracic vertebra T6, the seventh thoracic vertebra T7, the eighth thoracic vertebra T8, the ninth thoracic vertebra T9, the tenth thoracic vertebra T 10 , 11th thoracic vertebra T 11 , 12th thoracic vertebra T 12, the first lumbar vertebra L1, the second lumbar vertebra L2, the third lumbar vertebra L3, the fourth lumbar vertebra L4 and the fifth lumbar vertebra L5, and determine the target point on the spine. The specific determination method is as follows: first determine the flexion (scoliosis) form of the spine: compare the X-value size and change trend of all the marked points between the first thoracic vertebra T1 and the fifth lumbar vertebra L5 on the coronal plane. Since the positive direction of the X-axis is the right side of the body, if the change trend of all X-values is small-large-small, it can be determined that the state of the spine is C-type right flexion; if the change trend of all X-values is large-small-large, it can be determined that the state of the spine is C-type left flexion; if the change trend of X-values is large-small-large-small, it can be determined that the state of the spine is S-type upper left lower right flexion; if the change trend of X-values is small-large-small-large, it can be determined that the state of the spine is S-type upper right lower left flexion. Then determine the target point on the spine: if the spine is in C-type flexion, the point with the maximum or minimum X value is used as the target point; if the spine is in S-type flexion, the two points with the maximum and minimum X values are used as the target points.
[0096] If the state of the spine is determined to be C-type flexion, the target point corresponding to the non-rotational target position and C7 (reference point) can be connected to form a reference point straight line, and the angle θ between the reference point straight line and the reference straight line (Z axis) passing through C7 and parallel to the sagittal plane and the coronal plane is determined. The angle is the flexion (deviation) angle of the spine. Exemplarily, the angle can be the angle on the coronal plane.
[0097] When the angle θ is not 0, it can be determined that the spine has flexion (deviated) on the coronal plane. If the target point is the point with the largest X value, it can be determined that the state of the spine is C-type right flexion; if the target point is the point with the smallest X value, it can be determined that the state of the spine is C-type left flexion. If θ=0, it is determined that the lateral flexion state of the spine is normal.
[0098] If the state of the spine is determined to be S-shaped flexion, the target point with a larger Z value among the two target points corresponding to the non-rotation target position can be connected to C7 (reference point) to form a first reference point straight line, and the angle θ1 between the first reference point straight line and the first reference straight line (Z axis) passing through C7 and parallel to the sagittal plane and the coronal plane is determined (illustratively, the angle can be the angle on the coronal plane). Then, the target point with a smaller Z value among the two target points corresponding to the non-rotation target position is connected to L5 (reference point) to form a second reference point straight line, and the angle θ2 between the second reference point straight line and the second reference straight line passing through L5 and parallel to the coronal plane and the sagittal plane is determined.
[0099] When both θ1 and θ2 are not 0, if the point with a larger Z value has the largest X value, it can be determined that the state of the spine is S-shaped, right-downward and left-flexed; if the point with a larger Z value has the smallest X value, it can be determined that the state of the spine is S-shaped, left-downward and right-flexed.
[0100] Finally, taking the example that the first target part and the second target part are both the head, the target point is the left tragus Q of the two rotation reference points, the left tragus Q and the right tragus R, the reference point is the seventh cervical vertebra C7, and the reference straight line is the y-axis, the above steps are specifically described:
[0101] Connect the non-rotational target point Q1 and the reference point C7 to form a reference point straight line (the straight line equation is y=k2X+p), calculate the angle between the reference point straight line and the reference straight line y axis (the straight line equation is y=k1X+o, k1=0) (exemplarily, the angle can be the angle on the sagittal plane), the angle calculation formula is tanθ2=|(k2-k1) / (1+k2k1)|, and tanθ2=|k2| is obtained. The angle θ2 is the flexion angle of the head.
[0102] The normal range of head flexion angle can usually be set to [46°-56°]. When θ2 is the head flexion angle, if θ2 is greater than the maximum angle of the normal range of head flexion angle, it can be determined that the state of the head is head retraction; if θ2 is less than the minimum value of the normal range of head flexion angle, it can be determined that the state of the head is head advancement; if θ2 is within the normal range, it can be determined that the flexion state of the head is normal.
[0103] The present embodiment provides a method for determining a flexion angle, by determining two rotation reference points and a rotation reference line corresponding to a first target part, wherein the two rotation reference points are both located on the first target part, the rotation reference line is parallel to the first plane, and the rotation angle corresponding to the rotation reference line is 0°; determining the angle between the rotation reference point line formed by the two rotation reference points and the rotation reference line, and using the angle as the rotation angle; determining whether the rotation angle is within a preset rotation angle range; if the rotation angle is within the preset rotation angle range, determining that the current position of the target point on the second target part is a non-rotation target position; if the rotation angle exceeds the preset rotation angle range, determining a rotational geometric figure formed by the two rotation reference points and the target point; determining a rotation center point based on the two rotation reference points, and using the rotation center point as the rotation center Rotate a rotated geometric figure; stop rotating when the rotation reference point straight line is parallel to the rotation reference straight line to obtain a rotated non-rotational geometric figure, determine the non-rotational target position of the target point based on the non-rotational geometric figure; determine the angle between the reference point straight line formed by the non-rotational target point and the reference point corresponding to the non-rotational target point position and the reference straight line, and use the angle as the flexion angle; compare the flexion angle with a preset flexion angle range; if the flexion angle exceeds the preset flexion angle range, determine that the flexion state of the target part is over-flexed or under-flexed; if the flexion angle is within the preset flexion angle range, determine that the flexion state of the target part is normal, which overcomes the large errors and inaccurate results caused by using ordinary cameras and depth of field cameras to analyze the posture of the target part, and can more accurately determine the flexion angle of the target part.
[0104] Embodiment 3
[0105] This embodiment provides a method for determining the flexion angle of the second target part that is different from that in Embodiment 2. The method for determining the non-rotation target point of the second target part is the same as that in Embodiment 2, and will not be described in detail here.
[0106] This embodiment uses a non-rotating target point and two reference points. The two reference points can preferably also be marking points pre-set at the corresponding surface positions of the target object. Theoretically, the reference point can preferably be a point where the flexed position deviates the least from the normal position when the target part is in a flexed state. It can be a point on the target part, or a point adjacent to the target part and less than a preset distance away. The reference point can preferably be different according to the target part, that is, the reference point can be selected and set according to actual needs, and this embodiment does not make special limitations. Exemplarily, the target part is the thoracic vertebra on the spine, and the reference points can be the first thoracic vertebra and the twelfth thoracic vertebra, or the seventh cervical vertebra and the twelfth thoracic vertebra, etc. Determine the geometric relationship between the target point and the reference point. Based on the determined geometric relationship, the flexion angle of the target part can be determined, including:
[0107] Based on the positional relationship between the two reference points and the target point, determining a reference circle including the two reference points and the target point;
[0108] Draw a circumscribed straight line through the two reference points to obtain a first reference point circumscribed straight line and a second reference point circumscribed straight line;
[0109] The circumscribed angle between the first reference point circumscribed straight line and the second reference point circumscribed straight line is determined, and the supplementary angle of the circumscribed angle is used as the flexion angle.
[0110] The following is a preferred embodiment provided by Embodiment 2 of the present invention. This preferred embodiment takes the target objects as lumbar vertebrae and thoracic vertebrae as examples to specifically illustrate the above steps:
[0111] (1) The target object is the thoracic spine, and the markers set on the body surface are the seventh cervical vertebra C7, the first thoracic vertebra T1, the second thoracic vertebra T2, the third thoracic vertebra T3, the fourth thoracic vertebra T4, the fifth thoracic vertebra T5, the sixth thoracic vertebra T6, the seventh thoracic vertebra T7, the eighth thoracic vertebra T8, the ninth thoracic vertebra T9, and the tenth thoracic vertebra T 10 , 11th thoracic vertebra T 11 and the twelfth thoracic vertebra T 12 .
[0112] exist Figure 2b The first thoracic vertebra T1 to the eleventh thoracic vertebra T1 are determined on the sagittal plane 6. 12 The Y value (i.e., the value on the Y axis) of the corresponding marker point is taken as the target point T. X . Figure 3a A schematic diagram of determining a reference circle by two reference points and a target point provided by an embodiment of the present invention, Figure 3b A schematic diagram of determining the central angle of the thoracic vertebral curvature corresponding to the reference point circumscribed straight line provided by an embodiment of the present invention, such as Figure 3a and 3b As shown, according to the target point T X , the first reference point is the seventh cervical vertebra C7 and the second reference point is the twelfth thoracic vertebra T 12 The three points can determine the reference circle 11, and based on the two points on the reference circle 11, the seventh cervical vertebra C7 and the twelfth thoracic vertebra T 12 Draw circumscribed lines respectively to obtain the first reference point circumscribed line 12 and the second reference point circumscribed line 13 (the equations corresponding to the two circumscribed lines can be y=k1X+a and y=k2X+b respectively), and determine the angle θ between the first reference point circumscribed line 12 and the second reference point circumscribed line 13. The calculation formula of the angle θ is tanθ=|(k2-k1) / (1+k1k2)|. The complementary angle of the angle θ is the central angle θ1 corresponding to the thoracic vertebra curvature. The state of the thoracic vertebra curvature can be determined based on the central angle θ1.
[0113] The normal range of thoracic flexion angle can usually be set to [30°-45°]. When θ1 is the thoracic flexion angle, if θ1 is greater than the maximum angle within the normal range of thoracic flexion angle, the thoracic curvature state can be determined to be excessive thoracic flexion, which is manifested as a hunchback; if θ1 is less than the minimum angle within the normal range of thoracic flexion angle, the thoracic curvature state can be determined to be too little thoracic flexion, which is manifested as a flat back. If θ1 is within the range of thoracic flexion angle, the thoracic curvature state can be determined to be normal.
[0114] (2) The target object is the lumbar spine, and the marker point set on the body surface is the twelfth thoracic vertebra T 12 , the first lumbar vertebra L1, the second lumbar vertebra L2, the third lumbar vertebra L3, the fourth lumbar vertebra L4 and the fifth lumbar vertebra L5.
[0115] Respectively Figure 2b The twelfth thoracic vertebra T is determined on the sagittal plane 6. 12 , the Y values of the marking points corresponding to the first lumbar vertebra L1, the second lumbar vertebra L2, the third lumbar vertebra L3, the fourth lumbar vertebra L4 and the fifth lumbar vertebra L5, and the marking point with the largest Y value (i.e. the largest degree of lordosis) is taken as the target point L X , according to the target point L X , reference point first lumbar vertebra L1 (or reference point twelfth thoracic vertebra T 12 ) and the reference point fifth lumbar vertebra L5 (or the reference point fourth lumbar vertebra L4) can determine the reference circle, and based on the two points on the circle the first lumbar vertebra L1 (or the twelfth thoracic vertebra T 12 ) and the fifth lumbar vertebra L5 (or the fourth lumbar vertebra L4 as the reference point) are respectively circumscribed straight lines to obtain the first reference point circumscribed straight line and the second reference point circumscribed straight line (the equations corresponding to the two circumscribed straight lines can be y=k1X+c and y=k2X+d respectively), and the angle θ between the first reference point circumscribed straight line and the second reference point circumscribed straight line is determined. The calculation formula of the angle θ is tanθ=|(k2-k1) / (1+k1k2)|, and the supplementary angle of the angle θ is the central angle θ1 corresponding to the lumbar curvature. The lumbar flexion angle can be determined based on the central angle θ1.
[0116] The normal range of lumbar flexion angle can usually be set to [35°-60°]. When θ1 is the lumbar flexion angle, if θ1 is determined to be greater than the maximum angle within the normal range of the lumbar flexion angle, it can be determined that the lumbar curvature state is excessive lumbar flexion, which is manifested as lumbar lordosis; if θ1 is determined to be less than the minimum angle within the normal range of the lumbar flexion angle, it can be determined that the lumbar curvature state is too small lumbar flexion, which is manifested as lumbar straightening. If θ1 is determined to be within the normal range of the lumbar flexion angle, it can be determined that the lumbar curvature state is normal.
[0117] Embodiment 4
[0118] Figure 4FIG. 1 is a schematic diagram of the structure of a device for determining a flexion angle in Embodiment 3 of the present invention. Figure 4 As shown, the device of this embodiment includes:
[0119] A rotation angle determination module 410, for determining a rotation angle of a first target part on a first plane when the target object is stationary;
[0120] A non-rotation target position determination module 420, configured to determine a non-rotation target position corresponding to a target point on a second target part based on a rotation angle;
[0121] The flexion angle determination module 430 is used to determine the flexion angle of the second target part on the second plane based on the non-rotational target position, the reference point and the reference straight line, wherein the target object includes the first target part and the second target part.
[0122] The present embodiment provides a device for determining a flexion angle. The device determines the rotation angle of a first target part on a first plane by utilizing a rotation angle determination module when the target object is stationary; determines the non-rotation target position corresponding to a target point on a second target part based on the rotation angle by utilizing a non-rotation target position determination module; and determines the flexion angle of the second target part on a second plane based on the non-rotation target position, a reference point and a reference straight line by utilizing the flexion angle determination module. The target object includes the first target part and the second target part. The device overcomes the drawbacks of large errors and inaccurate results caused by using ordinary cameras and depth-of-field cameras to analyze the posture of the target part, and can more accurately determine the flexion angle of the target part.
[0123] Based on the above technical solutions, optionally, the rotation angle determination module 410 may specifically include:
[0124] A rotation reference point and straight line determination unit is used to determine two rotation reference points and a rotation reference straight line corresponding to the first target part, where both rotation reference points are located on the first target part, the rotation reference straight line is parallel to the first plane, and the rotation angle corresponding to the rotation reference straight line is 0°; a rotation angle determination unit is used to determine the angle between the rotation reference point straight line formed by the two rotation reference points and the rotation reference straight line, and use the angle as the rotation angle.
[0125] On the basis of the above-mentioned technical solutions, optionally, the non-rotation target position determination module 420 may specifically include: a rotation angle comparison unit, used to determine whether the rotation angle is within a preset rotation angle range; a first non-rotation target position determination unit, used to determine that the current position of the target point on the second target part is a non-rotation target position if the rotation angle is within the preset rotation angle range.
[0126] On the basis of the above technical solutions, optionally, the non-rotation target position determination module 420 may specifically include:
[0127] a second non-rotation target position determination unit, configured to determine a rotational geometric figure formed by two rotational reference points and a target point if the rotational angle exceeds a preset rotational angle range;
[0128] A rotation center point is determined based on two rotation reference points, and a rotational geometric figure is rotated with the rotation center point as the rotation center; the rotation is stopped when the rotation reference point straight line is parallel to the rotation reference straight line to obtain a rotated non-rotational geometric figure, and a non-rotational target position of a target point is determined based on the non-rotational geometric figure.
[0129] Based on the above technical solutions, optionally, the rotation center point is one of the two rotation reference points or the midpoint of the line connecting the two rotation reference points.
[0130] Based on the above technical solutions, optionally, the flexion angle determination module 430 can be specifically used for:
[0131] The angle between the reference point straight line formed by the non-rotational target point and the reference point corresponding to the non-rotational target point position and the reference straight line is determined, and the angle is used as the flexion angle.
[0132] On the basis of the above-mentioned technical solutions, optionally, the flexion angle determination device may further include a flexion angle comparison module, which is used to compare the flexion angle with a preset flexion angle range after determining the flexion angle of the second target part on the second plane based on the non-rotational target position, the reference point and the reference straight line; if the flexion angle exceeds the preset flexion angle range, it is determined that the flexion state of the target part is over-flexed or under-flexed; if the flexion angle is within the preset flexion angle range, it is determined that the flexion state of the target part is normal.
[0133] The device for determining the flexion angle provided in the embodiment of the present invention can execute the method for determining the flexion angle provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0134] Embodiment 5
[0135] Figure 5 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Figure 5 A block diagram of an exemplary computer device 512 suitable for use in implementing embodiments of the present invention is shown. Figure 5 The computer device 512 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0136] like Figure 5As shown, the computer device 512 is in the form of a general-purpose computing device. The components of the computer device 512 may include, but are not limited to: one or more processors 516, a memory 528, and a bus 518 connecting different system components (including the memory 528 and the processor 516).
[0137] Bus 518 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0138] The computer device 512 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 512, including volatile and non-volatile media, removable and non-removable media.
[0139] The memory 528 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532. The computer device 512 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage device 534 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to bus 518 via one or more data medium interfaces. Memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.
[0140] A program / utility 540 having a set (at least one) of program modules 542 may be stored, for example, in the memory 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 542 generally perform the functions and / or methods of the embodiments described herein.
[0141] The computer device 512 may also communicate with one or more external devices 514 (e.g., a keyboard, a pointing device, a display 524, etc., wherein the display 524 may be configured based on actual needs), may also communicate with one or more devices that enable a user to interact with the computer device 512, and / or communicate with any device that enables the computer device 512 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 522. Furthermore, the computer device 512 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 520. As shown, the network adapter 520 communicates with other modules of the computer device 512 through a bus 518. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with computer device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage devices.
[0142] The processor 516 executes various functional applications and data processing by running the programs stored in the memory 528, such as implementing the method for determining the flexion angle provided in the embodiment of the present invention.
[0143] Embodiment 6
[0144] Embodiment 5 of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for determining the flexion angle provided in the embodiment of the present invention is implemented, including:
[0145] When the target object is stationary, determining a rotation angle of the first target part on the first plane;
[0146] Determining a non-rotated target position corresponding to a target point on a second target part based on the rotation angle;
[0147] Based on the non-rotational target position, the reference point and the reference line, or based on the non-rotational target position and two reference points, a flexion angle of a second target part on a second plane is determined, wherein the target object includes the first target part and the second target part.
[0148] Of course, the computer-readable storage medium provided in the embodiment of the present invention and the computer program stored thereon are not limited to executing the method operations described above, but can also execute the relevant operations in the method for determining the flexion angle based on a computer device provided in any embodiment of the present invention.
[0149] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by instruction execution systems, devices or devices or used in combination with them.
[0150] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0151] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0152] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0153] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for determining the flexion angle, It is characterized in that The determination method comprises: When the target object is stationary, determining a rotation angle of the first target part on the first plane; Determining a non-rotated target position corresponding to a target point on a second target part based on the rotation angle; Based on the non-rotational target position, a reference point and a reference line, or based on the non-rotational target position and two reference points, a flexion angle of the second target part on a second plane is determined; wherein the target object includes the first target part and the second target part.
2. The method according to claim 1, It is characterized in that The method of determining the rotation angle of the first target part on the first plane includes: determining two rotation reference points and a rotation reference straight line corresponding to the first target part, the two rotation reference points are both located on the first target part, the rotation reference straight line is parallel to the first plane and the rotation angle corresponding to the rotation reference straight line is 0°; determining the angle between the rotation reference point straight line formed by the two rotation reference points and the rotation reference straight line as the rotation angle.
3. The method according to claim 2, It is characterized in that The method of determining the non-rotation target position corresponding to the target point on the second target part based on the rotation angle includes: determining whether the rotation angle is within a preset rotation angle range; if the rotation angle is within the preset rotation angle range, determining that the current position of the target point on the second target part is the non-rotation target position.
4. The method according to claim 3, It is characterized in that The method of determining the non-rotation target position corresponding to the target point on the second target part based on the rotation angle also includes: if the rotation angle exceeds the preset rotation angle range, determining a rotational geometric figure formed by the two rotational reference points and the target point; determining a rotational center point based on the two rotational reference points, and rotating the rotational geometric figure with the rotational center point as the rotation center; stopping the rotation when the rotation reference point straight line is parallel to the rotation reference straight line to obtain the rotated non-rotational geometric figure, and determining the non-rotational target position of the target point based on the non-rotational geometric figure.
5. The method according to claim 4, It is characterized in that The rotation center point is one of the two rotation reference points or the midpoint of a line connecting the two rotation reference points.
6. The method according to claim 5, It is characterized in that Based on the non-rotational target position, the reference point and the reference straight line, the flexion angle of the second target part on the second plane is determined, including: determining the angle between the reference point straight line formed by the non-rotational target point and the reference point corresponding to the non-rotational target point position and the reference straight line, and using the angle or the supplementary angle of the angle as the flexion angle.
7. The method according to claim 5, It is characterized in that Determining the flexion angle of the target part based on the positional relationship between the non-rotational target position and two pre-selected reference points comprises: determining a reference circle including the two reference points and the target point based on the positional relationship between the two reference points and the non-rotational target point corresponding to the position of the non-rotational target point; Draw circumscribed lines of the reference circle through two reference points respectively to obtain a first reference point circumscribed line and a second reference point circumscribed line; determine the supplementary angle of the circumscribed angle between the first reference point circumscribed line and the second reference point circumscribed line as the flexion angle.
8. The method according to claim 6 or 7, It is characterized in that After determining the flexion angle of the second target part on the second plane, it also includes: comparing the flexion angle with a preset flexion angle range; if the flexion angle exceeds the preset flexion angle range, determining that the flexion state of the target part is over-flexion or under-flexion; if the flexion angle is within the preset flexion angle range, determining that the flexion state of the target part is normal.
9. A device for determining a flexion angle, It is characterized in that The device comprises: a rotation angle determination module, a non-rotation target position determination module, a reference circle determination unit, a circumscribed straight line determination unit and a flexion angle determination module; The rotation angle determination module is used to determine the rotation angle of a first target part on a first plane when the target object is stationary, and the target object includes the first target part and the second target part; The non-rotation target position determination module is used to determine the non-rotation target position corresponding to the target point on the second target part based on the rotation angle; The reference circle determining unit is used to determine a reference circle including the two reference points and the target point based on the positional relationship between the two reference points and the target point; The circumscribed line determination unit is used to draw circumscribed lines of the reference circle through two reference points respectively, to obtain a first reference point circumscribed line and a second reference point circumscribed line; The flexion angle determination module is used to determine the flexion angle of the second target part on the second plane based on the non-rotational target position, the reference point and the reference straight line, or to determine the supplementary angle of the circumscribed angle between the circumscribed straight line of the first reference point and the circumscribed straight line of the second reference point as the flexion angle.
10. A computer device, It is characterized in that The computer equipment comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the flexion angle as described in any one of claims 1-9.
11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for determining the flexion angle according to any one of claims 1 to 9 is implemented.
