Breast bilateral difference detection method based on 3D imaging point cloud data

By using a method based on 3D imaging point cloud data, the problem of accuracy in detecting differences in breast volume and position during breast reconstruction and plastic surgery was solved, enabling precise navigation and real-time feedback during breast surgery, simplifying equipment and improving the objectivity of assessment.

CN118154536BActive Publication Date: 2026-11-24DALIAN UNIV OF TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410265256.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-08
Publication Date
2026-11-24
Estimated Expiration
2044-03-08

AI Technical Summary

Technical Problem

Existing methods for detecting breast differences are difficult to accurately and in real time assess differences in breast volume and position during breast reconstruction and plastic surgery, especially since they cannot provide detailed information on the internal structure of the breast during surgery, and the equipment is expensive or inconvenient to measure.

Method used

A method based on 3D imaging point cloud data is adopted. By setting marker points, constructing a scanning environment, preprocessing and standardizing point cloud data, iteratively updating the planar model, establishing a three-dimensional coordinate system, using a kernel-free drift clustering algorithm to segment the breast region, and visualizing the volume and position differences between the two breasts through mirror flipping.

Benefits of technology

It enables precise navigation to differentiate between the affected and healthy sides during breast surgery, provides objective assessment of differences in breast volume and position, simplifies measurement equipment, and meets the real-time feedback needs during clinical procedures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118154536B_ABST
    Figure CN118154536B_ABST
Patent Text Reader

Abstract

This invention provides a method for detecting bilateral breast asymmetry based on 3D imaging point cloud data, belonging to the technical field of bilateral breast asymmetry detection. The method establishes a breast asymmetry assessment environment and sets marker points for the patient. Through iterative updates of the planar model, a well-fitting reference plane is obtained upon final convergence, achieving horizontal fitting of the point cloud data to the reference plane. A new coordinate system is defined by combining the marker points and the rotation matrix of this process. A breast region segmentation method based on a kernel-free drift clustering algorithm is designed. By mirroring the point cloud data of the breast region, the ICP iterative nearest point algorithm is used to iterate the data before and after the mirroring process to reduce errors, achieving a high degree of overlap between the affected breast and the mirrored opposite breast, thus solving the problem of finding the center plane of both breasts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of bilateral breast differential detection technology, and relates to a method for bilateral breast differential detection based on 3D imaging point cloud data. Background Technology

[0002] Currently, breast cancer has become the most common malignant tumor among women worldwide. With increasing health awareness and rapid advancements in medical technology, breast cancer patients are also raising their aesthetic expectations. Breast reconstruction after breast cancer surgery can repair breast defects, playing a positive role in helping patients rebuild their confidence and improve their quality of life. Furthermore, improving patient satisfaction with breast appearance and meeting their optimal aesthetic needs through breast reconstruction is also an important aspect of their physical and mental rehabilitation.

[0003] Mammary mastectomy is a common treatment for breast cancer, involving the removal of the lesions. However, this surgery can sometimes result in a difference in shape between the two breasts. To help patients restore the shape and appearance of their breasts, breast reconstruction surgery is gaining increasing attention from both doctors and patients.

[0004] Besides patients who have undergone breast cancer removal surgery, some women who are dissatisfied with their breasts hope to achieve their desired results through breast augmentation surgery. During breast surgery, doctors also need to understand the differences between the patient's two breasts to ensure the surgery achieves the desired outcome.

[0005] Whether it's breast reconstruction surgery or breast augmentation surgery, doctors need to have a thorough understanding of the differences between the patient's breast before and after surgery, or the differences between the healthy and affected breasts. These differences mainly manifest in two aspects: first, the difference in breast volume; and second, the difference in breast position. For breast cancer patients, because the affected breast is removed during surgery, its volume will be smaller than before surgery, resulting in a volume difference between the two sides. Similarly, for breast augmentation patients, a volume difference will also occur between the two breasts during the procedure. Furthermore, the shape of the breast may change due to surgery. For example, if a partial or total mastectomy is performed, the shape of the affected breast will differ from the healthy breast or the pre-operative shape of the affected breast, resulting in a difference in position between the missing portion of the affected breast and the healthy breast.

[0006] Currently, the detection of differences between the two sides of the breast is mainly divided into subjective methods and objective methods. Objective methods mainly include three categories: 2D imaging methods, 3D imaging methods, and mechanical-based scale or volume measurement methods.

[0007] The subjective method involves the doctor directly observing the breasts during surgery and comparing differences in breast shape and volume. However, this method is difficult to accurately evaluate differences between the two breasts.

