A method, device, equipment and medium for measuring breast morphology

By calibrating the parameters of the DOBI system and the DMD structured light device, the absolute phase difference of the breast imitation is measured and the morphological point cloud data is calculated, which solves the problem of large breast morphological measurement error in the prior art and improves the breast morphological measurement accuracy and reliability of diffusion light chromatography reconstruction.

CN118844982BActive Publication Date: 2024-12-06ZHEJIANG DOLBY MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411355590.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-06
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

The existing breast morphology measurement methods have large errors in dynamic optical breast imaging systems, and the breast morphology data cannot be accurately obtained, which affects the accuracy of diffused light tomography reconstruction.

Method used

By calibrating internal and external parameters of the DOBI system and DMD structured light device, the camera and structured light parameters are obtained, the absolute phase difference between the breast atomizer and the reference plane is measured, the surface morphology height information is calculated, and the x-coordinates of pixel points are solved. and y coordinates to generate morphological point cloud data.

Benefits of technology

It improves the accuracy and accuracy of breast morphology measurement, provides accurate and reliable breast morphology data, and enhances the reliability of diffused light chromatography reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118844982B_ABST
    Figure CN118844982B_ABST
Patent Text Reader

Abstract

The present application discloses a breast morphology measurement method, device, equipment and medium, which relates to the technical field of computer graphics, including: calibrating the internal and external parameters of a DOBI system and a DMD structured light device, obtaining the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device; placing a breast phantom to be measured on a calibration table of a calibrated DOBI system, pressing down the C-arm of the DOBI system, pressing the breast phantom to be measured, turning on the DMD structured light device, measuring and obtaining the absolute phase difference between the breast phantom to be measured and a reference plane; calculating the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters and the absolute phase difference, solving the x-coordinate information and the y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information, so as to obtain the morphology point cloud information of the breast phantom to be measured. Accurate breast data can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer graphics, and in particular to a method, device, equipment and medium for measuring breast morphology. Background Art

[0002] Dynamic Optical Breast Imaging (DOBI) is a breast cancer diagnosis and screening system based on diffuse light. It uses infrared light with a wavelength of 640 nanometers to penetrate breast tissue for detection in the form of diffuse light. It uses a camera to record the image of the surface of the breast tissue emitted by the diffuse light, and infers the distribution of optical parameters inside the breast tissue through the diffuse light tomography reconstruction algorithm, and then determines whether the breast cancer is benign or malignant. The accuracy of diffuse light tomography reconstruction depends to a certain extent on the accuracy of the medium contour in the reconstruction model, and it is necessary to obtain the most realistic breast morphology for reconstruction through measurement. The breast morphology estimation algorithm in the DOBI reconstruction algorithm is not a direct morphology measurement method. The DOBI breast morphology estimation algorithm is an indirect morphology estimation algorithm with a very high approximation length. The morphology data obtained by it can barely be used for the reconstruction of DOBI dynamic signals, but cannot be used for the estimation of the absolute value of breast optical properties, and is also not suitable for high-precision numerical calculations such as finite element and Monte Carlo simulation. Therefore, the assumption of breast homogeneity cannot be guaranteed, and the equivalent principle of Lambert-Beer law cannot be established at the edge of the breast. There is interference from additional light sources between the grayscale of the image captured by the camera and the actual brightness, and it is also difficult to determine the initial brightness of the LED (Light Emitting Diode) light source. The DOBI algorithm obtains an unreasonable saddle-shaped breast surface morphology. The morphology calculation results are output in the form of pixel coordinates, and there are rotations, translations, perspectives and other transformations between pixel coordinates and real-world coordinates, which are not considered by the DOBI algorithm. Therefore, the existing breast morphology measurement methods have large errors, and the obtained breast morphology data is inaccurate. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a breast morphology measurement method, device, equipment and medium, which can directly obtain accurate breast morphology measurement data. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a method for measuring breast morphology, comprising:

[0005] Calibrate the internal and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device;

[0006] The breast phantom to be measured is placed on the calibrated calibration platform of the DOBI system, and the C-arm of the DOBI system is pressed down to compress the breast phantom to be measured, and the DMD structured light device is turned on to measure and obtain the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform;

[0007] The surface morphology height information of the breast phantom to be measured is calculated according to the structured light parameters, the camera parameters, and the absolute phase difference, and the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured are solved according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured.

[0008] Optionally, the calibrating internal parameters and external parameters of the DOBI system and the DMD structured light device to obtain camera parameters of the DOBI system and structured light parameters of the DMD structured light device includes:

[0009] Remove the pressurized airbag of the DOBI system and place the calibration plate on the DOBI system light board;

[0010] Lighting up the DMD structured light device according to a preset calibration mode, controlling the C-arm of the DOBI system to move to four different preset heights, and respectively collecting calibration images including a calibration plate grid and a DMD dot matrix at each preset height;

[0011] Acquire the correspondence between pixel coordinates and position coordinates according to the position coordinates of the pixel coordinates of each calibration plate grid in the calibration image in the light board coordinate system of the DOBI system light board;

[0012] Performing interpolation processing according to the corresponding relationship and the pixel coordinates of each pixel point of the DMD dot matrix in the calibration image to obtain the position coordinates in the light board coordinate system;

[0013] Each position coordinate is converted into a three-dimensional position coordinate in a three-dimensional space coordinate system, and the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device are respectively calculated according to the corresponding relationship, the three-dimensional position coordinate and each position coordinate in the light board coordinate system.

[0014] Optionally, before lighting up the DMD structured light device according to a preset calibration mode, the method further includes:

[0015] The measurement mode of the DMD structured light device is set to ;in, is the time sequence number, is the DMD imaging plane row index, represents the brightness modulation function;

