A body position information determination method and apparatus

By acquiring the three-dimensional coordinate data of tomographic image slices, calculating the trend of coordinate axis changes, and constructing a three-dimensional coordinate system for the device, the problem of incorrect recording of DICOM body position information was solved, and rapid and accurate determination of body position information was achieved.

CN121236154BActive Publication Date: 2026-05-12TRUE HEALTH (GUANGDONG HENGQIN) MEDICAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TRUE HEALTH (GUANGDONG HENGQIN) MEDICAL TECHNOLOGY CO LTD
Filing Date
2025-09-16
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, misrecording or omission of DICOM position information can lead to lesion localization deviations, affecting surgical positioning decisions. Existing solutions have high professional thresholds, are difficult to implement, and have low processing efficiency.

Method used

By acquiring the three-dimensional coordinate data of tomographic slices from the same image sequence, calculating the trend of coordinate axis changes, constructing the three-dimensional coordinate system of the imaging device, and matching it with the standard three-dimensional coordinate system library, the positional information of the target object is obtained.

Benefits of technology

It enables rapid and accurate acquisition of body position information, avoiding complex manual judgment and tedious calculation processes, and significantly improving the efficiency and accuracy of body position information determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121236154B_ABST
    Figure CN121236154B_ABST
Patent Text Reader

Abstract

The application provides a body position information determination method and device. It is applied to the field of medical image data processing. The method comprises the following steps: obtaining three-dimensional coordinate data of a spatial position label in a plurality of tomographic image slices of a target object in a same image sequence; determining a coordinate value that changes based on the three-dimensional coordinate data to obtain a target coordinate value; calculating a change trend on a corresponding coordinate axis based on the target coordinate value to obtain a target coordinate axis change trend; determining a direction of the corresponding coordinate axis based on the coordinate axis change trend to obtain a target coordinate axis direction; constructing a three-dimensional coordinate system based on the target coordinate axis direction to obtain an imaging device three-dimensional coordinate system; and matching the imaging device three-dimensional coordinate system with a standard body position three-dimensional coordinate system library to obtain body position information of the target object according to a standard body position three-dimensional coordinate system that is successfully matched. The application realizes rapid and accurate acquisition of real body position information of a target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical image data processing, and specifically to a method and device for determining body position information. Background Technology

[0002] Positional information in DICOM (Digital Imaging and Communications in Medicine) images is crucial for both clinical diagnosis and engineering processing. Accurate positional information is the core basis for determining the spatial location of lesions during image interpretation. Positional confusion can lead to lesion localization errors, affecting surgical positioning decisions and delaying treatment. In standard DICOM data, positional information is typically recorded in a standardized manner using tags. The core tag directly associated with position (0018, 5100) is described as "Patient Position." This tag stores standardized positional identifiers (such as predefined positional classification codes) to uniformly represent the patient's positional state during scanning.

[0003] However, in existing technologies, physician manipulation can easily lead to misrecording or omission of DICOM positioning information, affecting the accuracy of lesion diagnosis and treatment localization. Existing solutions rely on visual observation of anatomical structures (requiring specialized medical knowledge and being highly subjective) or 3D reconstruction and comparison with standard models (complex algorithms and computationally intensive), which presents problems such as high professional thresholds, difficulty in implementation, and low processing efficiency, making it difficult to quickly and accurately obtain reliable positioning information. Summary of the Invention

[0004] In view of this, the present invention provides a method for determining body position information, comprising:

[0005] For a target object in the same image sequence, obtain the three-dimensional coordinate data of the spatial location label in the several tomographic image slices. The three-dimensional coordinate data is the spatial location coordinate value of the first pixel point in the upper left corner of the several tomographic image slices.

[0006] Based on the three-dimensional coordinate data, the changing coordinate values ​​are determined to obtain the target coordinate values;

[0007] Based on the target coordinate values, the changing trend on the corresponding coordinate axis is calculated to obtain the target coordinate axis changing trend;

[0008] Based on the trend of the coordinate axis changes, the direction of the corresponding coordinate axis is determined, and the direction of the target coordinate axis is obtained;

[0009] A three-dimensional coordinate system is constructed based on the target coordinate axis directions to obtain the three-dimensional coordinate system of the imaging device;