[0008] Objective methods based on 2D or 3D imaging of the breast's surface can be used to measure breast volume. 2D imaging methods typically use techniques such as X-rays or CT scans to acquire cross-sectional images of the breast. The breast volume can then be obtained by calculating the area and thickness of the breast tissue in these images. This method is simple and easy to perform, but it cannot provide detailed information about the internal structure of the breast. 3D imaging methods typically use techniques such as magnetic resonance imaging (MRI) or ultrasound to acquire three-dimensional images of the breast. These images are then processed and analyzed by computer software to determine the breast's volume and shape. This method can provide detailed information about the internal structure of the breast, but it requires more expensive equipment and longer scan times. Mechanically based scale or volume measurement methods are not suitable for accurately measuring and representing the non-rigid and curved shape of the breast, and as they involve contact measurement, they are not convenient for use in surgical environments.

[0009] As an irregular geometric shape, the breast's form and size are easily affected by a variety of factors. Therefore, choosing the appropriate measurement method to guide clinical practice is an issue that clinicians should pay attention to.

[0010] In summary, existing methods for measuring and evaluating bilateral breast differences are either ineffective or unsuitable for intraoperative full-size measurement and analysis of the breasts, especially in breast reconstruction surgery. Therefore, this invention proposes a system for real-time feedback of differences between the healthy and affected sides during breast reconstruction surgery. Based on 3D imaging technology, it performs precise non-contact 3D measurement and difference assessment of both breasts in the patient's supine position during surgery, thereby enabling precise navigation for intraoperative reshaping of the affected breast and assisting the surgeon in obtaining the volume and placement of the implant. Summary of the Invention

[0011] To address the problems existing in the prior art, this invention provides a bilateral difference comparison algorithm for lateral resection and reshaping during breast surgery. This algorithm can solve the problem of preoperative and postoperative breast differences on the affected side during clinical surgery, mainly including two aspects: first, the calculation of breast volume difference; and second, the problem of breast position difference. This enables precise navigation for intraoperative breast reshaping.

[0012] To achieve the above objectives, the present invention provides the following technical solution:

[0013] A method for detecting bilateral breast differences based on 3D imaging point cloud data, the steps of which are as follows:

[0014] The first step is to construct a breast differential assessment environment and set marker points for the subjects before acquiring images.

[0015] 1.1) Prepare the scanning environment: Adjust the ambient lighting to ensure that the target object has no glare or shadows. Clear the scanning field of view to ensure that only the target object is being scanned.

[0016] 1.2) Setting landmarks: One landmark is set at the midpoint of the upper border of the manubrium of the sternum and at the xiphoid process. These two landmarks provide the actual human body's axis of symmetry (i.e., the central axis) and plane of symmetry (i.e., the central axis plane) for the bilateral breast differential detection method. Specifically: There is a vertical bone in the middle of the thoracic cavity, namely the sternum. The midline of the sternum is the line passing through the midline of the sternum, with its two endpoints being the top of the sternum—the midpoint of the upper border of the manubrium of the sternum, and the tail of the sternum—the xiphoid process. A landmark is placed at each endpoint of the midline of the sternum.

[0017] 1.3) Setting up the scanning device: Set the scanning device parameters to ensure optimal quality scan data acquisition; align the scanning device with the breast area to be scanned, start the scanning process, ensuring the scanning device can completely capture the entire area, and ensure the scanning device is moved to cover all required angles and details. The specific process for setting up the scanning device parameters is as follows: Set up the scanning device according to its instruction manual or guide. Adjust parameters such as resolution, scanning angle, and scanning distance to obtain optimal quality scan data. The scanning device is a camera or scanner, preferably a 3D camera.

[0018] The second step involves processing the 3D point cloud image and its surface image of the subject lying flat on the operating table, the drooping information of the affected breast image, the volume difference between the affected and healthy breasts, coordinate values, and other data of interest to the surgical navigation.

[0019] 2.1) Data Preprocessing: First, the collected model point cloud data is denoised using various filtering techniques (such as Gaussian filtering, median filtering, etc.) to remove noisy points from the point cloud data. Simultaneously, based on the density and normals of the point cloud data, outliers are removed to reduce the impact of noise.

[0020] 2.2) Data Standardization: Scale standardization and coordinate standardization are performed on the point cloud data. Scale standardization ensures that point cloud data are analyzed at the same scale, as the scales may vary. Coordinate standardization ensures that the coordinates of the point cloud data are in the same coordinate system.

[0021] The third step involves dividing the points in the point cloud data into inliers and outliers. The planar model is then iteratively updated to better fit the inliers, ultimately yielding a well-fitting reference plane upon convergence. Next, a rotation matrix is ​​obtained by calculating the rotation axis and angle between the normal vectors of the reference plane and the plane to be aligned. Finally, this rotation matrix is ​​applied to the point cloud data, and matrix multiplication is used to rotate the points, thus achieving a horizontal fit between the point cloud data and the reference plane.

[0022] 3.1) Initialize the planar model: Randomly select three points from the point cloud as the initial planar model, which will serve as the starting point for the algorithm and the initial state for iterative updates. Let these three points be p1(x1,y1,z1), p2(x2,y2,z2), and p3(x3,y3,z3).

[0023] 3.2) Iteratively update the planar model:

[0024] First, for each point p i (x i ,y i ,z i ), calculate the distance from point p to the current planar model. i The distance to the planar model is calculated using the following formula:

[0025]

[0026] Among them, P i It is point p i Let A be a point on the plane, and n be the normal vector of the plane. The normal vector n can be obtained by calculating the cross product of two parallel vectors:

[0027] n=(P2-P1)×(P3-P1) (2)

[0028] Then, based on the pre-set distance threshold, the points are divided into inliers or outliers: if the distance d from the point to the planar model... i If the distance is less than or equal to the distance threshold, it is classified as an inlier; otherwise, it is classified as an outlier.

[0029] Finally, the parameters of the new planar model are re-estimated using the interior points. The re-estimated planar model can be achieved using the least squares method or other fitting algorithms. Let the set of indices of the interior points be *Inliers*. In the step of re-estimated planar model, the following system of equations is solved using the points in *Inliers* through a least squares fitting algorithm to obtain the parameters of the new planar model:

[0030] n·P=c (3)

[0031] Where P is the coordinate matrix of the interior point, and c is a constant vector related to the plane position.

[0032] 3.3) Convergence Judgment: Check whether the number of iterations has reached the maximum number of iterations, or whether the change in the planar model is less than a certain threshold. If either condition is met, stop the iteration and obtain the reference plane for the point cloud data.

[0033] 3.4) Calculating the rotation matrix: When aligning the point cloud data with the reference plane, the rotation matrix is ​​first calculated to rotate the point cloud data to the position on the reference plane. The rotation matrix is ​​represented by the rotation axis and the rotation angle, where the rotation axis is calculated using the normal vector N of the reference plane. ref The normal vector N of the plane to be aligned desired Implemented using the cross product:

[0034] R axis =N ref ×N desired (4)

[0035] The rotation axes are normalized to ensure the validity of the rotation matrix:

[0036]

[0037] The rotation angle is determined by the normal vector N of the reference plane. ref The normal vector N of the plane to be aligned desired Dot product calculation:

[0038] θ=cos -1 (N ref ·N desired (6)

[0039] Convert the rotation axis and rotation angle into a rotation matrix using axis-angle notation:

[0040] R = axang2rotm([R axis ,θ]) (7)

[0041] 3.5) Apply the rotation matrix to the point cloud data to achieve planar alignment. For the coordinate vector P of each point, use matrix multiplication P. aligned =R·P is used to perform a rotation transformation to achieve horizontal fitting of the point cloud data.

[0042] The fourth step is to establish a three-dimensional coordinate system for the point cloud data.

[0043] 4.1) Determine an axis of the three-dimensional coordinate system: A direction vector is determined by calculating the difference vector between two marker points (midpoint of the upper edge of the manubrium and xiphoid process) set when acquiring the image, and then normalized. The normalized direction vector is the Y-axis in the three-dimensional coordinate system that is parallel to the reference plane obtained by plane fitting.

[0044] 4.2) Calculate the center of the marker point: Calculate the center coordinates of the central axis and use the center coordinates as the origin of the three-dimensional coordinate system.

[0045] 4.3) Establish a coordinate system: Select two vectors perpendicular to the Y-axis as the other two axes of the new coordinate system. The X-axis is perpendicular to the vector of the Y-axis and parallel to the reference plane obtained by plane fitting. The Z-axis is perpendicular to both the X-axis and the Y-axis. These perpendicular vectors are obtained by cross product operation.

[0046] 4.4) Determine the coordinate system equation: Transform each point in the point cloud data to the new coordinate system. The new coordinates (x′, y′, z′) of a point in the point cloud data are calculated using the following formula:

[0047]

[0048] Where (x,y,z) are the coordinates of a point in the original coordinate system, and (x0,y0,z0) are the coordinates of the origin of the new coordinate system.

[0049] The fifth step is to segment the breast region using a kernel-free drift clustering algorithm.

[0050] 5.1) Applying a kernel-free drift clustering algorithm to determine the bandwidth parameter: Bandwidth is an important parameter in kernel-free drift algorithms, determining the window size, i.e., affecting the neighborhood range around each point. The selection of the bandwidth parameter is crucial for kernel-free drift algorithms, and the optimal bandwidth parameter is usually chosen through cross-validation or based on data features.

[0051] 5.2) Select initial seed points from the point cloud data and use them as the starting centers for clustering. For each initial seed point, calculate the drift vector pointing in the direction of maximum data density gradient, and use a Gaussian kernel function to calculate the density estimate involved in the drift vector:

[0052]

[0053] Where h is the bandwidth parameter, and x is the distance between points. For a given point x i , drift vector m(x i This is used to guide the movement of a point in order to find the location with the highest density. The formula for calculating the drift vector is:

[0054]

[0055] Where, x j It is x i One of the nearest neighbors, N(x) i ) is based on x i The neighborhood of all points within the center and bandwidth;