[0016] When the sequence number is When the DMD structured light device is set to light up a preset calibration mode of 16 pixels with row and column indices of 114, 341, 568, and 795 according to the measurement mode.

[0017] Optionally, placing the breast phantom to be measured on the calibrated calibration platform of the DOBI system, pressing down the C-arm of the DOBI system to compress the breast phantom to be measured, turning on the DMD structured light device, and measuring and acquiring the absolute phase difference between the breast phantom to be measured and the reference plane, comprises:

[0018] Placing a background white paper on the light board of the DOBI system, then placing a breast phantom to be measured on the background white paper, and pressing down the C-arm of the DOBI system to compress the breast phantom to be measured;

[0019] Lighting up the DMD structured light device, acquiring a DMD structured light fringe image including the breast phantom to be measured and the background white paper, and performing phase map calculation and region segmentation processing on the DMD structured light fringe image to obtain a phantom region map of the breast phantom to be measured and a background white paper region map;

[0020] The corresponding absolute phases of the phantom region map and the background white paper region map are respectively obtained, and the difference of the absolute phases is calculated to obtain the absolute phase difference between the breast phantom to be measured and the background white paper.

[0021] Optionally, lighting up the DMD structured light device to obtain a DMD structured light stripe image including the breast phantom to be measured and the background white paper includes:

[0022] The DMD structured light device is illuminated according to the measurement mode to generate structured light of different phases, and the camera of the DOBI system is used to collect the light in the preset resolution mode. Each DMD structured light stripe image under the time sequence number;

[0023] Accordingly, the DMD structured light fringe image is subjected to phase map calculation and region segmentation processing to obtain a phantom region map and a background white paper region map of the breast phantom to be measured, including:

[0024] Calculating the relative phase map of each of the DMD structured light fringe images, and superimposing each of the DMD structured light fringe images to obtain a DMD structured light fringe superimposed image;

[0025] The DMD structured light stripe superposition image is subjected to binarization processing, image corrosion and expansion processing, and connected region extraction processing in sequence to obtain a connected region map;

[0026] An edge map is obtained by performing image edge extraction processing on the connected region map, and an image dilation and corrosion processing is performed on the edge map to divide the edge map into multiple independent region maps, and the lowest independent region map among the independent region maps is used as the phantom region map of the breast phantom to be measured, and the other independent region maps except the phantom region map are used as background white paper region maps.

[0027] Optionally, the step of respectively acquiring the corresponding absolute phases of the phantom region map and the background white paper region map, and calculating the difference of the absolute phases to obtain the absolute phase difference between the breast phantom to be measured and the background white paper, comprises:

[0028] Calculating a phantom region bounding box according to the phantom region map, and performing absolute phase calculation on the interior of the bounding box of the phantom region bounding box to obtain an absolute phase distribution map of the phantom region map;

[0029] The pixel points in the relative phase image except the background white paper area are set to 0 to obtain the edge image to be extracted;

[0030] Performing edge extraction and straight line transformation on the edge map to be extracted to screen a target straight line that meets the peak condition, and calculating the slope information and intercept information of the target straight line, and then interpolating and estimating the absolute phase distribution map of the background white paper area map according to the slope information and intercept information of the target straight line;

[0031] The absolute phase distribution diagram of the phantom region diagram and the absolute phase distribution diagram of the background white paper region diagram are subjected to difference processing, and the values ​​except the phantom region are set to 0 to obtain the absolute phase difference.

[0032] Optionally, the calculating the surface topography height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference includes:

[0033] The surface topography height information of the breast phantom to be measured is calculated according to the center position z coordinate difference, y coordinate difference, the absolute phase difference, and the spatial modulation frequency of the structured light parameter between the structured light parameter and the camera parameter.

[0034] In a second aspect, the present application discloses a breast topography measurement device, comprising:

[0035] A calibration module, used for calibrating the internal and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device;

[0036] The phase difference measurement module is used to place the breast phantom to be measured on the calibration platform of the calibrated DOBI system, and press down the C-arm of the DOBI system to press the breast phantom to be measured, turn on the DMD structured light device, and measure and obtain the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform;

[0037] A morphology generation module is used to calculate the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and to solve the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured.

[0038] In a third aspect, the present application discloses an electronic device, comprising:

[0039] Memory, used to store computer programs;

[0040] A processor is used to execute the computer program to implement the steps of the aforementioned breast topography measurement method.

[0041] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned breast morphology measurement method are implemented.

[0042] It can be seen that the present application discloses a breast morphology measurement method, including: calibrating the internal parameters and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters located in the DOBI system and the structured light parameters located in the DMD structured light device; placing the breast phantom to be measured on the calibration table of the calibrated DOBI system, and pressing down the C-arm of the DOBI system to press the breast phantom to be measured, turning on the DMD structured light device, measuring and acquiring the absolute phase difference between the breast phantom to be measured and the reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration table; calculating the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solving the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured. It can be seen that by accurately calibrating the parameters of the DOBI system and the DMD structured light device, the accuracy and precision of the measurement can be improved, thereby obtaining more accurate surface morphology information of the breast phantom. Using a direct breast morphology measurement method instead of the DOBI breast morphology estimation algorithm to obtain accurate and reliable breast morphology makes the DOBI diffuse light tomography reconstruction results more reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 This is a flow chart of a breast morphology measurement method disclosed in this application;

[0045] Figure 2 A scatter plot of DMD under the 5th time sequence number disclosed in this application;

[0046] FIG3 (a) is a calibration image of a calibration plate grid and a DMD dot matrix at a C-arm height of 30 mm disclosed in the present application;

[0047] FIG3 ( b ) is a calibration image of a calibration plate grid and a DMD dot matrix at a C-arm height of 50 mm disclosed in the present application;

