Disclosure of Invention
The invention aims to provide a method and a device for generating fetal weight for an ultrasonic scanning device.
In order to achieve one of the above objects, an embodiment of the present invention provides a method for generating a fetal weight for an ultrasonic scanning apparatus, comprising the steps of: acquiring a plurality of algorithms for generating the weight of the fetus and all input parameters required by each algorithm, wherein the input parameters only correspond to one measurement part; automatically acquiring first measurement parameters of a plurality of measurement parts from the acquired ultrasonic scanning image, and acquiring second measurement parameters of the plurality of measurement parts from a plurality of outlines for describing the measurement parts; when the difference between a first measurement parameter and a second measurement parameter of a measurement part in the plurality of measurement parts is determined to be smaller than or equal to a preset threshold value, adding the measurement part to a first set, wherein the first set is empty during initialization; in determining that all input parameters of a first algorithm of the number of algorithms correspond one-to-one with all measurement sites of the first set, generating a fetal weight based on the first algorithm, the first measurement parameter and/or the second measurement parameter for each measurement site of the first set.
As a further development of an embodiment of the invention, the generating of the fetal weight based on the first algorithm, the first measurement parameters and/or the second measurement parameters of all measurement sites in the first set comprises: for each measurement position, obtaining a third measurement parameter which is half of the sum of the first measurement parameter and the second measurement parameter; a third generation of fetal weight for each measurement site in the first set based on the first algorithm.
As a further improvement of an embodiment of the present invention, the determining that a difference between a first measurement parameter and a second measurement parameter of a measurement location in the plurality of measurement locations is smaller than or equal to a preset threshold value includes: and determining that the absolute value of the difference between the first measurement parameter and the second measurement parameter of the measurement part in the plurality of measurement parts is less than or equal to a preset threshold value.
As a further improvement of an embodiment of the present invention, the automatically acquiring first measurement parameters of a plurality of measurement locations from the acquired ultrasound scanning image and acquiring second measurement parameters of the plurality of measurement locations from a plurality of contours for delineating the measurement locations includes: and automatically acquiring a first double-vertex diameter value, a first head circumference value, a first abdominal circumference value and a first femur length value from the acquired ultrasonic scanning image, and acquiring a second double-vertex diameter value, a second head circumference value, a second abdominal circumference value and a second femur length value from a plurality of outlines for describing the measurement part.
As a further improvement of an embodiment of the present invention, the method for profiling a measurement site includes: circular, elliptical, or straight line segments.
The invention provides a device for generating the weight of a fetus for an ultrasonic scanning device, which comprises the following modules:
the system comprises an algorithm receiving module, a measuring module and a control module, wherein the algorithm receiving module is used for acquiring a plurality of algorithms for generating the weight of the fetus and all input parameters required by the algorithms, and the input parameters only correspond to a measuring part;
the measuring module is used for automatically acquiring first measuring parameters of a plurality of measuring parts from the acquired ultrasonic scanning image and acquiring second measuring parameters of the plurality of measuring parts from a plurality of outlines used for describing the measuring parts;
the screening module is used for adding the measuring parts to a first set when the difference between a first measuring parameter and a second measuring parameter of the measuring parts in the plurality of measuring parts is determined to be smaller than or equal to a preset threshold value, and the first set is empty during initialization;
a processing module for generating a fetal weight based on the first algorithm, the first measured parameter and/or the second measured parameter of each measurement site in the first set, when it is determined that all input parameters of a first algorithm of the plurality of algorithms correspond one-to-one with all measurement sites in the first set.
As a further improvement of an embodiment of the present invention, the processing module is further configured to: for each measurement position, obtaining a third measurement parameter which is half of the sum of the first measurement parameter and the second measurement parameter; a third generation of fetal weight for each measurement site in the first set based on the first algorithm.
As a further improvement of an embodiment of the present invention, the screening module is further configured to: and determining that the absolute value of the difference between the first measurement parameter and the second measurement parameter of the measurement part in the plurality of measurement parts is less than or equal to a preset threshold value.
As a further improvement of an embodiment of the present invention, the measurement module is further configured to: and automatically acquiring a first double-vertex diameter value, a first head circumference value, a first abdominal circumference value and a first femur length value from the acquired ultrasonic scanning image, and acquiring a second double-vertex diameter value, a second head circumference value, a second abdominal circumference value and a second femur length value from a plurality of outlines for describing the measurement part.
As a further improvement of an embodiment of the present invention, in the measurement module, the profiling of the measurement site includes: circular, elliptical, or straight line segments.
Compared with the prior art, the invention has the technical effects that: the invention provides a method for generating fetal weight for an ultrasonic scanning device, which comprises the steps of firstly, automatically acquiring first measurement parameters of a plurality of measurement parts and acquiring second measurement parameters of the plurality of measurement parts from a plurality of outlines for describing the measurement parts; when the difference between the first measurement parameter and the second measurement parameter at a certain measurement position is too large, it can be understood that at least one of the first measurement parameter and the second measurement parameter has a larger error, and the method for generating the fetal weight discards the first measurement parameter and the second measurement parameter at the measurement position, and uses the other measurement parameters with smaller measurement errors to generate the fetal weight, so that the accuracy of the generated fetal weight is improved.
Detailed Description
The present invention will be described in detail below with reference to embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
An embodiment of the present invention provides a method for generating a fetal weight for an ultrasound scanning apparatus, where the method for generating a fetal weight may be performed by a control system in the ultrasound scanning apparatus, as shown in fig. 1, and includes the following steps:
step 101: acquiring a plurality of algorithms for generating the weight of the fetus and all input parameters required by each algorithm, wherein the input parameters only correspond to one measurement part; here, the input parameter means a measurement value of a measurement site on the body of the fetus, that is, the input parameter corresponds to only one measurement site. Here, the algorithm for generating the fetal weight may be various, for example: (1) fetal weight 1.07 BPD +0.3 AC FL; (2) fetal weight-4973.72 +260.69 HC; (3) fetal weight-2686.60 +171.48 AC; (4) fetal weight-2232.56 +747.42FL, etc., it will be appreciated that the type and number of input parameters required for different algorithms may vary. Here, the english meaning of BPD is biparietial Diameter, and the chinese meaning is double vertex Diameter value; the English meaning of HC is Headcircumference, and the Chinese meaning is head circumference value; the English meaning of AC is Abdominal Circumference reference, and the Chinese meaning is Abdominal Circumference value; the English meaning of FL is Femur Length, and the Chinese meaning is Femur Length.
Step 102: automatically acquiring first measurement parameters of a plurality of measurement parts from the acquired ultrasonic scanning image, and acquiring second measurement parameters of the plurality of measurement parts from a plurality of outlines for describing the measurement parts; here, different measurement sites typically have different image characteristics (e.g., the circumference of the chest is typically a circle or ellipse, the femur is typically a femur with a certain arc, etc.), and therefore, a first measurement value of the measurement site may be obtained using an image algorithm and the image characteristics, so that the control system may automatically measure the first measurement parameter; the contour used to delineate the measurement site is typically entered by a physician (e.g., plotted via a trackball, etc.), so that the control system can manually measure the second measurement parameter. It will be appreciated that there may be some error in both the first measured parameter and the second measured parameter.
Step 103: when the difference between a first measurement parameter and a second measurement parameter of a measurement part in the plurality of measurement parts is determined to be smaller than or equal to a preset threshold value, adding the measurement part to a first set, wherein the first set is empty during initialization; in the step, if the difference value between the first measurement parameter and the second measurement parameter of a certain measurement part is less than or equal to a preset threshold value, adding the difference value into a first set; it is understood that after the step is performed, the difference between the first measurement parameter and the second measurement parameter of all measurement locations in the first set is less than or equal to the preset threshold.
Step 104: in determining that all input parameters of a first algorithm of the number of algorithms correspond one-to-one with all measurement sites of the first set, generating a fetal weight based on the first algorithm, the first measurement parameter and/or the second measurement parameter for each measurement site of the first set.
In step 103, if the difference between the first measurement parameter and the second measurement parameter at a certain measurement location is too large (i.e. greater than the preset threshold), it is certain that at least one of the first measurement parameter and the second measurement parameter has a large measurement error, and it can be understood that if the measurement parameter having a large measurement error is used to generate the fetal weight, there is a large possibility that the generated fetal weight also has a large error, and therefore, such a measurement location and the corresponding measurement parameter thereof need to be discarded (i.e. not added to the first set). In step 104, the fetal weight is generated based on the measurement parameters (i.e. the first measurement parameter and/or the second measurement parameter of all measurement sites in the first set) with satisfactory measurement errors, so that the measurement errors can be greatly reduced.
Preferably, generating the fetal weight based on the first algorithm, the first measured parameter and/or the second measured parameter of all measurement sites in the first set comprises: for each measurement position, obtaining a third measurement parameter which is half of the sum of the first measurement parameter and the second measurement parameter; generating a fetal weight based on the first algorithm, the third measured parameter for each measurement site in the first set. Here, it is understood that there may be an error between the first and second measured parameters and the true measured parameter, and when the third measured parameter is half of the sum of the first and second measured parameters, the error may be reduced.
Preferably, the determining that the difference between the first measurement parameter and the second measurement parameter of the measurement location in the plurality of measurement locations is less than or equal to a preset threshold value includes: and determining that the absolute value of the difference between the first measurement parameter and the second measurement parameter of the measurement part in the plurality of measurement parts is less than or equal to a preset threshold value. It is understood that, in practice, the first measurement parameter may be greater than or equal to the second measurement parameter, or may be less than or equal to the second measurement parameter, and therefore, the absolute value of the first measurement parameter and the second measurement parameter can be used to better describe the difference degree between the first measurement parameter and the second measurement parameter.
Preferably, the automatically acquiring a first measurement parameter of a plurality of measurement positions from the acquired ultrasound scanning image and acquiring a second measurement parameter of the plurality of measurement positions from a plurality of outlines for describing the measurement positions includes:
and automatically acquiring a first double-vertex diameter value, a first head circumference value, a first abdominal circumference value and a first femur length value from the acquired ultrasonic scanning image, and acquiring a second double-vertex diameter value, a second head circumference value, a second abdominal circumference value and a second femur length value from a plurality of outlines for describing the measurement part.
Preferably, the profile for delineating the measurement site includes: circular, elliptical, or straight line segments.
The embodiment of the invention provides a device for generating the weight of a fetus, which is used for an ultrasonic scanning device, and comprises the following modules:
the system comprises an algorithm receiving module, a measuring module and a control module, wherein the algorithm receiving module is used for acquiring a plurality of algorithms for generating the weight of the fetus and all input parameters required by the algorithms, and the input parameters only correspond to a measuring part;
the measuring module is used for automatically acquiring first measuring parameters of a plurality of measuring parts from the acquired ultrasonic scanning image and acquiring second measuring parameters of the plurality of measuring parts from a plurality of outlines used for describing the measuring parts;
the screening module is used for adding the measuring parts to a first set when the difference between a first measuring parameter and a second measuring parameter of the measuring parts in the plurality of measuring parts is determined to be smaller than or equal to a preset threshold value, and the first set is empty during initialization;
a processing module for generating a fetal weight based on the first algorithm, the first measured parameter and/or the second measured parameter of each measurement site in the first set, when it is determined that all input parameters of a first algorithm of the plurality of algorithms correspond one-to-one with all measurement sites in the first set.
Preferably, the processing module is further configured to: for each measurement position, obtaining a third measurement parameter which is half of the sum of the first measurement parameter and the second measurement parameter; generating a fetal weight based on the first algorithm, the third measured parameter for each measurement site in the first set.
Preferably, the screening module is further configured to: and determining that the absolute value of the difference between the first measurement parameter and the second measurement parameter of the measurement part in the plurality of measurement parts is less than or equal to a preset threshold value.
Preferably, the measurement module is further configured to: and automatically acquiring a first double-vertex diameter value, a first head circumference value, a first abdominal circumference value and a first femur length value from the acquired ultrasonic scanning image, and acquiring a second double-vertex diameter value, a second head circumference value, a second abdominal circumference value and a second femur length value from a plurality of outlines for describing the measurement part.
Preferably, in the measuring module, the profile for delineating the measurement site includes: circular, elliptical, or straight line segments.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can also be combined appropriately to form other embodiments understood by those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.