[0056] 5.3) Based on the drift vector, update the position of each initial seed point, moving it towards the direction of maximum data density. Cluster the point cloud data using the bandwidth parameter. Repeat the above steps until the seed points converge towards the cluster centers, ultimately forming clustered regions. Update the seed point x based on the drift vector. i Location

[0057]

[0058] 5.4) Segment the point cloud of the breast region. Based on the clustering results, identify the point cloud data belonging to the breast region. For the segmentation of the point cloud data, the point cloud data identified as belonging to the breast region is extracted for subsequent symmetry evaluation.

[0059] The sixth step involves using mirror flipping to calculate the volume difference and visualize the positional difference between the two breasts.

[0060] 6.1) Mirror flipping and registration / alignment of point cloud data before and after flipping to visualize the positional difference between the two breasts: For the analysis of the 3D surface differences between the two breasts, the YOZ plane in the spatial coordinate system where the point cloud data of the segmented breast region is located is mirror flipped to visualize the 3D surface of the breast in the supine position. Based on this, we analyzed the differences between the two breasts and measured the bilateral differences by fusing breast 3D and ptosis information. The specific process is as follows:

[0061] In a 3D Cartesian coordinate system, the 3D images of both breasts taken under supine position of the subject are denoted as follows: Point cloud data of segmented breast regions The breast is mirror-flipped using the YOZ plane in a 3D coordinate system as the plane of symmetry. The resulting 3D curved surface of the breast is then... Represented. The breast surface is extracted from (x, y, z). Let A be the dataset, and let A be the dataset after the flip update.

[0062]

[0063] In the above formulas, (x, y, z) represent the three coordinate variables of the new 3D coordinate system.

[0064] Original breast surface dataset The breast surface dataset was obtained by mirroring and flipping the image on the YOZ plane. The coordinates of the breast images before and after flipping have the following correspondence: the x-axis coordinates are reversed, while the y-axis and z-axis coordinates remain unchanged.

[0065] Solid 3D image is denoted as This represents the 3D surface of the breast after it has been flipped. The flipped 3D surface... As a standard curved surface, solid 3D image As a comparison, coarse registration and fine registration are performed. The initial coarse matching uses several pairs of special landmarks pre-set by the doctor as matching labels, which are manually selected to provide good initial positions for subsequent fine matching. In fine registration, the ICP iterative nearest point algorithm is used to reduce errors through continuous iteration, thereby achieving the ideal accuracy value.

[0066] Point cloud after flipping Let P be any point in the array. i From the original point cloud Find a point whose Euclidean distance is shortest, denoted as q. i P i and q i For the corresponding points, the transformation matrix is ​​derived. After multiple iterations, the most ideal transformation matrix is ​​finally obtained, making the two point clouds coincide. The stopping condition for the iteration is set as follows:

[0067]

[0068] Where R represents the rotation transformation matrix, T represents the translation transformation matrix, and k represents the point cloud. Total number of points in R; pi express Rotation transformation matrix of selected points in point cloud; after registration and Updated to ω′(x,y,z) and ω(x,y,z).

[0069] Define the volume error function between the meshed solid breast and the mirrored standard breast surface:

[0070] V (3D) (x i ,y j ,z i,j )=∫∫ S [ω(x i ,y j ,z i,j )-ω′(-x i ,y j ,z i,j )]dxdy (14)

[0071] i and j represent the indices of the x and y directions in the new coordinate system, respectively, z i,j Indicates with x i ,y j The corresponding surface height and shape, S represents the set of sub-regions with volume differences in the solid breast or standard breast obtained by image segmentation.

[0072] Sub-regions within the set whose symmetry exceeds the doctor's minimum allowable error were selected, and contour plots were created. The colors of different sub-regions ranged from light to dark according to the magnitude of the error, reflecting the varying degrees of difference. Finally, regions on the 3D curved surface with symmetry less than the doctor's minimum allowable error were displayed on the monitor, using different colors to show the position and shape differences between ω′x,y,z) and the point cloud ω(x,y,z).

[0073] 6.2) Calculation of the volume difference between the two breasts: Select the registered point cloud ω(x,y,z) for the bottom surface and the registered point cloud ω′(x,y,z) for the top surface. Set an appropriate step size and divide the bottom surface into several discrete small grids. Update formula (14) as follows:

[0074]

[0075] Calculate the volume of each corresponding cell in each grid and sum them up. Since ω(x,y,z) and ω′(x,y,z) contain two left breasts and two right breasts, the total difference volume needs to be divided by 2 to obtain V0. The calculation of the bilateral breast volume difference, combined with the visualization of the positional difference, assists the surgeon in selecting the appropriate volume of tissue for filling at any stage of the surgery based on V0. Repeat the process, refining the breast appearance until satisfactory.