[0048] FIG3 (c) is a calibration image of a calibration plate grid and a DMD dot matrix when the height of the C-arm is 70 mm disclosed in the present application;

[0049] FIG3 (d) is a calibration image of a calibration plate grid and a DMD dot matrix when the height of the C-arm is 90 mm disclosed in the present application;

[0050] Figure 4 This is a schematic diagram of the structure of a breast topography measurement device disclosed in this application;

[0051] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0053] Dynamic optical breast imaging (DOBI) is a breast cancer diagnosis and screening system based on diffuse light. It uses infrared light with a wavelength of 640 nanometers to penetrate breast tissue for detection in the form of diffuse light. It uses a camera to record the image of the surface of the breast tissue emitted by the diffuse light, and infers the distribution of optical parameters inside the breast tissue through the diffuse light tomography reconstruction algorithm, and then judges the benign or malignant nature of the breast cancer. The accuracy of diffuse light tomography reconstruction depends to a certain extent on the accuracy of the medium contour in the reconstruction model, and it is necessary to obtain the most realistic breast morphology for reconstruction through measurement means. The breast morphology estimation algorithm in the DOBI reconstruction algorithm is not a direct morphology measurement method. The DOBI breast morphology estimation algorithm is an indirect morphology estimation algorithm with a very high approximation length. The morphology data obtained by it can barely be used for the reconstruction of DOBI dynamic signals, but cannot be used for the estimation of the absolute value of breast optical properties, and is also not suitable for high-precision numerical calculations such as finite element and Monte Carlo simulation. Therefore, the assumption of breast homogeneity cannot be guaranteed, and the equivalent principle of Lambert-Beer's law cannot be established at the edge of the breast. There is interference from additional light sources between the grayscale of the image captured by the camera and the actual brightness, and it is also difficult to determine the initial brightness of the LED light source. The DOBI algorithm obtains an unreasonable saddle-shaped breast surface morphology. The morphology calculation results are output in the form of pixel coordinates, and there are rotations, translations, perspectives and other transformations between pixel coordinates and real-world coordinates, which are not considered by the DOBI algorithm. Therefore, the existing breast morphology measurement methods have large errors, and the obtained breast morphology data is inaccurate.

[0054] To this end, the present invention provides a breast topography measurement solution, which can directly obtain accurate breast topography measurement data.

[0055] Reference Figure 1As shown, the embodiment of the present invention discloses a method for measuring breast morphology, comprising:

[0056] Step S11: calibrating the internal parameters and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device.

[0057] In this embodiment, the breast topography measurement method is implemented by a breast topography measurement system, wherein the breast topography measurement system includes a DOBI system (containing a camera) and a DMD (Digital Micromirror Devices) structured light device, and the structured light is located near the camera of the DOBI system. Therefore, the camera of the DOBI system and the DMD structured light device in the breast topography measurement system are calibrated. It should be noted that the parameter calibration includes the calibration of the internal parameters of the camera, the calibration of the external parameters of the camera, and the calibration of the structured light parameters. Specifically, the parameter calibration process includes two steps: mode setting and calibration execution, as shown below:

[0058] The measurement mode of the DMD structured light device is set to ;in, is the time sequence number, is the DMD imaging plane row index, represents the brightness modulation function; when the sequence number is When the DMD structured light device is set to light up the preset calibration mode of 16 pixels with row and column indexes of 114, 341, 568, and 795 according to the measurement mode. It can be understood that the DMD structured light mode is set first, (a) measurement mode preset: the DMD size used in the present invention is 1140*912. The DMD measurement mode brightness modulation is ;in, is the time sequence number, is the DMD imaging plane row indicator, and the phase difference is shown in the first four moments. The DMD structured light device generates structured light in the measurement mode. When the structured light is irradiated on a plane perpendicular to the DMD optical axis, it leaves sinusoidal horizontal stripes. (b) Preset calibration mode: In the timing number When the DMD structured light device only lights up 16 pixels with row and column indices of 114, 341, 568, and 795, the pixel coordinates of each pixel are marked as , count 16 pixels and get the DMD dot matrix, such as Figure 2 shown.