[0010] The imaging device's three-dimensional coordinate system is matched with a standard body position three-dimensional coordinate system library, and the body position information of the target object is obtained based on the successfully matched standard body position three-dimensional coordinate system.

[0011] Optionally, the plurality of tomographic image slices are slices of the same scanning plane, and the coordinate value of the first pixel point at the upper left corner of all tomographic image slices remains constant on the scanning plane.

[0012] Optionally, the step of calculating the change trend on the corresponding coordinate axis based on the target coordinate value to obtain the change trend of the target coordinate axis includes:

[0013] Based on the sequence number of the tomographic image slice corresponding to the target coordinate value, extract the first and last tomographic image slices.

[0014] The difference is calculated based on the target coordinate values ​​corresponding to the first and last tomographic image slices;

[0015] Based on the sign of the difference, the trend of change on the corresponding coordinate axis is determined, and the trend of change of the target coordinate axis is obtained.

[0016] Optionally, determining the direction of the corresponding coordinate axis based on the trend of the coordinate axis change to obtain the direction of the target coordinate axis includes:

[0017] Based on the sequence number of the tomographic image slice, determine whether the trend of the coordinate axis changes is increasing as the sequence number increases;

[0018] If the coordinate axis changes in an increasing trend as the serial number increases, then the direction of the target coordinate axis is determined to be positive.

[0019] If the coordinate axis changes in a decreasing trend as the serial number increases, then the direction of the target coordinate axis is determined to be negative.

[0020] Optionally, the step of constructing a three-dimensional coordinate system based on the target coordinate axis direction to obtain the imaging device's three-dimensional coordinate system includes:

[0021] Based on the direction of the target coordinate axes, a three-dimensional coordinate system that satisfies the right-hand coordinate system rule is constructed to obtain the three-dimensional coordinate system of the imaging device.

[0022] Optionally, the standard body position three-dimensional coordinate system library includes a three-dimensional coordinate system constructed based on standard body positions, wherein the standard body positions include at least one of head-first supine position, head-first prone position, feet-first supine position, and feet-first prone position.

[0023] Optionally, the step of matching the three-dimensional coordinate system of the imaging device with a standard three-dimensional coordinate system library, and obtaining the positional information of the target object based on the successfully matched standard three-dimensional coordinate system, includes:

[0024] Determine whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in the three-dimensional coordinate system of each standard body position;

[0025] If the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then determine whether the directions of the remaining two coordinate axes are consistent with the directions of the remaining two coordinate axes in the standard body position three-dimensional coordinate system;

[0026] If the directions of the remaining two coordinate axes are consistent with those of the remaining two coordinate axes in the standard body position three-dimensional coordinate system, it is determined that the three-dimensional coordinate system of the imaging device is successfully matched with the standard body position three-dimensional coordinate system, and the body position information of the successfully matched standard body position three-dimensional coordinate system is determined as the body position information of the target object.

[0027] Optionally, if the direction of the target coordinate axis is inconsistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then it is further determined whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in the next standard body position three-dimensional coordinate system, and so on, until the three-dimensional coordinate system of the imaging device is successfully matched with the standard body position three-dimensional coordinate system, and the body position information of the successfully matched standard body position three-dimensional coordinate system is determined as the body position information of the target object.

[0028] Optionally, the plurality of tomographic image slices are slices of the same scanning plane, and the X-axis coordinate value and Y-axis coordinate value of the first pixel point in the upper left corner of all tomographic image slices remain constant in the scanning plane.

[0029] A second aspect of the present invention provides a body position information determination device, the device comprising: a processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, the instructions being executed by the processor to cause the processor to perform the above-described body position information determination method.

[0030] This invention obtains the three-dimensional coordinate data of spatial location tags from several tomographic image slices within the same image sequence. This data can be easily and directly obtained using only other tag information, without the need for additional tools such as external markers or sensors. Based on this data, the changing target coordinate values ​​are determined, and the trend of the target coordinate axes is calculated to further clarify the spatial arrangement pattern. Next, the direction of the target coordinate axes is determined according to the trend, accurately grasping the absolute direction of the coordinate axes. Then, a three-dimensional coordinate system for the imaging device is constructed based on this. Finally, the three-dimensional coordinate system of the imaging device is matched with a standard three-dimensional coordinate system library for body positioning. By comparing the consistency of directions, the true body position information of the target object can be quickly and accurately obtained, avoiding complex manual judgment and tedious calculation processes, significantly improving the efficiency and accuracy of body position information determination. Attached Figure Description