[0076] The beneficial effects of this invention are as follows: This invention addresses the problem of bilateral breast difference detection in current breast augmentation and breast cancer prognostic reshaping surgeries. It considers differences in multiple aspects such as breast volume and location, and constructs a method for bilateral breast difference detection based on 3D imaging point cloud data. A breast difference assessment environment is established, and marker points are set for patients. Through iterative updates of the planar model, a well-fitting reference plane is obtained upon final convergence, achieving horizontal fitting of point cloud data to the reference plane. A new coordinate system is defined by combining the marker points and the rotation matrix of this process. A breast region segmentation method based on a kernel-free drift clustering algorithm is designed. By mirroring the point cloud data of the breast region, the ICP iterative nearest point algorithm is used to iterate the data before and after the mirroring process to reduce errors, achieving a high degree of overlap between the affected breast and the mirrored opposite breast. This solves the problem of finding the center plane of both breasts. This invention significantly changes the current method of breast augmentation and breast cancer prognostic reshaping surgeries, which mainly relies on doctors' visual observation and judgment to formulate surgical plans. By acquiring real-time breast images and data through a 3D camera, the difference in volume and position between the two breasts can be calculated and visualized. This provides an important basic reference for doctors' personal judgment in a relatively objective way. The measurement equipment of this invention is simple and accurate, and the evaluation method is simple and easy to implement, which meets the needs of clinical use. Attached Figure Description

[0077] Figure 1 This is a schematic diagram of the layout structure of the 3D point cloud imaging device of the present invention;

[0078] Figure 2 This is the overall logic block diagram of the present invention;

[0079] Figure 3 A schematic diagram showing the location of the midpoint of the upper edge of the manubrium sternum and the xiphoid process as markers;

[0080] Figure 4 This invention describes a three-dimensional coordinate system for both breasts.

[0081] Figure 5 This is a flowchart of the 3D point cloud data acquisition part of the present invention;

[0082] Figure 6 This is a flowchart illustrating the horizontal fitting process of this invention;

[0083] Figure 7 A flowchart for establishing a three-dimensional coordinate system for this invention;

[0084] Figure 8 A flowchart for segmenting the breast region;

[0085] Figure 9 A flowchart for calculating the volume difference and visualizing the positional difference between the two breasts;

[0086] In the diagram: 1-Main control computer, 2-3D camera, 3-Operating table, 4-Gym arm. Detailed Implementation

[0087] The present invention will be further described below with reference to specific embodiments.

[0088] To achieve bilateral breast differential detection based on 3D imaging point cloud data, a specific operating environment needs to be constructed. The core components of this environment include a main control computer 1, a 3D camera 2 that transmits signals to the main control computer 1, and a simulated operating table 3. Additionally, a universal arm 4 is required to support and adjust the position and angle of these devices. Specifically, the 3D camera 2 needs to be stacked vertically and bolted to a fixed base plate. The top of the fixed base plate is connected to the bottom of the universal arm 4 via bolts, while the top of the universal arm 4 is fixed to the ceiling above the operating table 3. This design allows for flexible adjustment of the position and orientation of the 3D camera and projector by adjusting the universal arm to adapt to different surgical needs. Furthermore, two marker points need to be pre-placed on the patient's skin as reference points for determining the central axis of the 3D image.

[0089] A detection method for calculating the volume difference and visualizing the positional difference between the two breasts based on 3D imaging point cloud data includes the following steps:

[0090] A. Layout of the first step 3D point cloud imaging equipment

[0091] A1. According to Figure 1 The overall structural layout diagram shown shows the connection between the main control computer 1 and the 3D camera 2.

[0092] A2. According to Figure 3 As shown, markers are placed at the midpoint of the upper edge of the manubrium of the sternum and at the xiphoid process of the subject.

[0093] A3. Pull the boom 4 so that the 3D camera 2 connected to the boom 4 is aimed at the chest of the person being tested, and keep the distance between the front end of the lens of the 3D camera 2 and the surface of the patient's chest 950mm.

[0094] B. The second step involves preprocessing the collected point cloud data, including denoising and standardization.

[0095] B1. Use a 3D camera to collect point cloud data of the patient's chest.

[0096] B2. Use Gaussian filtering, median filtering and outlier removal to reduce noise in point cloud data.

[0097] B3. Ensure that the coordinates of the point cloud data are in the same coordinate system. If there is no scaling relationship between two or more point cloud datasets (i.e., the scale is the same), the rotation matrix and translation vector can be obtained by solving the classic ICP (Iterative Closest Point) method to align the point sets.

[0098] C. The third step is to obtain the reference plane (horizontal plane) in the point cloud data to achieve horizontal fitting of the point cloud data.

[0099] C1. Randomly select three points from the point cloud to initialize the planar model. These three points are p1(x1,y1,z1), p2(x2,y2,z2) and p3(x3,y3,z3).

[0100] C2. For each point p i (x i ,y i ,z i ), calculate its distance to the current planar model using formula (1).

[0101] C3. Based on the distance threshold, the points are divided into inliers or outliers. The parameters of the planar model are re-estimated using the inliers. The iteration stops when the change in the planar model is less than the set threshold, and the reference plane of the point cloud data is obtained.