[0059] Remove the pressurized airbag of the DOBI system and place the calibration plate on the DOBI system light board; light up the DMD structured light device according to the preset calibration mode, control the C-arm of the DOBI system to move to four different preset heights, and respectively collect calibration images containing the calibration plate grid and the DMD dot matrix at each preset height; obtain the correspondence between the pixel coordinates and the position coordinates according to the position coordinates of the pixel coordinates of each calibration plate grid in the calibration image in the light board coordinate system of the DOBI system light board; perform interpolation processing according to the correspondence and the pixel coordinates of each pixel point of the DMD dot matrix in the calibration image to obtain the position coordinates in the light board coordinate system; convert each position coordinate into a three-dimensional position coordinate in a three-dimensional space coordinate system, and calculate the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device according to the correspondence, the three-dimensional position coordinates, and the position coordinates in the light board coordinate system. It can be understood that the DOBI system is calibrated according to the mode setting of the DMD structured light device. Specifically, the pressurized airbag of the DOBI system is removed, the calibration plate is placed on the DOBI system light board, and the DMD structured light device is turned on to set the preset calibration mode. The DOBI system's camera is used to collect images of the calibration plate grid and the DMD dot matrix at the height of the DOBI system's C-arm of 30mm (millimeter), 50mm, 70mm, and 90mm. The image is called a calibration image, and the size is 2704*3360, where Figure 3 (a) shows the calibration image of the calibration plate grid and the DMD dot matrix at a height of 30mm; Figure 3 (b) shows the calibration image of the calibration plate grid and the DMD dot matrix at a height of 50mm; Figure 3 (c) shows the calibration image of the calibration plate grid and the DMD dot matrix at a height of 70mm; Figure 3 (d) shows the calibration image of the calibration plate grid and the DMD dot matrix at a height of 90mm. Then, the image information of each calibration image is extracted to generate pixel-coordinate correspondence. (a) Extract the pixel coordinates of the calibration grid in the four calibration images above. , and calculate the position coordinates of these points in the light board coordinate system from their positions on the calibration board The light board coordinate system is established with the center of the No. 7 LED light hole of the DOBI system light board as the origin, the right direction of the outer edge of the light board as the positive direction of the x-axis, and the vertical direction of the light board upward as the positive direction of the z-axis. (b) Extract the pixel coordinates of the DMD dot matrix in the calibration image As , and according to the previous step (a) and The corresponding relationship is used to interpolate the position coordinates of the DMD dot matrix in the light board coordinate system. (c) When the C-arm height is 30 mm, the surface of the DOBI system light board is the z=0 plane. Then the spatial coordinates (3D position coordinates) corresponding to the pixel points of all calibration board grids extracted when the C-arm height is 30 mm become , calibrate the spatial coordinates of the DMD dot matrix in the image The relationship between the pixel points of the calibration plate grid and the coordinate system of the light board changes, so I will not elaborate on this. Since there is a 60-degree angle between the DOBI system light board and the C-arm, the spatial coordinates of the pixel points of each calibration plate grid in the calibration image when the C-arm height is 50, 70, and 90 mm (3D position coordinates) becomes , , Finally, the camera parameters and DMD structured light parameters of the DOBI system are solved based on the corresponding relationship between pixels and coordinates. Specifically, according to the pixel coordinates of the calibration grid obtained , calibrate the spatial coordinates of each pixel in the image , pixel coordinates of DMD dot matrix , the spatial coordinates of the DMD lattice , corresponding relationship, and according to the pinhole imaging model, the pixel coordinates and the spatial coordinates have the following relationship:

[0060] ;Formula (1)

[0061] in, are the components of the rotation matrix, are displacement vector components, which together describe the posture and position information of the camera or DMD and are its external parameters. and is the focal length in the image column and row directions, and are the projected pixel coordinates of the camera or DMD optical axis of the DOBI system on the imaging plane, which describe the internal parameters of the camera or DMD of the DOBI system. Solving the internal and external parameters in this expression is equivalent to solving the optimal solution of the following set of equations:

[0062] ;Formula (2)

[0063] Among them, A and B are constructed from known quantities, r0 and c0 represent the row and column of the image pixel coordinates respectively. After calculating W, all components of the intrinsic and extrinsic parameters can be obtained using the unit orthogonality of the rotation matrix r. Generally speaking, there is lens distortion in camera imaging or DMD dot matrix, that is, there is a deviation between the observed image pixel position and the pixel position in the ideal pinhole imaging model. This deviation can be described as:

[0064] ;Formula (3)

[0065] in, are the distortion parameters, which are related to The relationship cannot be linearized. It is noted that the internal and external parameters can be linearly solved, but the distortion parameters cannot. The present invention adopts a hybrid optimization method to solve these parameters. The steps are as follows: (a) Assume that all distortion parameters are 0, and use formula (2) to solve the internal and external parameters in the distortion-free case. (b) Fix the internal and external parameters obtained in (a), and use the Adam (adaptive motion estimation algorithm) algorithm to optimize and update the distortion parameters. (c) Fix the distortion parameters obtained in (b), and use the method in (a) to solve the internal and external parameters under the distortion parameters. (d) Repeat steps (b) and (c) until the internal and external parameters are solved according to the parameters and Predicted pixel positions and experimentally obtained The difference is less than 4 pixels (less than 0.2% of the image size, most of the error comes from feature size error). (e) Based on the external parameters r and t, the center position and optical axis direction of the camera or DMD are solved. The center position is , the optical axis direction is The center position at this time is the center position when the C-arm height is 30mm. According to the actual C-arm height hc, the center position needs to be adjusted to The internal, external and distortion parameters are output as calibration results, where the parameters of the DOBI system camera are recorded as the structure cam, and the parameters of the DMD are recorded as the structure dmd.

[0066] Step S12: placing the breast phantom to be measured on the calibrated calibration platform of the DOBI system, pressing down the C-arm of the DOBI system to compress the breast phantom to be measured, turning on the DMD structured light device, measuring and acquiring the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform.

[0067] In this embodiment, a background white paper is placed on the light board of the DOBI system, and then a breast phantom to be measured is placed on the background white paper, and the C-arm of the DOBI system is pressed down to compact the breast phantom to be measured; the DMD structured light device is turned on to obtain a DMD structured light stripe image including the breast phantom to be measured and the background white paper, and the DMD structured light stripe image is subjected to phase map calculation and region segmentation processing to obtain a phantom region map and a background white paper region map of the breast phantom to be measured; the corresponding absolute phases of the phantom region map and the background white paper region map are respectively obtained, and the difference in the absolute phases is calculated to obtain the absolute phase difference between the breast phantom to be measured and the background white paper. Specifically, the DMD structured light device is turned on according to the measurement mode to generate structured light of different phases, and the camera of the DOBI system is used to collect the image in a preset resolution mode. Each DMD structured light stripe image under the timing number; it can be understood that a white paper background is placed on the light board of the DOBI acquisition system, and then the phantom is placed, and the C-arm is pressed down to press the phantom. Inflate the DOBI system airbag to a pressure of 10 mmHg to simulate the DOBI data acquisition state. Record the height of the C-arm hc. Light up the DMD, use the measurement mode to generate structured light of different phases, and use the DOBI system camera in the highest resolution mode to collect DMD structured light stripe images under the four timing numbers 1, 2, 3, and 4.