[0031] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0032] Figure 1 This is a flowchart of the body position information determination method in an embodiment of the present invention;

[0033] Figure 2 This is a diagram showing the relationship between common body positions and coordinate axes in the standard body position three-dimensional coordinate system library of this invention.

[0034] Figure 3 This is a comparison diagram between the three-dimensional coordinate system of the imaging device in this embodiment of the invention and the three-dimensional coordinate system of any standard body position. Detailed Implementation

[0035] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0036] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0037] Furthermore, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0038] like Figure 1 As shown, this embodiment of the invention provides a method for determining body position information. This method is executed by an electronic device such as a computer or server, and specifically includes:

[0039] S1. For several tomographic image slices of the target object in the same image sequence, obtain the three-dimensional coordinate data of the spatial location labels in the several tomographic image slices. The three-dimensional coordinate data is the spatial location coordinate value of the first pixel point in the upper left corner of the several tomographic image slices.

[0040] Tomographic images can be medical images from various tomographic imaging techniques, such as CBCT (Cone Beam Computed Tomography), CT (Computed Tomography), and MRI (Magnetic Resonance Imaging). Several tomographic image slices within the same image sequence refer to a collection of tomographic image slices acquired for the same patient, the same examination site, or the same clinical task. Each tomographic image slice contains standardized DICOM tag information. In this embodiment, the spatial position tag numbered (0020, 0032) and described as "Image Position (Patient)" is obtained. This tag records the spatial position information of the current slice in the device's three-dimensional coordinate system. In the DICOM data specification, the (x, y, z) three-dimensional coordinate values ​​recorded by the Image Position (Patient) tag typically correspond to the spatial coordinates of the first pixel at the top left corner of the slice image or the origin. This embodiment obtains the three-dimensional coordinate data (x, y, z) of this reference pixel in each slice.

[0041] S2, based on the three-dimensional coordinate data, determines the coordinate values ​​that are changing, and obtains the target coordinate values.

[0042] By comparing the three-dimensional coordinate data (x, y, z) of all slices, the components whose values ​​change among the three components of x, y, and z are identified.

[0043] S3, calculate the trend of change on the corresponding coordinate axis based on the target coordinate value, and obtain the trend of change of the target coordinate axis.

[0044] Based on the coordinate values ​​that have changed as selected in step S2, the spatial arrangement direction and trend of the target coordinate axis are determined by calculating the change pattern of these coordinate values ​​in the slice sequence (such as increasing or decreasing).

[0045] S4. Determine the direction of the corresponding coordinate axis based on the trend of coordinate axis changes, and obtain the direction of the target coordinate axis.

[0046] Based on the changing trend (such as increasing or decreasing) of the target coordinate axis (usually the Z-axis) calculated in step S3, the absolute direction (i.e., positive or negative direction) of the coordinate axis in the device's three-dimensional coordinate system is determined.

[0047] S5. Construct a three-dimensional coordinate system based on the target coordinate axis direction to obtain the three-dimensional coordinate system of the imaging device.

[0048] In this scheme, the coordinate system where the bed or equipment is located is referred to as the equipment coordinate system. Based on the direction of the target coordinate axis specified in step S4, and combined with the standardized coordinate system rules of medical imaging, the directions of the remaining two coordinate axes are determined, and a three-dimensional coordinate system matching the scanning direction of the equipment is constructed, thus forming the imaging equipment three-dimensional coordinate system (i.e., the equipment coordinate system, which is used to describe the position and orientation of the scanned slice in the equipment space).

[0049] S6 matches the imaging device's three-dimensional coordinate system with the standard body position three-dimensional coordinate system library, and obtains the target object's position information based on the successfully matched standard body position three-dimensional coordinate system.

[0050] By comparing the orientation consistency between the imaging device's three-dimensional coordinate system and the standard body position three-dimensional coordinate system library, the scanning position of the target object is accurately matched, thereby obtaining the target object's true body position information.