[0102] C4. Calculate the rotation matrix using formulas (4)(5)(6)(7), and rotate the point cloud data to the position of the reference plane based on the obtained rotation matrix to achieve horizontal fitting of the point cloud data to the horizontal plane.

[0103] D. The fourth step is to establish a new three-dimensional coordinate system based on two marker points in the point cloud data after plane fitting.

[0104] D1. Determine a direction vector by the difference vector V = (x2-x1, y2-y1, z2-z1) between two landmarks—the midpoint of the upper border of the sternal manubrium (x1, y1, z1) and the xiphoid process (x2, y2, z2)—and normalize it. Finally, the normalized difference vector V′ is cross-producted with the normal vector of the reference plane obtained by C3 to obtain the Y-axis in the new three-dimensional coordinate system.

[0105] D2. Calculate the center coordinates of the Y-axis to obtain the origin of the three-dimensional coordinate system.

[0106] D3. By performing a cross product operation, we obtain the X-axis, which is perpendicular to the Y-axis and parallel to the reference plane. The Z-axis is perpendicular to both the X-axis and the Y-axis, thus establishing the three-dimensional coordinate system.

[0107] D4. Transform the original point cloud coordinates (x, y, z) into a new coordinate system using formula (8) to obtain the new coordinates (x′, y′, z′) of the point cloud data.

[0108] E. Fifth step: Use a kernel-free drift clustering algorithm to segment the bilateral breast regions.

[0109] E1. Determining the Optimal Bandwidth Parameter. The point cloud dataset is divided into training and validation sets using cross-validation. Next, a search range for the bandwidth parameter is defined, and a series of candidate parameter values ​​are selected within this range. For each candidate parameter, clustering is performed using the training set, and the clustering effect is evaluated using the validation set. The silhouette coefficient and Davies-Bouldin index are used to quantify the clustering quality during this process, and the bandwidth parameter that best results in clustering the validation set is selected.

[0110] E2. Select the initial seed point x from the point cloud data. i As the starting center for clustering, the density estimate involved in the drift vector is calculated using formula (9).

[0111] E3. Based on formula (10), update the position of each seed point. Cluster the point cloud data using the optimal bandwidth parameter obtained in E1. Repeat the above steps until the seed points tend towards the cluster center, ultimately forming clustered regions. Based on the drift vector, update the position of the seed points using formula (11).

[0112] E4. Segment the breast region point cloud based on the clustering results. Each point cloud data is assigned to a specific cluster. These clusters represent different tissues or structures. The breast region cluster is located at the center of the data points and has a high density, while other clusters represent other tissues or noise.

[0113] F. Step Six: Calculation of the volume difference and visualization of the positional difference between the two breasts.

[0114] F1. Transfer the point cloud data of the segmented breast region. Using the YOZ plane in a 3D coordinate system as the plane of symmetry, a mirror flip is performed using existing flipping techniques. The resulting 3D surface of the breast is denoted as...

[0115] F2. Point cloud after flipping Choose any point P in the middle i From point clouds Find a point q that has the shortest Euclidean distance from it. i P i and q i For the corresponding points, the transformation matrix is ​​obtained, and the registration is completed by using formula (13) as the stopping condition for the iteration.

[0116] F3. Display the registered point cloud ω′(x,y,z) and point cloud ω(x,y,z) in different colors to increase their visual position and shape differences.

[0117] F4. Select the registered point cloud ω(x,y,z) as the bottom surface and the point cloud ω′(x,y,z) as the top surface. Divide the bottom surface into several discrete small grids, calculate the volume of the corresponding element of each grid and sum them up to calculate the total difference volume V0.

[0118] The above-described embodiments are merely illustrative of the implementation methods of the present invention, but should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the protection scope of the present invention.

Claims