[0068] Furthermore, the DMD structured light stripe image is subjected to phase map calculation and region segmentation processing to obtain a phantom region map and a background white paper region map of the breast phantom to be measured, including: calculating the relative phase map of each of the DMD structured light stripe images, and superimposing each of the DMD structured light stripe images to obtain a DMD structured light stripe superimposed image; sequentially performing binarization processing, image corrosion and dilation processing, and connected region extraction processing on the DMD structured light stripe superimposed image to obtain a connected region map; performing image edge extraction processing on the connected region map to obtain an edge map, performing image expansion and corrosion processing on the edge map to divide the edge map into multiple independent region maps, and using the bottom independent region map of each of the independent region maps as the phantom region map of the breast phantom to be measured, and using the other independent region maps except the phantom region map as the background white paper region map. It can be understood that the relative phase map calculation processing is performed on the obtained DMD structured light stripe image through the phase map calculation formula, and the calculated relative phase map is recorded. The phase diagram calculation formula is as follows:

[0069] ;Formula (4)

[0070] in, For the four timing numbers 1, 2, 3, and 4, the phase is DMD structured light stripe image.

[0071] The four DMD structured light stripe images are averaged to obtain the DMD structured light stripe superposition image (superposition map), and the superposition map is binarized using the threshold of 50% of the maximum brightness of the superposition map to obtain a binary image. The binary image is eroded and expanded, and the connected areas of the binary image are extracted. The connected area with the largest area is retained in the binary image, and the other areas are set to 0 to obtain a connected area map. The connected area is the highlight area composed of the breast phantom to be measured and the background white paper area. (b) Calculation (.* represents the multiplication of corresponding elements, M represents the superposition map, and B represents the connected region map). Specifically, the edge extraction algorithm is used to extract the edge map in the connected region map (the connecting edge between the breast phantom to be measured and the background white paper). The edge map is expanded and eroded so that the edges are connected to each other, and the edge map is divided into several independent areas, among which the lowest area is the phantom region map corresponding to the breast phantom to be measured. In the edge map, the value of this area is set to 1, and the values ​​of the other areas are set to 0. E represents the phantom area. (c) Calculate the background white paper region map: .

[0072] Further, a phantom region bounding box is calculated based on the phantom region map, and an absolute phase calculation is performed inside the bounding box of the phantom region bounding box to obtain an absolute phase distribution map of the phantom region map. It can be understood that the absolute phase distribution map of the phantom region map is calculated as follows: (a) The phantom region bounding box is calculated based on the phantom region map. (b) The absolute phase distribution map of the phantom region is calculated inside the bounding box using the following absolute phase distribution map calculation method: .

[0073] First calculate the phase diagram The first-order derivatives dy and dx in the row and column directions are obtained, and the first-order derivatives are subtracted or added to the pixels outside the interval (-π,π], and mapped back to the interval (-π,π]. Then, the second-order derivatives ddy and ddx in the row and column are calculated based on the first-order derivatives. The obtained second-order derivatives are added and discrete cosine transform is performed, that is, .right Perform low-pass filtering to obtain Finally, the absolute phase can be obtained by performing an inverse cosine transform . Calculate the absolute phase of the phantom area map and the reference plane of the breast phantom to be measured. , in this way, the absolute phase distribution map of the phantom area can be obtained .

[0074] In this embodiment, the pixel points in the relative phase map except the background white paper area are set to 0 to obtain the edge map to be extracted; the edge map to be extracted is subjected to edge extraction and straight line transformation to screen the target straight line that meets the peak condition, and the slope information and intercept information of the target straight line are calculated, and then the absolute phase distribution map of the background white paper area map is estimated by interpolation based on the slope information and intercept information of the target straight line; the absolute phase distribution map of the phantom area map and the absolute phase distribution map of the background white paper area map are subjected to difference processing, and the values ​​except the phantom area are set to 0 to obtain the absolute phase difference. It can be understood that a step of calculating the absolute phase distribution map of the reference plane (background white paper area map) is as follows: (a) the relative phase map of the DMD structured light stripe image is obtained; (b) the relative phase map of the phantom area map is obtained; and (c) the absolute phase distribution map of the background white paper area map is obtained. Set the pixels outside the background white paper area to 0, and get (b) Yes Use the Canny operator to extract edge features, the most important of which is (c) Hough transform of edge map calculated using Hough line extraction algorithm , select the column where the strongest peak is located, recorded as L. The strongest peak represents the strongest straight line feature. The column index of this column can calculate the slope k of the straight line based on the Hough transform parameters, and the row index represents the intercept of the straight line on the left side of the image. (d) By identifying the peak position in L, the intercept b of the different order fringes in the relative phase image is obtained. The relative phase fringes of the reference plane have almost the same slope, which is k, and the phase difference between two adjacent parallel lines is fixed at 2π. The absolute phase distribution diagram of the estimated reference plane (background white paper area diagram) can be interpolated from this Then and The absolute phase difference is obtained by subtracting the corresponding pixel values It can be seen that by using the image segmentation and feature extraction method to extract and fit the reference plane information in the phantom fringe image, the problem of the difficulty in collecting the reference plane in the actual acquisition process of the DOBI system is overcome. At this point, the height map of each pixel can be calculated. . Given the known camera parameters, It can be further converted into a 3D surface point cloud. However, due to the presence of the DOBI system pressurized airbag, the captured phantom stripes will have reflective bright spots. It will also be affected and have potholes.