[0051] This embodiment obtains the three-dimensional coordinate data of spatial location labels from several tomographic image slices within the same image sequence. Only other tag information is needed to directly and easily obtain the three-dimensional coordinate data, without the need for additional tools such as external markers and sensors. Then, based on this data, the changing target coordinate values ​​are determined and the trend of the target coordinate axes is calculated to further clarify the spatial arrangement pattern. Next, the direction of the target coordinate axes is determined according to the trend, accurately grasping the absolute direction of the coordinate axes. Then, a three-dimensional coordinate system for the imaging device is constructed based on this. Finally, the three-dimensional coordinate system of the imaging device is matched with a standard three-dimensional coordinate system library for body positioning. By comparing the consistency of directions, the true body position information of the target object can be quickly and accurately obtained, avoiding complex manual judgment and tedious calculation processes, significantly improving the efficiency and accuracy of body position information determination.

[0052] In some optional embodiments of this example, in step S1, several tomographic image slices are slices of the same scanning plane, and the coordinate value of the first pixel point in the upper left corner of all tomographic image slices in the scanning plane remains constant.

[0053] In step S1, all the tomographic image slices are taken from the same scanning plane. All these tomographic image slices originate from the same physical scanning plane, such as the transverse plane of CT or the axial plane of MRI. Within this scanning plane, the spatial position of the first pixel at the top left corner of each slice, or the origin of the coordinates, remains constant throughout the entire scanning plane. In other words, the relative position of the first pixel at the top left corner of all tomographic image slices on the scanning plane is constant.

[0054] Furthermore, several tomographic image slices are slices of the same scanning plane, and the X-axis and Y-axis coordinates of the first pixel in the upper left corner of all tomographic image slices remain constant on the scanning plane.

[0055] For example, a coordinate system consisting of the X and Y axes is established in this scanning plane. At this point, the X-axis and Y-axis coordinates of the first pixel (or origin) in the upper left corner of all tomographic image slices remain constant. For instance, multiple slices correspond to multiple Tag values ​​composed of three floating-point numbers. Generally, the x and y coordinates of the first pixel in the upper left corner are the same in different slices; only the Z-axis coordinate changes continuously due to differences in slice thickness.

[0056] In some optional embodiments of this example, the standard body position three-dimensional coordinate system library in step S6 includes a three-dimensional coordinate system constructed based on the standard body position, wherein the standard body position includes at least one of the head-first supine position, head-first prone position, feet-first supine position, and feet-first prone position.