1. A method for detecting bilateral breast differences based on 3D imaging point cloud data, characterized in that, The steps are as follows: The first step is to construct a breast differential assessment environment and set marker points for the subjects before acquiring images; 1.1) Prepare the scanning environment: Adjust the ambient light to ensure that the target object has no glare or shadows; clear the scanning field of view to ensure that only the target object is scanned; 1.2) Setting landmarks: One landmark is set at the midpoint of the upper edge of the manubrium of the sternum and at the xiphoid process; the two landmarks provide the axis of symmetry and plane of symmetry of the actual human body for the method of detecting bilateral differences in breast tissue; 1.3) Set up the scanning device: Set the scanning device parameters to ensure that the best quality scan data is obtained; aim the scanning device at the breast area to be scanned, start the scanning process, ensure that the scanning device can completely capture the entire area, and ensure that the scanning device is moved to cover all the required angles and details; The second step involves processing the 3D point cloud image and its surface image, the drooping information of the affected breast image, the volume difference between the affected and healthy breasts, and the coordinate values—data of interest to surgical navigation—when the subject is lying flat on the operating table. 2.1) Data preprocessing: First, the collected model point cloud data is denoised by using various filtering techniques to remove noise points from the point cloud data; at the same time, based on the density and point cloud normals of the point cloud data, outliers are removed to reduce the impact of noise. 2.2) Data Standardization: The point cloud data is standardized in terms of scale and coordinates. Scale standardization ensures that the analysis is performed at the same scale, as point cloud data may have different scales. Coordinate standardization ensures that the coordinates of the point cloud data are in the same coordinate system. The third step is to divide the points in the point cloud data into inliers and outliers, and to iteratively update the plane model to better fit the inliers. Finally, when the convergence occurs, a well-fitting reference plane is obtained. Then, by calculating the rotation axis and rotation angle between the normal vector of the reference plane and the normal vector of the plane to be aligned, the rotation matrix is ​​obtained. Finally, the rotation matrix is ​​applied to the point cloud data, and the points in the point cloud are rotated and transformed by matrix multiplication, thereby achieving horizontal fitting of the point cloud data to the reference plane. 3.1) Initialize the planar model: Randomly select three points from the point cloud as the initial planar model, and use them as the starting point for the algorithm to update the initial state. Let these three points be p1(x1,y1,z1), p2(x2,y2,z2) and p3(x3,y3,z3). 3.2) Iteratively update the planar model: First, for each point p i (x i ,y i ,z i ), calculate its distance to the current planar model; point p i The distance to the planar model is calculated using the following formula: Among them, P i It is point p i Let A be a point on the plane, and n be the normal vector of the plane. The normal vector n can be obtained by calculating the cross product of two parallel vectors. n=(P2-P1)×(P3-P1) (2) Then, based on the pre-set distance threshold, the points are divided into inliers or outliers: if the distance d from the point to the planar model... i If the distance is less than or equal to the distance threshold, it is classified as an inlier; otherwise, it is classified as an outlier. Finally, the parameters of the new planar model are re-estimated using interior points. The method for re-estimated new planar models can be the least squares method or other fitting algorithms. 3.3) Convergence judgment: Check whether the number of iterations has reached the maximum number of iterations, or whether the change of the planar model is less than a certain threshold; if either condition is met, stop the iteration and obtain the reference plane of the point cloud data; 3.4) Calculate the rotation matrix: When aligning the point cloud data with the reference plane, the rotation matrix is ​​calculated first. The rotation matrix can be represented by the rotation axis and the rotation angle. The rotation axis can be calculated using the normal vector N of the reference plane. ref The normal vector N of the plane to be aligned desired Implemented using the cross product: R axis =N ref ×N desired (4) The rotation axes are normalized to ensure the validity of the rotation matrix: The rotation angle is determined by the normal vector N of the reference plane. ref The normal vector N of the plane to be aligned desired Dot product calculation: θ=cos -1 (N ref ·N desired ) (6) Convert it to a rotation matrix using axis-angle notation: R=axang2rotm([R axis ,θ]) (7) 3.5) Apply the rotation matrix to the point cloud data to achieve planar alignment; for the coordinate vector P of each point, use matrix multiplication P. aligned =R·P is used to perform a rotational transformation to achieve horizontal fitting of the point cloud data; The fourth step is to establish a three-dimensional coordinate system for the point cloud data. 4.1) Determine an axis of the three-dimensional coordinate system: Determine a direction vector by calculating the difference vector between two marker points set when acquiring the image, and perform normalization processing to obtain the Y-axis in the three-dimensional coordinate system that is parallel to the reference plane obtained by plane fitting; 4.2) Calculate the center of the marker point: Calculate the center coordinates of the central axis and use them as the origin of the three-dimensional coordinate system; 4.3) Establish a coordinate system: Select two vectors perpendicular to the Y-axis as the other two axes of the new coordinate system. The X-axis is perpendicular to the vector of the Y-axis and parallel to the reference plane obtained by plane fitting. The Z-axis is perpendicular to both the X-axis and the Y-axis. These perpendicular vectors can be obtained by cross product operation. 4.4) Coordinate System Equation: Transform each point in the point cloud data to a new coordinate system. The new coordinates (x′, y′, z′) of a point in the point cloud data are calculated using the following formula: Where (x, y, z) are the coordinates of the point in the original coordinate system, and (x0, y0, z0) are the coordinates of the origin of the new coordinate system; The fifth step is to segment the breast region using a kernel-free drift clustering algorithm; 5.1) When applying the kernel-free drift clustering algorithm, first determine the bandwidth parameter: select the optimal bandwidth parameter through cross-validation or based on data features; 5.2) Select initial seed points from the point cloud data; these points will serve as the starting centers for clustering. For each seed point, calculate the drift vector pointing in the direction of maximum data density gradient, and use a Gaussian kernel function to calculate the density estimate involved in the drift vector. Where h is the bandwidth parameter and x is the distance between points; for a given point x i , drift vector m(x i The drift vector is used to guide the direction of movement of a point in order to find the location with the highest density; the formula for calculating the drift vector is: Where, x j It is x i One of the nearest neighbors, N(x) i ) is based on x i The neighborhood of all points within the center and bandwidth; 5.3) Based on the drift vector, update the position of each seed point, moving it towards the direction of maximum data density; cluster the point cloud data using the bandwidth parameter; repeat the above steps until the seed points tend towards the cluster centers, ultimately forming clustered regions; update the seed point x based on the drift vector. i Location 5.4) Segment the point cloud of the breast region. Based on the clustering results, identify the point cloud data belonging to the breast region. For the segmentation of the point cloud data, extract the point cloud data that is identified as the breast region for subsequent symmetry evaluation. Step 6: Calculate the volume difference and visualize the positional difference between the two breasts by mirroring. 6.1) Mirror flipping and registration / alignment of point cloud data before and after flipping to visualize the positional difference between the two breasts: For the bilateral breast 3D surface difference analysis, the YOZ plane in the spatial coordinate system where the point cloud data of the segmented breast region is located is mirror flipped to visualize the 3D surface of the breast in the supine position. Based on this, the differences between the two breasts were analyzed, and the bilateral differences were measured by fusing 3D breast and ptosis information. In a 3D Cartesian coordinate system, the bilateral 3D breast images taken under supine conditions were denoted as follows: The 3D curved surface of the flipped breast is used This indicates that the breast surface is extracted from multi-source fusion information (x, y, z, d). The dataset denoted as A can be expressed as In the above formulas, (x, y, z) represent the three coordinate variables of the new 3D coordinate system; Original breast surface dataset The flipped breast surface dataset can be obtained by mirroring the breast surface on the yoz plane. The coordinates of the breast images before and after flipping have the following correspondence: the x-axis coordinates are reversed, while the y-axis and z-axis coordinates remain unchanged; Solid 3D image is denoted as This represents the 3D surface of the breast after it has been flipped; the flipped 3D surface... As a standard curved surface, solid 3D image As a comparison object, coarse registration and fine registration are performed; the initial coarse matching can be performed by selecting several pairs of special landmarks set by the doctor in advance as matching labels. After manual selection, a better initial position can be provided for subsequent precise matching; in fine registration, the ICP iterative nearest point algorithm is used to reduce the error through continuous iteration, thereby achieving the ideal accuracy value. Point cloud after flipping Let P be any point in the array. i From the original point cloud Find a point whose Euclidean distance is shortest, denoted as q. i ;P i and q i For the corresponding points, the transformation matrix is ​​derived. After multiple iterations, the most ideal transformation matrix is ​​finally obtained, making the two point clouds coincide. The stopping condition for the iteration is set as follows: Where R represents the rotation transformation matrix, T represents the translation transformation matrix, and k represents the point cloud. Total number of points; express Rotation transformation matrix of selected points in point cloud; after registration and Update to ω′(x,y,z) and ω(x,y,z); Define the volume error function between the meshed solid breast and the mirrored standard breast surface: V (3D) (x i ,and j ,z i,j )=∫∫ S [ω(x i ,and j ,z i,j )-ω′(-x i ,and j ,z i,j )]dxdy (14) i and j represent the indices of the x and y directions in the new coordinate system, respectively, z i,j Indicates with x i ,y j The corresponding surface height and shape, S represents the set of sub-regions with volume differences in the solid breast or standard breast obtained by image segmentation; the sub-regions in this set that are greater than the minimum error specified by the doctor are selected, and contour maps are drawn. The colors of different sub-regions are from light to dark according to the size of the error to reflect the different degrees of their differences; finally, the regions on the 3D surface with symmetry less than the minimum error specified by the doctor are displayed on the monitor, and the position and shape differences of ω′(x,y,z) and point cloud ω(x,y,z) are displayed in different colors; 6.2) Calculation of the volume difference between the two breasts: Select point cloud ω(x,y,z) for the bottom surface and point cloud ω′(x,y,z) for the top surface. Set an appropriate step size and divide the bottom surface into several discrete small grids. Update formula (14) as follows: Calculate the volume of each corresponding cell in the grid and sum them up. Since ω(x,y,z) and ω′(x,y,z) contain two left breasts and two right breasts, the total difference volume needs to be divided by 2 to get V0. The calculation of the volume difference between the two breasts is combined with the visualization of the position difference.

2. The method for detecting bilateral breast differences based on 3D imaging point cloud data according to claim 1, characterized in that, In step 3.2), let the set of indices of the interior points be Inliers. In the step of re-estimating the plane model, the points in Inliers are used to solve the following system of equations using a least-squares fitting algorithm to obtain the new plane model parameters: n·P=c (3) Where P is the coordinate matrix of the interior point, and c is a constant vector related to the plane position.

Citation Information

Patent Citations

  • Point cloud repaid registration method

    CN113284170A

  • Virtual-real fusion navigation system and method in shape remodeling operation of breast operation

    CN114557772A