[0075] Another method of calculating the absolute phase distribution map of the reference plane (background white paper area map) is as follows: After the height of the C-arm is changed, take out the breast phantom to be measured or the subject to be measured and leave the test bench, and then reset the C-arm to the height hc. Place a flat diffuse reflection plate on the light board as a reference plane, and use the above-mentioned method of calculating the absolute phase distribution map of the phantom area inside the bounding box to calculate and obtain the absolute phase distribution map of the reference plane. Specifically, (a) Use a flat diffuse reflection plate to place it on the DOBI system light board. (b) Use the DOBI system camera to collect four phase stripes in the DMD measurement mode when the C-arm height is 30, 50, 70, and 90 mm. The method of calculating the absolute phase distribution map of the phantom area inside the bounding box separately calculates the absolute phase distribution at different C-arm heights, and interpolates the absolute phase distribution map at the height according to the C-arm height h in actual use:

[0076] ;

[0077] in, and are the lower and upper boundaries of the interval where the C-arm height is located, and It is the absolute phase distribution diagram actually measured at the lower boundary and the upper boundary of the interval.

[0078] The difference between the absolute phase of the reference plane and the absolute phase of the object to be measured is very small, resulting in a non-negligible error in the pre-recorded reference plane over time. In addition, the operation is complicated and the camera cannot be guaranteed to be in the same position, which is also affected by the degree of inflation of the airbag.

[0079] Use Gaussian smoothing , (a) dilate the edge map, dilate a circle (the edge map corresponds to (b) Extract the extra points after the edge map is expanded as the point group e for which the new height needs to be calculated (the original height value of these points is 0). (c) Centered on a point in the point group e, select an 11*11 pixel area, use a plane to fit all non-0 height pixels and their local row and column coordinates, and predict the height of the point. (d) Repeat step c for all points in the point group e. (e) Repeat steps (a), (b), (c), and (d) 20 times to obtain the expanded Image. (f) The image is smoothed with a window of 10, and we get The image expansion processing here is mainly to eliminate the edge effect during Gaussian smoothing. It can be seen that the post-processing of DMD structured light height by image expansion and Gaussian smoothing method reduces the influence of the pressurized airbag of the DOBI system on the shape height measurement.

[0080] In this embodiment, compared with the aforementioned calculation process of calculating the absolute phase distribution map of the phantom area of ​​the breast phantom to be measured, calculating the absolute phase distribution map of the background white paper area map, and calculating the absolute phase difference of the difference between the two, the present invention provides another specific implementation method, in which the camera and DMD structured light of the DOBI system actually constitute a system similar to a binocular camera. After completing the calibration of their parameters, after the calculation step of the absolute phase distribution map of the breast phantom to be measured, the closest point between the pixel ray of the DMD structured light stripe and the pixel ray of the camera is directly solved to calculate the morphology, and the steps are as follows:

[0081] The camera pixel rays of the stripe features are calculated using the camera parameters. The Canny operator is used to extract the edge map of the phantom area. The stripe features are grouped according to connectivity to obtain pixel expressions for different groups of stripes. The ray equations corresponding to the stripe pixels of the camera are expressed using the above method. .

[0082] Use DMD structured light parameters to calculate the stripe surface equation. According to the calibration settings of the camera and DMD structured light device of the DOBI system, the DMD structured light is periodically modulated in its 'imaging' plane, and the pixel expression corresponding to its bright stripes can be calculated. Represents the ray equation corresponding to the pixel points of the DMD stripe. Since it is impossible to establish the pixel correspondence between the camera stripe and the DMD structured light stripe, it is impossible to use the binocular depth vision method to calculate the three-dimensional morphology. Here it is assumed that the rays corresponding to the pixels of the DMD stripe are on a plane (this assumption ignores the existence of DMD lens distortion). The least squares method is used to calculate the plane equation that is closest to the pixel point ray group on each DMD structured light stripe as the surface equation of the stripe.

[0083] Calculate the intersection points of all camera stripe pixel rays and the DMD structured light stripe surface as the XYZ coordinates of the morphology. The steps are as follows: (a) Select the first group of camera stripe pixel rays (the group with the smallest row coordinates, corresponding to the smallest morphology Z coordinates), and find the group of intersection points between it and all DMD structured light stripe surfaces, recorded as Select the intersection group whose z coordinate is smaller than 0 and whose z coordinate mean is the smallest. The DMD structured light stripe surface corresponding to it is the first stripe left by the structured light on the phantom area, which is recorded as (b) Select the i-th camera stripe pixel ray and calculate its correlation with the i-th camera stripe pixel ray. (c) Combine all the calculated intersection points to get the 3D spatial position of the DMD structured light stripes on the phantom surface. (d) Use smoothing, fitting and other methods to get the complete correspondence between the camera image and the 3D spatial position.

[0084] Step S13: Calculating the surface topography height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solving the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface topography height information to obtain the topography point cloud information of the breast phantom to be measured.

[0085] In this embodiment, the surface topography height information of the breast phantom to be measured is calculated based on the z coordinate difference of the center position between the structured light parameters and the camera parameters, the y coordinate difference, the absolute phase difference, and the spatial modulation frequency of the structured light parameters. It can be understood that the steps of calculating the relevant coefficients and correction terms are as follows: (a) Obtain H1 and H2, where H1 and H2 are the z coordinates of the center positions of the camera and DMD parameter structures cam and dmd of the DOBI system, respectively. (b) Then obtain the y coordinate difference d of the center positions of cam and dmd. (c) It is the absolute phase difference. The present invention uses As . (d) The length of line segment AF is estimated based on the camera parameter cam. The length of line segment AF is actually the difference between the y coordinate of the intersection of the camera pixel ray and the light board plane and the y coordinate of the camera center position. (e) f0 is calculated based on the DMD parameters. f0 is the spatial modulation frequency of the DMD structured light.

[0086] The topography height distribution map is calculated using the following formula , set the height of pixels outside the edge map area to 0. The topography height distribution map is the z-axis coordinate distribution of the upper surface topography of the breast phantom to be measured. .

[0087] ;

[0088] Finally, the camera parameter structure cam is used to determine the z-axis coordinate distribution of the upper surface morphology of the breast phantom to be measured. , calculate the corresponding and Specifically, (a) calculate the camera pixel ray according to the camera parameters. Assume that pixel , and its ray direction in the camera coordinate system is:

[0089] ;

[0090] Use the rotation matrix of the camera relative to the world coordinates (the world coordinates are based on the center of the DOBI light board No. 7 when the C-arm height is 30mm) to convert the ray direction to the direct coordinate ray direction , and then Normalize. (b) Calculate the camera center and direction The straight line in Where The conversion is performed according to the following formula:

[0091] ;

[0092] So far, the height distribution diagram of the morphology is obtained. The corresponding XYZ coordinates are the point cloud of the upper surface morphology of the breast phantom to be measured. In this way, the measured breast morphology is closer to the real morphology than the estimated result, so in the diffuse light tomography reconstruction, the reconstruction result can be closer to the real situation.

[0093] It can be seen that the present application discloses a breast morphology measurement method, including: calibrating the internal parameters and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters located in the DOBI system and the structured light parameters located in the DMD structured light device; placing the breast phantom to be measured on the calibration table of the calibrated DOBI system, and pressing down the C-arm of the DOBI system to press the breast phantom to be measured, turning on the DMD structured light device, measuring and acquiring the absolute phase difference between the breast phantom to be measured and the reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration table; calculating the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solving the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured. It can be seen that by accurately calibrating the parameters of the DOBI system and the DMD structured light device, the accuracy and precision of the measurement can be improved, thereby obtaining more accurate surface morphology information of the breast phantom. Using a direct breast morphology measurement method instead of the DOBI breast morphology estimation algorithm to obtain accurate and reliable breast morphology makes the DOBI diffuse light tomography reconstruction results more reliable.

[0094] Reference Figure 4 As shown, the present invention also discloses a breast shape measuring device, comprising:

[0095] A calibration module 11 is used to calibrate the internal and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device;

[0096] The phase difference measurement module 12 is used to place the breast phantom to be measured on the calibration platform of the calibrated DOBI system, and press down the C-arm of the DOBI system to press the breast phantom to be measured, turn on the DMD structured light device, and measure and obtain the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform;

[0097] The morphology generation module 13 is used to calculate the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solve the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured.

[0098] It can be seen that the present application discloses calibrating the internal parameters and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters located in the DOBI system and the structured light parameters located in the DMD structured light device; placing the breast phantom to be measured on the calibration platform of the calibrated DOBI system, and pressing down the C-arm of the DOBI system to press the breast phantom to be measured, turning on the DMD structured light device, measuring and acquiring the absolute phase difference between the breast phantom to be measured and the reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform; calculating the surface morphology height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solving the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface morphology height information to obtain the morphology point cloud information of the breast phantom to be measured. It can be seen that by accurately calibrating the parameters of the DOBI system and the DMD structured light device, the accuracy and precision of the measurement can be improved, thereby obtaining more accurate surface morphology information of the breast phantom. Using a direct breast morphology measurement method instead of the DOBI breast morphology estimation algorithm to obtain accurate and reliable breast morphology makes the DOBI diffuse light tomography reconstruction results more reliable.

[0099] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0100] Figure 5 The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the breast morphology measurement method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0101] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0102] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0103] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0104] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the breast morphology measurement method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data received by the electronic device and transmitted from an external device, the data 223 can also include data collected by its own input and output interface 25.