[0057] The standard body position 3D coordinate system library in this embodiment is a collection containing 3D coordinate systems constructed based on standard body positions. The standard body positions referred to here include head-first supine position (the target object's head enters the scanning device first with its back facing down), head-first prone position (the head enters first with the abdomen facing down), feet-first supine position (the feet enter first with the back facing down), and feet-first prone position (the feet enter first with the abdomen facing down). The standard body position 3D coordinate system library can contain 3D coordinate systems constructed from at least one of these four standard body positions. In addition, the standard body position 3D coordinate system library may also include less common body positions such as lateral recumbent and standing. The specific inclusions will be determined based on the actual application scenario and requirements. The existence of this library is to provide a standardized spatial reference framework for subsequent confirmation of body position information, thereby achieving accurate positioning and measurement of human body structures.

[0058] like Figure 2 As shown, the standard body position 3D coordinate system library includes four common body positions and their coordinate axis relationships: head-first supine, head-first prone, feet-first supine, and feet-first prone. In the standard supine position, the positive X' axis points from the target's right arm to the left arm, the positive Y' axis points from the target's chest to the back, and the positive Z' axis points from the target's feet to the head. The 3D coordinate system for other body positions can be determined based on the target's limb relationships.

[0059] In some optional embodiments of this example, step S3, which calculates the trend of change on the corresponding coordinate axis based on the target coordinate value to obtain the trend of change on the target coordinate axis, specifically includes:

[0060] S31. Based on the sequence number of the tomographic image slice corresponding to the target coordinate value, extract the first and last tomographic image slices.

[0061] In medical image processing, tomographic image slices are typically numbered sequentially; this numbering is called the sequence number. The target coordinate values ​​(e.g., the z-coordinate mentioned earlier) change within the slice. By establishing the correspondence between these target coordinate values ​​and the tomographic image slice sequence numbers, the first and last tomographic image slices in the entire sequence are identified. These two slices are the key starting and ending points for determining the trend of coordinate value changes.

[0062] S32, calculate the difference based on the target coordinate values ​​corresponding to the first and last tomographic image slices.

[0063] After determining the first and last tomographic image slices, the target coordinate values ​​of the first slice are subtracted from the target coordinate values ​​of the last slice to obtain a difference. This difference directly reflects the change in target coordinate values ​​from the first to the last slice. For example, if the target coordinate is the z-coordinate, a positive difference indicates that the z-value of the last slice is larger than that of the first slice; a negative difference indicates that the z-value of the last slice is smaller than that of the first slice.

[0064] S33, based on the sign of the difference, determine the trend of change on the corresponding coordinate axis, and obtain the trend of change of the target coordinate axis.

[0065] Based on the sign of the difference calculated in step S32, the trend of change on the corresponding coordinate axis can be clearly identified: if the difference is positive, it means that as the number of slice layers in the tomographic image increases, the target coordinate value increases, that is, it grows in the positive direction of the coordinate axis; if the difference is negative, it means that as the number of slice layers increases, the target coordinate value decreases, that is, it grows in the negative direction of the coordinate axis.

[0066] This embodiment extracts the first and last tomographic image slices based on their sequence numbers to accurately determine the analysis data range. Then, it calculates the difference between the target coordinate values ​​of the two slices to quantify the magnitude of coordinate changes, making these changes more intuitive and measurable. Finally, it determines the coordinate axis change trend based on the sign of the difference. The coordinate axis change trend clearly reveals the spatial variation pattern of the target object's position, thereby more accurately judging the target object's positional state and effectively improving the accuracy and efficiency of positional judgment.

[0067] In some optional embodiments of this example, step S5 involves constructing a three-dimensional coordinate system based on the target coordinate axis direction to obtain the three-dimensional coordinate system of the imaging device, specifically including:

[0068] A three-dimensional coordinate system that satisfies the right-hand coordinate system rule is constructed based on the target coordinate axis direction, thus obtaining the three-dimensional coordinate system of the imaging device.

[0069] The right-hand coordinate system rule is a universal mathematical and physical rule. If the target coordinate axis direction is known to be the Z-axis, the X and Y axes can be determined in the right-hand coordinate system as follows, thus constructing a complete three-dimensional coordinate system for the imaging device: Extend your right hand, naturally spread your palm, straighten your thumb, and separate your index and middle fingers as close to a right angle as possible. The direction your middle finger naturally bends points is the positive direction of the Z-axis. Simultaneously, the direction your thumb points is the positive direction of the X-axis, and the direction your index finger points is the positive direction of the Y-axis. In other words, when constructing the three-dimensional coordinate system for the imaging device, it is necessary not only to consider the target coordinate axis direction but also to follow the right-hand coordinate system rule to determine the positive directions of the three axes. This allows different imaging devices and different operators to process and analyze data based on the same coordinate rules, avoiding confusion and errors caused by inconsistent coordinate systems. This embodiment can quickly construct an accurate three-dimensional coordinate system, thereby more accurately judging the positional state of the target object and effectively improving the accuracy and efficiency of positional judgment.

[0070] In this embodiment, the three-dimensional coordinate system of the imaging device is constructed. Besides determining the direction of each axis based on the direction of the target coordinate axis according to the right-hand coordinate system rule, other methods can also be used to construct the three-dimensional coordinate system of the imaging device, as detailed below:

[0071] The first method involves extracting anatomical landmarks (such as bone edges and key points of organ contours) from tomographic images using image segmentation techniques. By utilizing the spatial coordinate information of these landmarks and combining them with the known direction of the target coordinate axis, the direction of other coordinate axes can be fitted. For example, if the target coordinate axis is known to be the Z-axis, high-contrast anatomical structures (such as vertebrae, skull, and joints) can be segmented from tomographic images (such as spinal CT and knee MRI) using deep learning (such as U-Net) or traditional thresholding and edge detection algorithms. In the segmented binary image, key points of the markers (such as the center point of the spinous process of the vertebrae and the center of the femoral head) are extracted, and their two-dimensional coordinates (rows and columns) and corresponding slice thickness (Z-axis coordinates) in the image are recorded. The two-dimensional image coordinates are converted into the original three-dimensional coordinates of the device (which needs to be combined with the intrinsic parameter matrix of the device, such as pixel spacing and slice spacing). If the Z-axis direction is known (such as along the long axis of the scanning bed), the covariance matrix of multiple markers in the XY plane is calculated by statistically analyzing their distribution. The principal components are extracted as the X and Y axis directions (or a straight line is fitted by least squares to ensure that it is perpendicular to the Z-axis). Thus, the three-dimensional coordinate system of the imaging device is constructed based on the X, Y, and Z axis directions.

[0072] The second method involves acquiring a 3D point cloud of the target region from the tomographic image (each point contains x, y, and z coordinates), then removing noise points (such as outliers and motion artifacts) and retaining valid surface points. Three points are randomly sampled to fit a plane, and the distances from other points to this plane are calculated. In-plane points (those with distances less than a threshold) are counted. After iteration, the plane with the most in-plane points is selected as the principal plane (e.g., the XY plane), ensuring it is unaffected by outliers (such as motion artifacts and device noise). The normal vector of the principal plane is perpendicular to the known target coordinate axis (e.g., the Z-axis), defining the target coordinate axis (e.g., the Z-axis). Within the principal plane, orthogonal eigenvectors are extracted using principal component analysis as the remaining two coordinate axes (e.g., the X and Y axes). The orientation is calibrated according to the right-hand rule, and the origin is the mean coordinates of the points within the principal plane, completing the construction of the imaging device's 3D coordinate system.

[0073] In some optional embodiments of this example, step S6 involves matching the three-dimensional coordinate system of the imaging device with a standard three-dimensional coordinate system library, and obtaining the positional information of the target object based on the successfully matched standard three-dimensional coordinate system. Specifically, this includes:

[0074] S61, determine whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in each standard body position three-dimensional coordinate system; if the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then execute step S62.

[0075] S62, determine whether the directions of the remaining two coordinate axes are consistent with the directions of the remaining two coordinate axes in the standard body position three-dimensional coordinate system; if the directions of the remaining two coordinate axes are consistent with the directions of the remaining two coordinate axes in the standard body position three-dimensional coordinate system, then proceed to step S63.

[0076] S63, determine that the three-dimensional coordinate system of the imaging device is successfully matched with the three-dimensional coordinate system of the standard body position, and determine the body position information of the successfully matched three-dimensional coordinate system of the standard body position as the body position information of the target object.

[0077] Furthermore, if the direction of the target coordinate axis is inconsistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then return to step S61 to continue to determine whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in the next standard body position three-dimensional coordinate system, and so on, until the imaging device three-dimensional coordinate system and the standard body position three-dimensional coordinate system are successfully matched, and the body position information of the successfully matched standard body position three-dimensional coordinate system is determined as the body position information of the target object.

[0078] Figure 3The diagram illustrates the comparison between the imaging device's 3D coordinate system and any standard body position 3D coordinate system. First, it checks if the Z-axis of the imaging device's 3D coordinate system aligns with the Z'-axis of the standard body position 3D coordinate system. If they do, it checks if the Y-axis of the imaging device's 3D coordinate system aligns with the Y'-axis of the standard body position 3D coordinate system. Then, it checks if the X-axis of the imaging device's 3D coordinate system aligns with the X'-axis of the standard body position 3D coordinate system, continuing this process until a standard body position 3D coordinate system with consistent directions across all three axes is found, at which point the matching process ends. For example... Figure 3 If the three-dimensional coordinate system of the imaging device is successfully matched with the standard three-dimensional coordinate system of the head-first supine position, then the positional information of the target object is the head-first supine position.

[0079] This embodiment obtains the target object's positional information by matching the imaging device's three-dimensional coordinate system with a standard three-dimensional coordinate system library. The method employs a step-by-step approach to determine the consistency of coordinate axis directions, first judging the target coordinate axis, then the remaining two axes, ensuring the accuracy and reliability of the matching. By continuously traversing the standard three-dimensional coordinate system library until a perfectly matching coordinate system is found, the target object's positional information can be accurately determined. By directly matching the imaging device's three-dimensional coordinate system with the standard three-dimensional coordinate system library, the target object's positional information can be quickly and accurately confirmed. This precise and efficient confirmation process provides crucial information for subsequent medical diagnosis and treatment procedures, contributing to improved quality and efficiency of medical services.

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

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

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

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

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

Claims

1. A method for determining body position information, characterized in that, include: For a target object in the same image sequence, obtain the three-dimensional coordinate data of the spatial location label in the several tomographic image slices. The three-dimensional coordinate data is the spatial location coordinate value of the first pixel point in the upper left corner of the several tomographic image slices. Based on the three-dimensional coordinate data, the changing coordinate values ​​are determined to obtain the target coordinate values; Based on the target coordinate values, the changing trend on the corresponding coordinate axis is calculated to obtain the target coordinate axis changing trend; Based on the changing trend of the target coordinate axis, the direction of the corresponding coordinate axis is determined, and the direction of the target coordinate axis is obtained; A three-dimensional coordinate system is constructed based on the target coordinate axis directions to obtain the three-dimensional coordinate system of the imaging device; The imaging device's three-dimensional coordinate system is matched with a standard body position three-dimensional coordinate system library, and the body position information of the target object is obtained based on the successfully matched standard body position three-dimensional coordinate system.

2. The method according to claim 1, characterized in that, The tomographic image slices are slices of the same scanning plane, and the coordinate value of the first pixel point in the upper left corner of all tomographic image slices remains constant in the scanning plane.

3. The method according to claim 1, characterized in that, The step of calculating the change trend on the corresponding coordinate axis based on the target coordinate value to obtain the change trend of the target coordinate axis includes: Based on the sequence number of the tomographic image slice corresponding to the target coordinate value, extract the first and last tomographic image slices. The difference is calculated based on the target coordinate values ​​corresponding to the first and last tomographic image slices; Based on the sign of the difference, the trend of change on the corresponding coordinate axis is determined, and the trend of change of the target coordinate axis is obtained.

4. The method according to claim 3, characterized in that, The step of determining the direction of the corresponding coordinate axis based on the trend of the target coordinate axis change, and obtaining the direction of the target coordinate axis, includes: Based on the sequence number of the tomographic image slice, determine whether the trend of the target coordinate axis is increasing as the sequence number increases; If the target coordinate axis changes in an increasing trend as the sequence number increases, then the direction of the target coordinate axis is determined to be positive. If the target coordinate axis decreases as the sequence number increases, then the direction of the target coordinate axis is determined to be negative.

5. The method according to claim 1, characterized in that, The step of constructing a three-dimensional coordinate system based on the target coordinate axis direction to obtain the three-dimensional coordinate system of the imaging device includes: Based on the direction of the target coordinate axes, a three-dimensional coordinate system that satisfies the right-hand coordinate system rule is constructed to obtain the three-dimensional coordinate system of the imaging device.

6. The method according to claim 1, characterized in that, The standard body position three-dimensional coordinate system library includes a three-dimensional coordinate system constructed based on standard body positions, wherein the standard body positions include at least one of head-first supine position, head-first prone position, feet-first supine position, and feet-first prone position.

7. The method according to claim 1, characterized in that, The step of matching the three-dimensional coordinate system of the imaging device with a standard three-dimensional coordinate system library, and obtaining the positional information of the target object based on the successfully matched standard three-dimensional coordinate system, includes: Determine whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in the three-dimensional coordinate system of each standard body position; If the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then determine whether the directions of the remaining two coordinate axes are consistent with the directions of the remaining two coordinate axes in the standard body position three-dimensional coordinate system; If the directions of the remaining two coordinate axes are consistent with those of the remaining two coordinate axes in the standard body position three-dimensional coordinate system, it is determined that the three-dimensional coordinate system of the imaging device is successfully matched with the standard body position three-dimensional coordinate system, and the body position information of the successfully matched standard body position three-dimensional coordinate system is determined as the body position information of the target object.

8. The method according to claim 7, characterized in that, If the direction of the target coordinate axis is inconsistent with the direction of the corresponding coordinate axis in any standard body position three-dimensional coordinate system, then continue to determine whether the direction of the target coordinate axis is consistent with the direction of the corresponding coordinate axis in the next standard body position three-dimensional coordinate system, and so on, until the three-dimensional coordinate system of the imaging device is successfully matched with the standard body position three-dimensional coordinate system, and the body position information of the successfully matched standard body position three-dimensional coordinate system is determined as the body position information of the target object.

9. A body position information determination device, characterized in that, include: A processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, the instructions being executed by the processor to cause the processor to perform the body position information determination method as described in any one of claims 1-8.