Quality control method for software processed echocardiograms
The automatic quality control method using machine learning models addresses the need for manual inspection in AI-based echocardiogram analysis by evaluating and correcting AI-generated results, improving diagnostic efficiency and accuracy.
Patent Information
- Application Number
- JP2023086636
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-06
- Filing Date
- 2023-05-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-05-26
AI Technical Summary
Existing AI-based echocardiogram image analysis systems require manual inspection for quality control due to large errors in automatically fitted edges, contradicting the purpose of automation.
An automatic method using machine learning models to evaluate the accuracy of AI-generated results, allowing for direct use of high-quality results and manual adjustment of low-quality results, involving a difference model to predict differences between tracked and adjusted contours, and a rating model to assess analysis quality.
Facilitates a physician's diagnostic workflow by accurately identifying and correcting AI-generated echocardiogram analysis errors, reducing manual inspection burden and enhancing result reliability.
Smart Images

Figure 2024149320000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for quality control of software processed images, in particular echocardiographic images. [Background technology]
[0002] Medical image analysis is an important part of the medical field. In recent years, artificial intelligence (AI) has been applied to many medical devices and systems to analyze acquired medical images for further applications such as diagnosing diseases. AI can be trained to perform various tasks, including image analysis, to assist doctors in interpreting images, thus reducing their workload.
[0003] Echocardiography is an ultrasound diagnosis of the heart, a type of medical imaging of the heart, and is routinely used in the diagnosis, management, and follow-up of patients with suspected or known heart disease. In recent years, some AI products have been marketed for echocardiogram image analysis. Typically, a user uploads an ultrasound image of the heart (e.g., an image of an apical four-chamber view), and the AI software automatically fits the edges of the inner wall in the image and uses the changes in the edges in the image to calculate some parameters. However, the edges fitted by the software using statistical data models often suffer from large errors and cannot be used directly. Therefore, many of the products also provide the ability for the user to adjust the edges on certain frames after automatically fitting the edges. In this way, an expert can instruct the software to calculate more accurate parameters by adjusting the edges.
[0004] The above workflow is extremely tedious as it requires an expert to inspect each input image to see if the auto-generated result needs further adjustment for better accuracy. The manual inspection required for quality control contradicts the spirit of auto-adaptation by AI software. Summary of the Invention [Problem to be solved by the invention]
[0005] In view of the above background, there is a need to develop an automated method for assessing the quality of results produced by software. [Means for solving the problem]
[0006] To solve the problem, the present invention provides an automated method for evaluating the accuracy of software-generated results for medical images. If the evaluation determines that the generated results are of good quality, the user can directly use the results without further inspection. Alternatively, if the evaluation indicates poor quality, the user can decide to make manual adjustments or reacquire the medical image based on the evaluation summary. Thus, the method facilitates the physician's diagnostic workflow.
[0007] One aspect of the invention provides a method for training a difference model to generate difference parameters related to differences between tracked contours and adjusted contours by software, the method including training a first machine learning model with a plurality of first training data sets, each of the plurality of first training data sets including a first training image set as a training input and a difference parameter as a training target. The first training image set and the difference parameter set are generated by the steps of (a) obtaining the first training image set by selecting at least one image, (b) generating, by the analysis software, a tracked contour based on the first training video or the first training image set by the software, (c) obtaining an adjusted contour, and (d) obtaining, by the software, a difference parameter set based on the tracked contour and the adjusted contour. In one embodiment, the first training images are echocardiogram images.
[0008] In one embodiment, each image in the first training image set is processed by the software according to the tracked contours before being used as a training input.
[0009] In one embodiment, the first machine learning model is a regression model based on a convolutional neural network. Specifically, the first machine learning model may be a residual neural network (ResNet) model.
[0010] Another aspect of the present invention provides a method for training an assessment model to generate a predicted assessment error related to the difference between the analysis result generated by the software and the adjusted analysis result, the method comprising: training a second machine learning model with a plurality of second training data sets, each of the plurality of second training data sets including at least one difference parameter as a training input, at least one shape parameter as a training input, and an assessment result as a training target. Each of the at least one difference parameter indicates a difference between the contour tracked by the software and the adjusted contour, each of the at least one shape parameter is calculated based on the contour tracked by the software generated by the analysis software, and the assessment result is determined based on the difference between the analysis result generated by the software and the adjusted analysis result. In one embodiment, the second training image is an echocardiogram image.
[0011] In one embodiment, the second machine learning model is a tree-based model. In particular, the second machine learning model may be a regression model, and the evaluation result may be an error value indicating the difference between the analysis result generated by the software and the adjusted analysis result. Alternatively, the second machine learning model may be a classification model, and the evaluation result may be a class indicating a good or bad quality of the analysis result generated by the software.
[0012] In one embodiment, each of the at least one set of geometric parameters is generated by: (a) the analysis software generating, by the software, a tracked contour from the at least one image; and (b) the software calculating one of the at least one set of geometric parameters based on the tracked contour.
[0013] Each of the at least one difference parameter may be generated by a direct calculation from the tracked contour and the adjusted contour by the software, or may be generated by a model prediction by a difference model. In one embodiment, each of the at least one difference parameter set is generated by (a) the analysis software generating the tracked contour from at least one image by the software, (b) obtaining an adjusted contour, and (c) the software calculating one of the at least one difference parameter set based on the tracked contour and the adjusted contour. In another embodiment, each of the at least one difference parameter set is generated by (a) obtaining a second training image set by selecting at least one image, and (b) generating one of the at least one difference parameter set based on the second training image set by the difference model.
[0014] In one embodiment, the at least one shape parameter set includes an ED (end diastolic) shape parameter set and an ES (end systolic) shape parameter set, and in one embodiment, the at least one difference parameter set includes an ED (end diastolic) difference parameter set and an ES (end systolic) difference parameter set.
[0015] In one embodiment, the evaluation result is generated by the steps of: (a) calculating a software-generated analysis result based on the tracked ED contour and the tracked ES contour; (b) obtaining an adjusted ED contour and an adjusted ES contour; (c) calculating an adjusted analysis result based on the adjusted ED contour and the adjusted ES contour; and (d) determining an evaluation result based on the software-generated analysis result and the adjusted analysis result.
[0016] In yet another aspect, the present invention provides a quality control method for images analyzed by software, the method including: (a) receiving at least one input image and at least one corresponding software analyzed image, where the at least one corresponding software analyzed image is generated by analysis of the at least one input image by the analysis software; (b) generating at least one set of predicted difference parameters based on the at least one input image by at least one difference model; (c) generating at least one set of shape parameters from the at least one corresponding software analyzed image; and (d) generating a predicted evaluation result based on the at least one set of predicted difference parameters and the at least one set of shape parameters by the evaluation model.
[0017] In one embodiment of the quality control method, the evaluation result is an error value indicating the difference between the analytical result generated by the software and the adjusted analytical result, while in another embodiment, the evaluation result is a class indicating the good or bad quality of the analytical result generated by the software.
[0018] The present invention also provides a non-transitory computer readable medium having a set of instructions stored thereon, the set of instructions being executable by a processor of a computer system to perform a method including: (a) receiving at least one input image and an image analyzed by at least one corresponding software, where the image analyzed by the at least one corresponding software is generated by analysis of the at least one input image by the analysis software; (b) generating, by the at least one difference model, at least one set of predicted difference parameters based on the at least one input image; (c) generating at least one set of shape parameters from the image analyzed by the at least one corresponding software; and (d) generating, by the evaluation model, a predicted evaluation result based on the at least one set of predicted difference parameters and the at least one set of shape parameters.
[0019] Other objects, advantages and novel features of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0020] [Figure 1] This is the workflow for training the first model (the difference model). [Diagram 2] This is the workflow for training the second model (the evaluation model). [Diagram 3] 1 is a workflow for quality control of images processed by the software. [Figure 4A] Echocardiogram images are taken for the end-diastolic (ED) frame and the endocardial contours are traced by the analysis software. [Figure 4B] Echocardiogram images are taken for the end-systolic (ES) frame and the endocardial contours are traced by the analysis software. [Figure 4C] Echocardiogram images for end-diastolic (ED) frames, and endocardial contours are adjusted by an expert. [Figure 4D] The echocardiogram image is for the end-systolic (ES) frame, and the endocardial contour is adjusted by an expert. [Figure 5A] FIG. 4B is a diagram of contours extracted from the end-diastolic (ED) frame of FIG. 4A. [Figure 5B] FIG. [Figure 6] FIG. 1 is a diagram of several points assigned to a contour and / or region. Points A, M, L, R and C are defined in this diagram. [Figure 7A] 1 is a diagram of a frame of an original echocardiogram image to which a mask is to be applied. [Figure 7B] 5A and 5B are diagrams of masks obtained by linearly performing distance transformation and attenuation from the edges of extracted contours (FIG. 5A) or regions (FIG. 5B). [Figure 7C] FIG. 7B is a diagram of the mask area of FIG. 7A. [Figure 7D] The image has been cropped to a smaller size. [Figure 8A] 8A and 8B are graphs of test results predicted by the ES frame difference model: Figure 8A is the Dice score of the left ventricular endomyocardium; [Figure 8B] Figure 8B is a graph of the test results predicted by the ES frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 8B is the area difference between the automatic results and the predicted manual results. [Figure 8C] Figure 8C is a graph of the test results predicted by the ES frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 8C is the difference of the line LRy intercept. [Figure 8D] Figure 8C is a graph of the test results predicted by the ES frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 8D is the dynamic time warping (DTW) distance between the automated and manual endocardial contours. [Figure 9A]Figure 9A is a graph of the test results predicted by the ED frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 9B is the Dice score of the left ventricular endomyocardium. [Figure 9B] Figure 9B is a graph of the test results predicted by the ED frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 9B is the area difference between the automatic results and the predicted manual results. [Figure 9C] Figure 9C is a graph of the test results predicted by the ED frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 9C is the difference of the line LRy intercept. [Figure 9D] Figure 9C is a graph of the test results predicted by the ED frame difference model. The horizontal axis represents the ground truth values and the vertical axis represents the predicted values. Figure 9D is the dynamic time warping (DTW) distance between the automated and manual endocardial contours. [Figure 10A] Figure 10A shows the test results predicted by the evaluation model. Figure 10A shows the ground truth and predicted values of the GLS difference. The R-squared value in Figure 10A is 0.4499 and the mean absolute error is 1.5586. [Figure 10B] Figure 10B is a graph of the test results predicted by the evaluation model. Figure 10B shows the ROC curve of QC pass / fail for the model. The QC pass / fail accuracy is 74.18% (with a cutoff at GLS error value=2). [Figure 11A] 11A is an example image of poor tracking results caused by poor image quality.FIG 11A is an autotracked ED frame from an echocardiogram video. [Figure 11B] 11B is an image of an example of poor tracking results caused by poor image quality. [Figure 11C] 11C is an example image of poor tracking results caused by poor image quality. [Figure 11D]Figure 11D is an example image of a poor tracking result caused by poor image quality. [Figure 12A] 12A is an image of another example of poor tracking results caused by poor image quality.FIG 12A is an ED frame autotracked from an echocardiogram video. [Figure 12B] 12B is an image of another example of poor tracking results caused by poor image quality. [Figure 12C] 12C is a manually adjusted ED frame, and FIG. 12D is an image of another example of poor tracking results caused by poor image quality. [Figure 12D] 12D is a manually adjusted ES frame, and FIG. 12C is another example image of poor tracking results caused by poor image quality. [Figure 13A] 13A is an image of an example of a bad tracking result caused by a bad software analysis.FIG. 13A is an ED frame auto-tracked from an echocardiogram image. [Figure 13B] 13A and 13B are images of an example of a fault tracking result produced by faulty software analysis. [Figure 13C] 13C is an image of an example of a bad tracking result caused by a bad software analysis. FIG. 13C is a manually adjusted ED frame. [Figure 13D] 13A and 13B are images of an example of a fault tracking result produced by fault software analysis. [Figure 14A] Figure 14A is a graph of the test results predicted by the linear regression model. Figure 14A shows the ground truth and predicted values of the GLS difference. The R-squared value in Figure 14A is 0.03 and the mean absolute error is 1.7731. [Figure 14B] Figure 14B is a graph of the test results predicted by the linear regression model. Figure 14B shows the ROC curve of QC pass / fail for the model. The QC pass / fail accuracy is 58.38% (with a cutoff at GLS error value = 2). [Figure 15]Graph of test results predicted by a model trained directly on the entire image (without shape parameters). The R-squared value is 0.1438 and the mean absolute error is 2.1109. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] The terms used in the description presented below are intended to be interpreted in their broadest and most reasonable manner, even though they are used in conjunction with a detailed description of some specific embodiments of the present technology. Some terms may even be emphasized below. However, any terms intended to be interpreted in a restrictive manner are specifically defined as such in this "Description of the Preferred Embodiments" section.
[0022] The embodiments presented below may be implemented by programmable circuitry that is programmed or configured by software and / or firmware, or entirely by special purpose circuitry, or a combination of such forms. Such special purpose circuitry (if any) may be in the form of, for example, one or more application specific integrated circuits (ASICs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), graphics processing units (GPUs), etc.
[0023] The method for establishing a quality assessment system includes four steps, including data labeling, image pre-processing, model training and inference pipeline. In the present invention, two kinds of machine learning models are constructed to perform quality control (QC) tasks for images processed / analyzed by the software. After training, the first model can use the input (unprocessed) image to predict some difference parameters, and the second model can use the difference parameters and shape parameters obtained from the images processed / analyzed by the software to evaluate the quality of processing and / or analysis by the software.
[0024] FIG. 1 shows the training steps of the first model, which is a difference model. Step S11 is data collection, where a number of images (e.g., an echocardiogram image series) are collected as a training data set. In method S121, the training data is input to an automatic analysis software, and the analysis calculation results are recorded together with the image tracking results. An example of automatic analysis is for the software to find specific image frames from the input images, e.g., find end-diastolic and end-systolic frames from an echocardiogram image. This tracking can then be applied to these selected frame(s), and the tracking results can be the auto-tracked contours by the analysis software. Then, in step S122, an expert adjusts the automatic image tracking results to a more accurate result, e.g., redraws the correction contour. In step S13, the auto-tracked results and the adjusted results are recorded, and a difference parameter is calculated that represents the difference between the auto-tracked results and the adjusted results.
[0025] In step S14, before training the model, the input image, which is the selected video frame, may be pre-processed to create a next model that focuses on the important image regions, incorporating the automatic tracking results of the software. For example, the automatic tracking results may be used to determine masking and cropping regions. The input image may then be masked and cropped to leave the important tracking regions in the image.
[0026] As mentioned above, the model training of the present invention is divided into two parts. The first part is a difference model that uses a neural network to predict difference parameters, which indicate the difference between the results generated by the software and the results adjusted by the expert (e.g., the contour tracked by the software and the adjusted contour). The first step is to calculate parameters that represent the difference between the image tracking results before and after the adjustment by the expert, and some significant parameters are specifically selected by the expert. As shown in step S15 of FIG. 1, the difference parameters obtained in step S13 and used as learning targets, and the pre-processed images obtained in step S14 and used as inputs are used to train a regression neural network model and output the values of each parameter.
[0027] The second part of the model training is to train a tree-based evaluation model to predict the difference between the final analysis value of the automatic analysis software (e.g., global strain in the longitudinal direction) and the expert-adjusted value. The inputs are (1) the difference parameters predicted in the first part by the difference model, and (2) the shape parameters directly measured and quantified in the automatic tracking results of the software. The output of the second model predicts the error between the results initially generated by the analysis software and the expert-adjusted results. A threshold can be set to evaluate the quality of the automatic tracking analysis results. If the predicted difference is below the threshold, the user (e.g., physician) can trust the automatic analysis results. Figure 2 shows the training step of the second model.
[0028] In step S21, a number of images (e.g., echocardiogram image series) are collected as a training data set. The data set may be the same as the data set used for training the first model (described in step S11) or a different data set. In steps S221 and S222, two image sets, i.e., an ED set and an ES set, are tracked separately by the automated analysis software. The procedure is the same as S121. In steps S231 and S232, the tracked ED and ES contours are adjusted separately, which is the same as step S122. In step S241, the automatically tracked ED and ES contours obtained in steps S221 and S222 are integrated to evaluate the automated analysis results, e.g., calculate a global longitudinal strain (GLS) value based on the ED and ES contours tracked by the software. The analysis results are the same as those output by the automated analysis software, except for the expert-adjusted contours. In step S242, the manually adjusted ED and ES contours obtained in steps S231 and S232 are integrated to evaluate the expert adjusted result, e.g., calculate the longitudinal global strain (GLS) value based on the adjusted ED and ES contours. The analysis result is the same as that output by the automatic analysis software together with the expert adjusted contours. In step S25, the analysis results generated in steps S241 and S242 are combined and an analysis error is calculated. The analysis error represents the error caused by the automatic analysis software (compared to the expert adjusted result).
[0029] In steps S261 and S262, the two sets of images obtained in steps S221 and S222 can be pre-processed independently. This pre-processing is similar to step S14. Then, as shown in steps S271 and S272, the independently pre-processed images are used to generate ED and ES difference parameters. The ED and ES difference parameters are parameters that represent the difference between the software-generated contours and the adjusted contours for the ED and ES frames. The difference parameters can be generated (predicted) by an established difference model using the pre-processed images as input. Alternatively, the difference parameters can be generated (calculated) by obtaining the software-tracked ED and adjusted ED (and in the case of ES frames, obtaining the software-tracked ES and adjusted ES) and calculating these parameters. In steps S281 and S282, the shape parameters of the ED and ES are calculated based on the automatically tracked ED and ES contours obtained in steps S221 and S222, respectively. The shape parameters represent the shape characteristics of the software-tracked contours.
[0030] In step S29, the data obtained in steps S25, S271, S272, S281, and S282 are used to train a second model, which is an evaluation model. The difference parameters obtained in steps S271 and S272 and the shape parameters obtained in S281 and S282 are used as training inputs. The evaluation error value obtained in step S25 is used as a learning target for training.
[0031] As shown in FIG. 3, in the inference pipeline step, the training model, the pre-processed images, and the analysis software are arranged in the pipeline. In step S31, the input video (e.g., echocardiogram video) is processed and analyzed by the analysis software to perform the automatic analysis. The output, which may include important frames in the video, the tracked contours, and the analysis results, is used in the QC evaluation. In step S32, the extracted frames (e.g., frames near the ED and ES frames) are optionally subjected to image pre-processing based on the tracked contours by the software to minimize background interference. An example of image pre-processing is cropping the background from the image and keeping only the contour regions. Then, in step S33, the processed image frames are analyzed by a difference model to predict difference parameters between the automatically tracked contours and the expert-adjusted contours. In a preferred embodiment, two difference models are used to generate predicted difference parameters for the ED and ES contours independently. In step S34, the software calculates some shape parameters based on the tracked contour(s). The parameters are some measurements of the contours. In step S35, the difference parameters (predicted by the difference model in step S33) and the shape parameters (calculated in step S34) are used as inputs for an evaluation model, i.e. a second training model. The evaluation model then generates an evaluation indicative of the quality of the analysis results performed by the automated software. Thus, the quality of the results generated by the software can be predicted from input images, such as echocardiograms.
[0032] More details for each step are provided below.
[0033] Data Labeling The echocardiogram images in the database are collected for data labeling. During data labeling, each of the input echocardiogram images is sent to software (e.g., Tomtec AutoStrain) for analysis to collect automated longitudinal global strain (GLS) analysis results and left ventricular myocardial contour (e.g., tracked endocardial contour) tracking results. As shown in Figures 4A and 4B, the GLS analysis results are numbers, and the myocardial contour tracking results can be captured as screenshot images or directly exported as key point coordinates for end diastolic (ED) and end systolic (ES) frames. Then, the expert can adjust the myocardial tracking results in the software to obtain more accurate GLS analysis results, as shown in Figures 4C and 4D. Then, the adjusted GLS analysis results and the corresponding adjusted myocardial contours are also collected for future use. The data obtained by the above echocardiogram labeling steps are (1) Automated myocardial contour tracking results for ED frames, (2) Automated myocardial contour tracking results for ES frames; (3) Manually adjusted myocardial contours for ED frames (4) manually adjusted myocardial contours for the ES frame; (5) Automated longitudinal global strain, and (6) Manually adjusted longitudinal global strain may include.
[0034] Calculation of shape and difference parameters For the calculation of shape parameters, the tracked endocardial contour and left ventricular region are extracted from the tracked image. FIG. 5A is an example of the contour extracted from the end-diastolic (ED) frame of FIG. 4A, and FIG. 5B is the contour region. As shown in FIG. 6, several points may be assigned to the contour and / or region. Based on the contour, the surrounding region, and the assigned points, several shape metrics of the automated tracked result are measured. The shape metrics include: (1) Contour area, (2) The slope and y-intercept of line LR, (3) the slope and y-intercept of line AM, (4) Base width (length of L-R division), (5) Height (length of AM division), and (6) Height-to-width ratio may include.
[0035] A separate contour and left ventricular region can be extracted from the expert adjusted endocardial myocardial contour. The contour and region differences between the automatically adjusted and manually adjusted contours can then be calculated as further parameters. The further parameters include: (1) Difference in LR slope, (2) Difference in AM gradient, (3) difference of line A My intercepts, (4) the distance between point A of the automatic contour and point A of the manual contour; (5) the distance between the L point of the automatic contour and the L point of the manual contour; (6) the distance between point R of the automatic contour and point R of the manual contour; (7) the distance between the M point of the automatic contour and the M point of the manual contour; (8) The distance between point C of the automatic contour and point C of the manual contour; (9) the distance between the automatic right endocardial contour segment and the manual right endocardial contour segment; (10) the distance between the automatic endocardial apex contour segment and the manual endocardial apex contour segment; (11) the distance between the automatic left endocardial contour segment and the manual left endocardial contour segment; (12) the 2D distance between the automatic right endocardial contour segment and the manual right endocardial contour segment; (13) the 2D distance between the automatic endocardial apex contour segment and the manual endocardial apex contour segment; (14) the 2D distance between the automatic left endocardial contour segment and the manual left endocardial contour segment; (15) Dice score between automatic and manual regions (16) Area difference, (17) Dynamic time-warping distance between automatic and manual contours; (18) The difference in slope and y-intercept between the automatic line LR and the manual line LR; (19) The difference in slope and y-intercept between the automatic line AM and the manual line AM; and (20) Point distances between automatic L, R, C, A points and manual L, R, C, A points may include.
[0036] Some or all of the parameters can be selected to represent the quality of the endocardial contour tracking results, and the selected parameters are calculated for the tracking results of the ED and ES frames and trained separately in a later step.
[0037] Image preprocessing This step is optional, but it can accelerate the training speed of the AI and the execution speed of the trained model. Although the input echocardiogram is a video, training the model usually does not require the entire video as input. As a result, video frames near the end-diastolic (ED) and end-systolic (ES) frames can be selected as input images, since the parameters are measured and calculated from the ED and ES frames.
[0038] Based on the left ventricular region extracted from the screenshot of the automated tracking contour, a mask can be generated to facilitate the deep neural network model to focus on the relevant image regions. Mask generation, application and image cropping are shown in Figure 7B-D.
[0039] Model Training This step is to train a model and evaluate the quality of the automatically generated analysis results. This model can be divided into two parts. The first part is the difference model and the second part is the evaluation model.
[0040] (1) Training the difference model In the first part, using the preprocessed image frames and difference parameters as training data, two recurrent neural networks are constructed to predict difference parameters that represent the difference between the automatic tracking results and the manual adjustment results (e.g., the contour tracked by the software and the adjusted contour). One neural network takes one or more preprocessed image frames around the ED as input and outputs difference parameters calculated from the ED contour tracking results. The other neural network is similar but uses images and parameters of the ES rather than the ED. The model can use one preprocessed image frame and produce satisfactory contour tracking results, or the model can use multiple preprocessed image frames as input to reduce noise within a single frame.
[0041] (2) Evaluation model training The above predicted difference parameters (predicted by the difference model) and the measured shape parameters (calculated from the auto-tracking contours) can be combined to train an evaluation model to predict the final target, i.e. the difference between the auto-GLS and the expert-adjusted GLS (and therefore the quality of the auto-tracking analysis results). The shape parameters can be automatically measured from the auto-tracking contours when extrapolating new data.
[0042] The evaluation model can be a classifier (classification model) that determines whether the difference is large (implying poor tracking and analytical results of the automated software) or small (implying good tracking and analytical results of the automated software), or a regressor (regression model) that tells exactly how much GLS difference there is between the analytical results generated by the software and those adjusted by the experts.
[0043] example The following example is provided to further illustrate the details of a quality control training model for echocardiogram images processed / analyzed by the software.
[0044] 1. Data collection and labelling Approximately 1000 apical four-chamber echocardiogram images are used as raw data. The raw data is partitioned into training / validation / test sets. The partitioning strategy ensures that data with good and poor tracking results are evenly distributed across the dataset. Two sets of measurements / signatures are generated using these datasets: automatic GLS and manual GLS. Automatic GLS is generated using Tomtec (TOMTEC Imaging Systems GmbH) AutoStrain software with automatic endocardial contour tracing and GLS calculation. Manual GLS signs are generated from contours defined by a physician.
[0045] 2. Shape parameter calculation After data labeling, shape parameters measured from the automatically tracked endocardial contours are generated for each echocardiogram image. With reference to the points defined in FIG. 6, the following parameters are generated: (1) Area of the left ventricular endocardial myocardium (A) (2) Gradient of line LR (3) The y-intercept of line LR (4) Gradient of line AM (5) y-intercept of line AM (6) Height of left ventricular endocardium (H) (7) Width of the base of the left ventricular endomyocardium (B) (8)H / B ratio (9)A(H×B) ratio Calculate.
[0046] Based on the above parameters, a difference parameter can be calculated by the software for the tracked contour and the adjusted contour, the difference parameter being: (1) Difference in LR slope, (2) Difference in AM gradient, (3) difference of line A My intercepts, (4) the distance between point A of the automatic contour and point A of the manual contour; (5) the distance between the L point of the automatic contour and the L point of the manual contour; (6) the distance between point R of the automatic contour and point R of the manual contour; (7) the distance between the M point of the automatic contour and the M point of the manual contour; (8) The distance between point C of the automatic contour and point C of the manual contour; (9) the distance between the automatic right endocardial contour segment and the manual right endocardial contour segment; (10) the distance between the automatic endocardial apex contour segment and the manual endocardial apex contour segment; (11) the distance between the automatic left endocardial contour segment and the manual left endocardial contour segment; (12) the 2D distance between the automatic right endocardial contour segment and the manual right endocardial contour segment; (13) the 2D distance between the automatic endocardial apex contour segment and the manual endocardial apex contour segment; (14) the 2D distance between the automatic left endocardial contour segment and the manual left endocardial contour segment; (15) Dice score between automatic and manual regions (16) Area difference, (17) Dynamic time-warping distance between automatic and manual contours; (18) The difference in slope and y-intercept between the automatic line LR and the manual line LR; (19) The difference in slope and y-intercept between the automatic line AM and the manual line AM; (20) Point difference between automatic L, R, C, A point and manual L, R, C, A point Includes.
[0047] 3. Image Preprocessing For an input echocardiogram image (FIG. 7A), take the left ventricular endocardial myocardium contour and corresponding regions tracked by the software, as shown in FIG. 5A and FIG. 5B. Then, perform a distance transform to obtain a mask, as shown in FIG. 7B. Then, apply the mask to a frame of the input echocardiogram video (FIG. 7A) to retain only the region surrounded by the left ventricular endocardial myocardium, as shown in FIG. 7C. Then, crop the masked image to eliminate excess background regions, as shown in FIG. 7D.
[0048] 4. Difference Model Training Two recurrent neural networks are trained to predict parameters that represent the difference between the automatically tracked and manually adjusted results. One neural network takes as input preprocessed image frames near the ED frame and outputs the difference parameters of the ED frame. The other neural network does the same but uses images and parameters of the ES rather than the ED. Frames near the ED and ES are extracted as training images. For ED model training, four echocardiogram images near the ED are extracted. For ED model training, eight echocardiogram images near the ES are extracted.
[0049] The next step after image extraction is data enhancement: each image is displaced, scaled and random brightness / contrast adjustments are applied.
[0050] We train a difference model using a deep residual learning model, ResnetRS3D-50 (arXiv:2103.07579, model code: https: / / github.com / tensorflow / models).
[0051] The inputs for the ED and ES difference models are 4 and 8 frames. The difference parameters calculated from the training set data are used as the learning targets (ground truth). Before training the model, the parameter values are standardized. The output layer is a dense layer that outputs continuous values of the difference parameters listed above in the shape parameter calculation paragraph. The model is trained to predict the difference parameters of echocardiogram images associated with the endocardial myocardial contours tracked by the software.
[0052] The model is trained for 100 epochs using an Nvidia RTX A6000 GPU under Tensorflow 2.9.1.
[0053] 5. Training results of the difference model The training results of the difference model are tested by the test dataset. The test results of the ES frame difference model are shown in Figures 8A-8E. The total mean error is 0.5931 (variance). The test results of the ED frame difference model are shown in Figures 9A-9E. The total mean error is 0.7253 (variance).
[0054] 6. Evaluation model training The results predicted by the ES frame difference model and the ED frame difference model are used to train the evaluation model. A tree-based model, the XGBoost (https: / / github.com / dmlc / xgboost) algorithm, is used in training. The GLS difference calculated from the sign data (including the tracked and adjusted contours by the software) is used as the training ground truth. The input includes the shape parameters and difference parameters mentioned above in the shape parameter calculation paragraph, and the output is an error value, which is the difference between the manual GLS and the automatic GLS.
[0055] 7. Evaluation model training results The trained evaluation model is tested by the test dataset, as shown in Figures 10A and 10B. The mean absolute error is 1.5586, and the QC pass / fail accuracy is 74.18% (with a cutoff at GLS error value=2, since experts suggest that a GLS error above 2 should be considered as a poor autotracking result).
[0056] 8. Poor Image Quality vs. Poor Image Analysis A poor prediction result generated by the software can result from (1) poor image quality (e.g., low resolution or wrong shooting angle) or (2) good image quality but poor analysis results predicted by the automated analysis software. The present invention can address both cases as shown in Figures 11-13.
[0057] 11A-11D show that for a portion of the left ventricular region, the input with poor image quality is not properly captured in the input image. This causes an error in the auto-tracking GLS value. The auto-tracking GLS value is -11.2% and the manually adjusted GLS is -18.7%. The error value (manual minus auto) is -7.5, which is significantly less than -2 and is classified as a poor prediction result. The model of the present invention predicts an error value of -10.38, which is also significantly less than -2, and is classified as a poor prediction result.
[0058] 12A-12D show another example of an input with poor image quality. The image brightness is too high, causing an error to the autotrack GLS value. The autotrack GLS value is -12.3% and the manual adjustment GLS is -20.9%. The error value (manual minus auto) is -8.6, which is significantly less than -2 and is classified as a poor prediction. The model of the present invention predicts an error value of -7.42, which is also significantly less than -2, and is classified as a poor prediction.
[0059] 13A-13D show an input with excellent image quality but poor automatic analysis. The auto track GLS value is -12.3% and the manually adjusted GLS is -22.2%. The error value (manual minus auto) is -9.9, which is significantly less than -2 and is classified as a poor prediction result. The model of the present invention predicts an error value of -12.21, which is also significantly less than -2, and is therefore classified as a poor prediction result.
[0060] 9. Comparison with conventional methods The performance of the model is compared with a previously available model, which is an image classifier with a confidence score, which correlates the GLS error value between the automatic and expert-adjusted results. A linear simple regression model is used (since there is only one input feature, i.e., the confidence score of the image classifier), and the model is trained using the same training dataset. The trained model is then tested with the test dataset. The results (Figures 14A and 14B) show a mean absolute error of 1.7731, with a QC pass / fail accuracy of 58.92% (with a cutoff at GLS error value=2).
[0061] Numerous previous studies have shown that the higher the image classifier confidence score, the better the image quality and the closer the fit between the autoGLS and the manually adjusted GLS. However, the correlation is rather weak. Using the same test dataset, the manualGLS-autoGLS difference predicted by our model has an R-squared value of 0.4499 to the ground truth GLS error value. On the other hand, the image classifier confidence score has an R-squared value of only 0.03 to the ground truth GLS error value.
[0062] 10. Comparison of model training using shape parameters and model training using the entire image Finally, we compare the performance of the model trained with the shape parameters with a model trained directly with the whole image (without introducing the shape parameters). For comparison, we use ResnetRS3D-50 to build a model that directly predicts the error value between manual GLS and automatic GLS (without first predicting the difference parameters and computing the shape parameters). We train the model using the same training dataset. The training input is 16 frames sampled from one cardiac cycle in DICOM video. The model is trained for 100 epochs using an Nvidia RTX A6000 GPU under Tensorflow 2.9.1. The results (Figure 15) show a mean absolute error of 2.1109 and a QC pass / fail accuracy of 58.38% (with a cutoff at GLS error value = 2).
[0063] The above results show that if we train the GLS error assessment model directly from DICOM images without introducing shape parameters, the prediction error is higher and the QC pass / fail accuracy is lower. Also, this targeted training model is more like a black box, because it cannot teach the quality control pass / fail of the input image because of the shape features as clues. Our method of predicting quality control via shape parameters is more accurate and more meaningful to cardiac specialists.
[0064] The above description of the embodiments is provided to enable those skilled in the art to make and use the subject matter. Various modifications to these embodiments will be readily apparent to those skilled in the art. The novel principles and subject matter disclosed herein may be applied to other embodiments without the use of innovative skills. The claimed subject matter set forth in the following claims is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. Further embodiments are contemplated within the spirit and true scope of the disclosed subject matter. It is therefore intended that the present invention cover modifications and variations that are within the scope of the appended claims and equivalents.
Claims
1. 1. A method for training a difference model to generate difference parameters relating to differences between a tracked contour and an adjusted contour by software, the method comprising: training a first machine learning model with a first plurality of training data sets, each of the first plurality of training data sets comprising a first training image set as a training input and a difference parameter set as a training target, the first training image set and the difference parameter set being: (a) obtaining the first training image set by selecting at least one image; (b) generating, by analysis software, a tracked contour based on the first training video or the first set of training images; (c) obtaining the adjusted contour; and (d) deriving, by said software, said set of difference parameters based on the tracked contour and said adjusted contour. A method for producing a composition comprising:
2. The method of claim 1 , wherein the first training image is an echocardiogram image.
3. 3. The method of claim 2, wherein each image in the first training image set is processed by the software according to a tracked contour before being used as the training input.
4. The method of claim 1 , wherein the first machine learning model is a regression model based on a convolutional neural network.
5. The method of claim 4 , wherein the first machine learning model is a Residual Neural Network (ResNet) model.
6. A method for training an assessment model to generate a predicted assessment error associated with a difference between an analysis result generated by a software and an adjusted analysis result, the method comprising: training a second machine learning model with a second plurality of training data sets, each of the second plurality of training data sets comprising at least one difference parameter as a training input, at least one shape parameter as a training input, and an assessment result as a training target; each of said at least one difference parameter set indicative of a difference between a contour tracked by the software and an adjusted contour; each of the at least one shape parameter is calculated based on a software tracked contour generated by the analysis software; The method, wherein the evaluation result is determined based on a difference between the software-generated analysis result and the adjusted analysis result.
7. The method of claim 6 , wherein the second machine learning model is a tree-based model.
8. 8. The method of claim 7, wherein the second machine learning model is a regression model and the evaluation result is an error value indicative of a difference between the analysis result generated by the software and the adjusted analysis result.
9. 8. The method of claim 7, wherein the second machine learning model is a classification model and the evaluation result is a class indicating a good or bad quality of an analysis result produced by the software.
10. Each of the at least one set of shape parameters comprises: (a) generating, by said analysis software, a software tracked contour from at least one image; and (b) calculating, by said software, one of said at least one set of shape parameters based on the tracked contours; 7. The method of claim 6, wherein the signal is generated by:
11. 11. The method of claim 10, wherein the second training images are echocardiogram images.
12. Each of the at least one difference parameter set comprises: (a) obtaining a second training image set by selecting at least one image; and (b) generating, by a difference model, one of the at least one difference parameter set based on the second training set of images; 7. The method of claim 6, wherein the signal is generated by:
13. Each of the at least one difference parameter set comprises: (a) generating, by said analysis software, a software tracked contour from at least one image; (b) obtaining an adjusted contour; and (c) calculating, by said software, one of said at least one set of difference parameters based on the tracked contour and said adjusted contour.
7. The method of claim 6, wherein the signal is generated by:
14. The at least one shape parameter set includes an ED (end diastolic) shape parameter set and an ES (end systolic) shape parameter set, the ED shape parameter set and the ES shape parameter set being: (a) obtaining an ED training image set by selecting at least one ED image; (b) obtaining an ES training image set by selecting at least one ES image; (c) generating, by the analysis software, a tracked ED contour based on the selected at least one ED image; (d) generating, by the analysis software, a tracked ES contour based on the selected at least one ES image; (e) calculating the set of ED shape parameters based on the tracked ED contour; and (f) calculating the set of ES shape parameters based on the tracked ES contour.
7. The method of claim 6, wherein the signal is generated by:
15. The at least one difference parameter set includes an ED (end diastolic) difference parameter set and an ES (end systolic) difference parameter set, the ED difference parameter set and the ES difference parameter set being: (a) generating the ED difference parameter set based on the ED training image set by an ED difference model; and (b) generating the ES difference parameter set based on the ES training image set using an ES difference model; 15. The method of claim 14, wherein the signal is generated by:
16. The at least one difference parameter set includes an ED (end diastolic) difference parameter set and an ES (end systolic) difference parameter set, the ED difference parameter set and the ES difference parameter set being: (a) obtaining an adjusted ED contour and an adjusted ES contour; (b) calculating the set of ED difference parameters based on the tracked ED contour and the adjusted ED contour; (c) calculating the set of ES difference parameters based on the tracked ES contour and the adjusted ES contour.
15. The method of claim 14, wherein the signal is generated by:
17. The evaluation results are as follows: (a) calculating a software generated analysis result based on the tracked ED contour and the tracked ES contour; (b) obtaining an adjusted ED contour and an adjusted ES contour; (c) calculating an adjusted analysis result based on the adjusted ED contour and the adjusted ES contour; (d) determining the evaluation result based on the analysis results generated by the software and the adjusted analysis results.
15. The method of claim 14, wherein the signal is generated by:
18. 1. A method for quality control of software analyzed images, the method comprising: (a) receiving at least one input image and at least one corresponding software analyzed image, the at least one corresponding software analyzed image being generated by analysis of the at least one input image by analysis software; (b) generating at least one set of predicted difference parameters based on the at least one input image by at least one difference model; (c) generating at least one set of shape parameters from the images analyzed by the at least one corresponding software; and (d) generating a predicted evaluation result based on at least one set of predicted difference parameters and at least one set of shape parameters by an evaluation model; A method comprising:
19. Prior to generating at least one set of first difference parameters, Processing the at least one input image based on the input image analyzed by the at least one software.
20. The method of claim 18, further comprising:
20. 20. The method of claim 18, wherein the input image is an echocardiogram image.
21. 20. The method of claim 18, wherein the evaluation result is an error value indicating the difference between the software-generated analysis result and the adjusted analysis result.
22. 20. The method of claim 18, wherein the evaluation result is a class indicating a good or bad quality of an analysis result produced by the software.
23. 20. The method of claim 18, wherein the at least one corresponding software analyzed image is a software tracked contour.
24. the at least one input image includes at least one ED input image and at least one ES input image; the at least one corresponding software analyzed image includes a corresponding image of the ED and a corresponding image of the ES; The at least one difference model includes a difference model of ED and a difference model of ES; the at least one set of predicted difference parameters includes one set of predicted ED difference parameters and one set of predicted ES difference parameters; 20. The method of claim 18, wherein the at least one set of shape parameters includes one set of shape parameters of an ED and one set of shape parameters of an ES.
25. A non-transitory computer readable medium having stored thereon an instruction set, the instruction set comprising: (a) receiving at least one input image and at least one corresponding software analyzed image, the at least one corresponding software analyzed image being generated by analysis of the at least one input image by analysis software; (b) generating at least one set of predicted difference parameters based on the at least one input image by at least one difference model; (c) generating at least one set of shape parameters from the images analyzed by the at least one corresponding software; and (d) generating a predicted evaluation result based on at least one set of predicted difference parameters and at least one set of shape parameters by an evaluation model; A non-transitory computer-readable medium executable by a processor of a computer system to perform a method including:
Citation Information
Patent Citations
Method and system for efficient learning of labels for medical image analysis
CN114972729A
Medical image processor
JP2015226711A
Image processing system, evaluation model construction method, image processing method, and program
JP2018206260A
Image scoring using error prediction
US20230245302A1
Assessing heart parameters using neural networks
WO2021176237A1