[0105] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned breast morphology measurement method is implemented. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, and no further description will be given here.

[0106] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0107] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.

[0108] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0109] The scheme provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for measuring breast morphology, characterized in that: include: Calibrate the internal and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device; The breast phantom to be measured is placed on the calibrated calibration platform of the DOBI system, and the C-arm of the DOBI system is pressed down to compress the breast phantom to be measured, and the DMD structured light device is turned on to measure and obtain the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform; Calculating the surface topography height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and solving the x-coordinate information and the y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface topography height information to obtain the topography point cloud information of the breast phantom to be measured; The DOBI system and the DMD structured light device are calibrated with internal parameters and external parameters to obtain camera parameters of the DOBI system and structured light parameters of the DMD structured light device, including: Remove the pressurized airbag of the DOBI system and place the calibration plate on the DOBI system light board; Lighting up the DMD structured light device according to a preset calibration mode, controlling the C-arm of the DOBI system to move to four different preset heights, and respectively collecting calibration images including a calibration plate grid and a DMD dot matrix at each preset height; Acquire the correspondence between pixel coordinates and position coordinates according to the position coordinates of the pixel coordinates of each calibration plate grid in the calibration image in the light board coordinate system of the DOBI system light board; Performing interpolation processing according to the corresponding relationship and the pixel coordinates of each pixel point of the DMD dot matrix in the calibration image to obtain the position coordinates in the light board coordinate system; Each position coordinate is converted into a three-dimensional position coordinate in a three-dimensional space coordinate system, and the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device are respectively calculated according to the corresponding relationship, the three-dimensional position coordinate and each position coordinate in the light board coordinate system.

2. The method for measuring breast morphology according to claim 1, characterized in that: Before lighting up the DMD structured light device according to the preset calibration mode, the method further includes: The measurement mode of the DMD structured light device is set to ;in, is the time sequence number, is the DMD imaging plane row index, represents the brightness modulation function; When the sequence number is When the DMD structured light device is set to light up a preset calibration mode of 16 pixels with row and column indices of 114, 341, 568, and 795 according to the measurement mode.

3. The breast morphology measurement method according to claim 2, characterized in that: Placing the breast phantom to be measured on the calibrated calibration platform of the DOBI system, pressing down the C-arm of the DOBI system to compress the breast phantom to be measured, turning on the DMD structured light device, and measuring and acquiring the absolute phase difference between the breast phantom to be measured and the reference plane, including: Placing a background white paper on the light board of the DOBI system, then placing a breast phantom to be measured on the background white paper, and pressing down the C-arm of the DOBI system to compress the breast phantom to be measured; Lighting up the DMD structured light device, acquiring a DMD structured light fringe image including the breast phantom to be measured and the background white paper, and performing phase map calculation and region segmentation processing on the DMD structured light fringe image to obtain a phantom region map of the breast phantom to be measured and a background white paper region map; The corresponding absolute phases of the phantom region map and the background white paper region map are respectively obtained, and the difference of the absolute phases is calculated to obtain the absolute phase difference between the breast phantom to be measured and the background white paper.

4. The method for measuring breast morphology according to claim 3, characterized in that: The step of lighting up the DMD structured light device to obtain a DMD structured light stripe image including the breast phantom to be measured and the background white paper includes: The DMD structured light device is illuminated according to the measurement mode to generate structured light of different phases, and the camera of the DOBI system is used to collect the light in the preset resolution mode. Each DMD structured light stripe image under the time sequence number; Accordingly, the DMD structured light fringe image is subjected to phase map calculation and region segmentation processing to obtain a phantom region map and a background white paper region map of the breast phantom to be measured, including: Calculating the relative phase map of each of the DMD structured light fringe images, and superimposing each of the DMD structured light fringe images to obtain a DMD structured light fringe superimposed image; The DMD structured light stripe superposition image is subjected to binarization processing, image corrosion and expansion processing, and connected region extraction processing in sequence to obtain a connected region map; An edge map is obtained by performing image edge extraction processing on the connected region map, and an image dilation and corrosion processing is performed on the edge map to divide the edge map into multiple independent region maps, and the lowest independent region map among the independent region maps is used as the phantom region map of the breast phantom to be measured, and the other independent region maps except the phantom region map are used as background white paper region maps.

5. The method for measuring breast morphology according to claim 4, characterized in that: The step of respectively acquiring the corresponding absolute phases of the phantom region map and the background white paper region map, and calculating the difference of the absolute phases to obtain the absolute phase difference between the breast phantom to be measured and the background white paper, comprises: Calculating a phantom region bounding box according to the phantom region map, and performing absolute phase calculation on the interior of the bounding box of the phantom region bounding box to obtain an absolute phase distribution map of the phantom region map; The pixel points in the relative phase image except the background white paper area are set to 0 to obtain the edge image to be extracted; Performing edge extraction and straight line transformation on the edge map to be extracted to screen a target straight line that meets the peak condition, and calculating the slope information and intercept information of the target straight line, and then interpolating and estimating the absolute phase distribution map of the background white paper area map according to the slope information and intercept information of the target straight line; The absolute phase distribution diagram of the phantom region diagram and the absolute phase distribution diagram of the background white paper region diagram are subjected to difference processing, and the values ​​except the phantom region are set to 0 to obtain the absolute phase difference.

6. The method for measuring breast morphology according to any one of claims 1 to 5, characterized in that: The step of calculating the surface topography height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference comprises: The surface topography height information of the breast phantom to be measured is calculated according to the center position z coordinate difference, y coordinate difference, the absolute phase difference, and the spatial modulation frequency of the structured light parameter between the structured light parameter and the camera parameter.

7. A breast topography measurement device, characterized in that: include: A calibration module, used for calibrating the internal and external parameters of the DOBI system and the DMD structured light device to obtain the camera parameters of the DOBI system and the structured light parameters of the DMD structured light device; The phase difference measurement module is used to place the breast phantom to be measured on the calibration platform of the calibrated DOBI system, and press down the C-arm of the DOBI system to press the breast phantom to be measured, turn on the DMD structured light device, and measure and obtain the absolute phase difference between the breast phantom to be measured and a reference plane; wherein the reference plane is a background white paper used to support the breast phantom to be measured and placed on the calibration platform; a shape generation module, configured to calculate the surface shape height information of the breast phantom to be measured according to the structured light parameters, the camera parameters, and the absolute phase difference, and to solve the x-coordinate information and y-coordinate information of the surface pixel points of the breast phantom to be measured according to the camera parameters and the surface shape height information, so as to obtain the shape point cloud information of the breast phantom to be measured; The calibration module is specifically used to remove the pressurized airbag of the DOBI system and place the calibration plate on the DOBI system light board; light up the DMD structured light device according to a preset calibration mode, control the C-arm of the DOBI system to move to four different preset heights, and respectively collect calibration images containing the calibration plate grid and the DMD dot matrix at each preset height; obtain the correspondence between the pixel coordinates and the position coordinates according to the position coordinates of the pixel coordinates of each calibration plate grid in the calibration image in the light board coordinate system of the DOBI system light board; perform interpolation processing according to the correspondence and the pixel coordinates of each pixel point of the DMD dot matrix in the calibration image to obtain the position coordinates in the light board coordinate system; convert each position coordinate into a three-dimensional position coordinate in a three-dimensional space coordinate system, and calculate the camera parameters located in the DOBI system and the structured light parameters located in the DMD structured light device according to the correspondence, the three-dimensional position coordinates, and the position coordinates in the light board coordinate system.

8. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the breast topography measurement method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the steps of the breast topography measurement method according to any one of claims 1 to 6 are implemented.