Quality control and retrieval system for digital images and reports

Through the quality control and review system of digital images and reports, image processing and deep learning technology are used to automatically detect image defects and diagnostic reports, solving the problem of CT image reshooting and reporting accuracy, and improving work efficiency and diagnostic accuracy.

CN118675683APending Publication Date: 2024-09-20YILIAN YUNYING INFORMATION TECH (XIAN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410805815.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When taking CT images with the existing technology, defective images need to be retaken, which increases the diagnosis time and affects work efficiency. It also lacks an automated self-checking mechanism, affecting the accuracy of the report.

Method used

Design a quality control and review system for digital images and reports, which uses image processing, deep learning and NLP technology to automatically Detect image defects, calculate quality estimation indicators and diagnostic coefficients, decide whether to retake images, and conduct regular self-examination to ensure the validity of the report.

Benefits of technology

The system can automatically decide whether to retake images, improve work efficiency and diagnostic accuracy, reduce inaccurate diagnosis caused by human factors, and maintain the stable performance and diagnostic capabilities of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675683A
    Figure CN118675683A
Patent Text Reader

Abstract

The invention discloses a digital image and report quality control and retrieval system, which relates to the technical field of digital image processing and comprises an image acquisition and uploading module, an image quality control module, a prompt storage selection module, an image diagnosis report module, an influence and report association detection module and a user retrieval management module. The technical key points are as follows: a digital image which has defects but does not influence a main body is referenced, and whether the digital image is selected to be shot or stored again or not can be judged according to user requirements, so that the humanized design is embodied, and the overall working efficiency is improved to a certain extent; periodic association detection is carried out on digital images and corresponding reports, factors of comprehensive accuracy and sensitivity are considered, self-inspection processing of system operation is completed, and the self-inspection frequency is adjusted in a targeted mode so as to ensure the effectiveness of result reports given by the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital image processing, in particular to a quality control and reading system for digital images and reports. Background Art

[0002] Digital image processing refers to the process of using computer technology to process and analyze digitized images, aiming to improve image quality, extract useful information and achieve specific application goals; digital image processing includes the following main steps and techniques: image preprocessing, image classification, and image restoration and reconstruction; among them, image preprocessing aims to improve the quality of the image and make subsequent processing steps more effective; common preprocessing techniques include: denoising: using filters to eliminate noise in the image; contrast enhancement: improving the contrast of the image through histogram equalization, contrast stretching and other methods to make the details in the image more obvious; smoothing and sharpening: smoothing can reduce the noise in the image, and sharpening can enhance the edges and details in the image.

[0003] The existing application publication number is CN115713526A, and the document named "An image quality control system based on artificial intelligence" points out that it includes a 3D camera and an image quality control system. The 3D camera includes a body feature extraction module, an image registration module, a 3D virtual modeling module and a simulated transmission module. The present invention can identify the specific body position of the patient before scanning through the 3D camera and the image quality control system, and obtain a virtual projection contour through the 3D virtual modeling module and the simulated transmission module. The image quality control system performs AI registration on the image before scanning and AI scoring on the image after scanning, thereby improving the quality of the image. This solves the problem that the current hospital evaluates the quality of images through subjectivity, lacks objective quantitative indicators, and lacks the opportunity to explain to the operator at the time why the image appears in such a state, enhances the feedback of the image to the radiologist, and allows the radiologist to supplement the image, but it cannot further improve the working efficiency of the system.

[0004] In combination with the above-mentioned documents and prior art, when taking CT images, doctors need to make diagnoses based on the CT images. For some defective CT images, they usually need to be re-taken, which greatly increases the diagnosis time and affects work efficiency. In addition, for CT images and corresponding examination reports, relevant self-service examination report collection equipment has also been popularized. Users can print and collect their CT images and related reports as needed. Since all of them are currently automatically tested by equipment, no targeted self-test operations are given. If there are any abnormalities during the period, it will affect the accuracy of the report. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the deficiencies in the prior art, the present invention provides a quality control and review system for digital images and reports. For reference of digital images that have defects but do not affect the subject, the user can choose to re-shoot or save the digital image according to the user's needs, which embodies a humanized design and improves the overall work efficiency to a certain extent. Regular correlation detection is performed on digital images and their corresponding reports, and self-check processing of system operation is completed in consideration of comprehensive accuracy and sensitivity factors, and the self-check frequency is adjusted in a targeted manner to ensure the effectiveness of the result report given by the system, thereby solving the problems raised in the background technology.

[0007] (II) Technical solution

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0009] A quality control and review system for digital images and reports, comprising:

[0010] Image acquisition and upload module, which acquires the captured digital images and uploads them in real time;

[0011] The image quality control module uses an image processing method to detect defects in the digital image, calibrate the corresponding defect area, collect the pre-processed defect data, generate a quality image estimation index P of the corresponding digital image, and compare the quality image estimation index P with a preset index threshold. If the quality image estimation index P does not exceed the index threshold, the first adjustment strategy is executed;

[0012] prompting the storage selection module to send a notification signal and store the current digital image under the condition that the quality image estimation index P exceeds the index threshold;

[0013] The imaging diagnosis report module uses a deep learning algorithm to segment the current digital image to obtain the lesion area, calculates the overlap rate between the defect area and the lesion area, and executes subsequent operations if the overlap rate does not exceed the set standard threshold. If the overlap rate exceeds the set standard threshold, the first adjustment strategy is executed until the overlap rate does not exceed the set standard threshold. The pre-trained deep learning model is used to extract the image features of the lesion area, and the lesion area is classified in combination with the support vector machine. After analyzing the image features, the image analysis results are generated. The structured image analysis results are converted into text descriptions using NLP technology to obtain a diagnosis report.

[0014] The impact and report association detection module uses the last acquired digital image as the standard, retrieves historical data, regularly calculates the diagnostic coefficient based on the historical data, and obtains the sensitivity for generating a diagnostic report. Based on the preprocessed diagnostic coefficient and sensitivity, it generates a quality prediction evaluation value Pyu. After comparing the quality prediction evaluation value Pyu with the preset evaluation threshold, the corresponding strategy is executed according to the comparison result.

[0015] Furthermore, the image processing method includes: artifact detection, poor contrast detection and motion artifact detection; and a characteristic analysis method is used when calibrating the corresponding defect area.

[0016] Furthermore, the collected defect data include resolution, clarity, noise value and the overlap rate between the defect area and the calibration area, and the resolution represents the spatial resolution, the clarity is obtained by Sobel edge detection, and the noise value represents the signal-to-noise ratio. The process of preprocessing the defect data is: dimensionless processing.

[0017] Furthermore, the formula for calculating the quality image prediction index P is as follows:

[0018]

[0019] Wherein, fs, qs, xz represent resolution, clarity, and noise values ​​respectively; a1, a2, and a3 represent weights of resolution, clarity, and noise values ​​respectively, and a1>a2>a3>0; cl represents the overlap ratio between the defect area and the calibration area, and the preset proportional coefficient is: 0≤w1≤1, 0≤w2≤1; the first adjustment strategy to be implemented is: reshooting to obtain the digital image.

[0020] Furthermore, the analysis of image features is based on a pre-built rule engine, which obtains the number of nodules in the lesion area and the area of ​​the largest nodule, and obtains an evaluation index after weighted calculation. If the evaluation index exceeds the preset value, the digital image is marked as malignant; if the evaluation index does not exceed the preset value, the digital image is marked as benign.

[0021] Furthermore, the historical data includes: N samples with diagnostic reports, for each sample, S percentages of recognition are obtained, N percentages are obtained, and the number of percentages lower than a preset calibration threshold is extracted; the S percentages of recognition represent: when S professors judge the same diagnostic report sample, the number of recognitions accounts for the percentage of the total number S; the diagnostic coefficient is calculated regularly based on the historical data, and the regularity here is according to a predetermined time interval.

[0022] Furthermore, the formula for calculating the diagnostic coefficient based on historical data is as follows:

[0023] Du=o / N;

[0024] In the formula, o represents the number of percentages below the preset calibration threshold;

[0025] The sensitivity of the diagnostic report is generated as follows:

[0026] Within the preset period T, the time taken to generate a diagnostic report each time is obtained, and the formula for calculating the sensitivity of the diagnostic report is as follows:

[0027]

[0028] Where Lm represents the sensitivity, i = 1, 2, ..., n, i represents the number of the diagnostic report generated each time, and n is a positive integer, n = T, Sc i Indicates the time it takes to generate a diagnostic report each time. avg Indicates the average time taken to generate diagnostic reports n times;

[0029] Based on the preprocessed diagnostic coefficient and sensitivity, the formula for generating the quality prediction evaluation value Pyu is as follows:

[0030]

[0031] In the formula, weight coefficient: 0 <A1<1,0<A2<1。

[0032] Further, executing corresponding strategies according to the comparison results includes: if the quality prediction evaluation value Pyu exceeds the evaluation threshold, executing the periodic judgment strategy; if the quality prediction evaluation value Pyu does not exceed the evaluation threshold, re-running and building the entire system;

[0033] Among them, the regular judgment strategy implemented is:

[0034] According to the difference between the current quality prediction evaluation value Pyu and the evaluation threshold and the established time interval, the periodic detection adjustment value Tzo is generated according to the following formula:

[0035] Tzo=int(L b +G1(Pyu-yu));

[0036] In the formula, int represents the rounding function, L b represents a predetermined time interval, G1 is the first error correction factor, and the value range of G1 is 0 to 2, and yu represents the evaluation threshold.

[0037] Furthermore, in the process of calculating the diagnostic coefficient based on historical data, a correction adjustment mechanism is also included, and the standard threshold is adjusted according to the correction adjustment mechanism;

[0038] The implemented correction adjustment mechanism is:

[0039] Extract the number o of percentages lower than the preset calibration threshold, mark each digital image, obtain and calculate the correction index U based on the coincidence rate between the abnormal area and the lesion area corresponding to each digital image, and adjust the standard threshold by generating the correction index U to obtain the standard threshold correction value By x , the adjustment method is as follows:

[0040] By x =By-G2U;

[0041]

[0042] In the formula, By represents the standard threshold, G2 is the second error correction factor, and the value range of G1 is 0 to 1, Yl max Indicates the maximum value of the overlap rate between the abnormal area and the lesion area of ​​the digital image in the number o, Yl min It represents the minimum value of the overlap rate between the abnormal area and the lesion area in the digital image in quantity o.

[0043] Furthermore, it also includes a user access management module to set access permissions, and use blockchain technology to record all access logs, and issue a warning signal when unauthorized access is detected.

[0044] (III) Beneficial effects

[0045] The present invention provides a digital image and report quality control and review system, which has the following beneficial effects:

[0046] 1. The system can automatically decide whether to re-shoot images based on quality image estimation indicators, reduce human intervention, and improve operational efficiency. By evaluating image quality, it can intelligently select image storage strategies to ensure the rational use and efficient management of storage resources.

[0047] 2. The system determines whether reshooting is needed based on the overlap rate between the abnormal area and the lesion area to avoid affecting the subsequent imaging diagnosis operation. It then automatically detects the lesion area in the image and generates a preliminary diagnosis report, thus improving the efficiency and accuracy of imaging diagnosis.

[0048] 3. The quality prediction evaluation value Pyu is obtained through comprehensive calculation, so that the system can automatically identify and adjust the quality of the diagnostic report in the future, reduce inaccurate diagnosis caused by human factors or errors, and improve the reliability of the diagnostic results; regularly calculate and adjust the diagnostic coefficient based on historical data, and regularly judge the execution of the strategy, which helps the system maintain stable performance and accurate diagnostic capabilities in long-term operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1It is a schematic diagram of the module structure of a quality control and review system for digital images and reports;

[0050] Figure 2 The figure is a schematic diagram of the overall process of a method for quality control and review of digital images and reports. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0052] Example 1: Please refer to Figure 1 This embodiment provides a digital image and report quality control and review system, the main concept of the system is:

[0053] Starting from the digital image, the quality of the digital image with certain defects is controlled to determine whether the defect affects the generation or diagnosis of subsequent reports. When it is determined that there is no impact or the impact is negligible, no re-shooting or equipment parameter adjustment is required, thereby improving work efficiency. When a preliminary report is generated for the digital image, it is determined whether the digital image needs to be re-shot according to the situation, and the image is automatically detected to generate a preliminary report. Finally, the digital image and report are correlated and detected to determine and evaluate the quality of the system. It is determined to continue the subsequent operation with a system that meets the standards, and the authority of the authorized personnel to access is set to facilitate subsequent review.

[0054] Compared with the existing and traditional system design;

[0055] The system designed in this application has two core points:

[0056] 1. For digital images with defects that do not affect the subject, users can choose to reshoot or save the digital images according to their needs, which reflects the humanized design and improves the overall work efficiency to a certain extent;

[0057] 2. Carry out regular correlation detection on digital images and their corresponding reports, take into account the comprehensive accuracy and sensitivity factors, complete the self-check processing of the system operation, and adjust the self-check frequency in a targeted manner to ensure the effectiveness of the result report given by the system.

[0058] Software Design:

[0059] The system includes an image acquisition and uploading module, which acquires the captured digital images and uploads them in real time;

[0060] CT images are a typical example of digital images. Digital images refer to medical images that are acquired, stored, and displayed using digital technology. They have replaced traditional film images and have many advantages, such as easy archiving, transmission, and processing. CT images are acquired through CT scanning devices, which use X-rays to scan through the patient's body parts, generating a large number of cross-sectional images, which are then processed by computers to reconstruct detailed three-dimensional images of structures with different densities.

[0061] Other types of digital images and their acquisition equipment:

[0062] MRI imaging, Equipment: MRI, Features: Uses strong magnetic fields and harmless radio waves to produce detailed images of body structures, such as soft tissues and the nervous system;

[0063] X-ray imaging: Equipment: traditional X-ray equipment or digital X-ray equipment (such as digital radiographic film systems); Features: used to examine bones and certain soft tissue structures, such as chest X-rays, bone X-rays, etc.;

[0064] Ultrasound imaging: Equipment: Ultrasound probes and ultrasound equipment; Features: Uses sound waves to produce real-time images, used to observe fluids and soft tissues, such as fetal ultrasound examinations in pregnant women;

[0065] Magnetic resonance imaging: Equipment: Nuclear medicine scanning equipment (such as PET-CT, SPECT); Features: Use radioactive tracers to observe the function of organs and systems, such as PET scans for cancer detection;

[0066] Digital Mammography: Equipment: Digital mammography equipment; Features: Used for breast cancer screening, providing clearer images and higher detection accuracy. These digital imaging technologies play an important role in the medical diagnosis and treatment process, improving the efficiency and accuracy of medical care, while providing doctors and patients with more information and options.

[0067] Real-time uploading is carried out through wireless communication technology installed on the corresponding device, and the wireless communication technology includes 4G, 5G and WiFi technology.

[0068] The image quality control module uses an image processing method to detect defects in digital images, calibrate corresponding defect areas, collect pre-processed defect data, generate a quality image prediction index P of the corresponding digital image, and compare the quality image prediction index P with a preset index threshold. If the quality image prediction index P does not exceed the index threshold, the first adjustment strategy is executed; if the quality image prediction index P exceeds the index threshold, it means that the defect has no effect on the diagnosis, so the system does not take any response action;

[0069] Among them, the image processing methods used include:

[0070] Artifact detection, contrast impairment detection, and motion artifact detection;

[0071] Artifacts are undesirable image phenomena caused by external or internal interference during the image acquisition process. The treatment methods are: Frequency domain filtering: Apply frequency domain filters (such as Fourier transform) to detect artifacts; Template matching: Use predefined artifact templates to identify similar patterns in the image; Example: For CT images, artifacts may come from metal prostheses or motion artifacts; the system can identify these artifacts by detecting abnormal areas of non-biological features or blurred areas of moving objects;

[0072] Poor contrast affects the clarity and recognizability of structures in the image. The treatment methods are: Histogram analysis: Analyze the histogram of the image, evaluate the grayscale distribution of pixels, and detect low contrast; Local contrast enhancement: Apply local contrast enhancement algorithms such as CLAHE to enhance local details in the image; Example: In CT images, the system can detect poor contrast caused by incorrect scanning parameters or uneven signal intensity;

[0073] Motion artifacts are image blur or deformation caused by the movement of the patient or equipment. The processing methods are as follows: Motion correction: Use image registration technology to align multiple image frames to eliminate motion artifacts. Motion detection algorithm: Use optical flow or feature point-based methods to detect and repair motion artifacts. Example: In CT images, the system can detect and correct motion artifacts caused by changes in patient breathing or body position by comparing the position offset of sequence frames.

[0074] When calibrating the corresponding defect area:

[0075] The characteristic analysis method is used to analyze artifacts, poor contrast, and motion artifacts based on their specific characteristics; abnormal high-frequency components are detected to identify artifacts and motion artifacts, and poor contrast is detected by analyzing grayscale distribution characteristics. The areas where abnormalities are identified and detected are calibrated to obtain defective areas;

[0076] The image quality of the defect area is monitored. The defect data collected include resolution, clarity, noise value, and the overlap rate between the defect area and the calibration area. The process of preprocessing the defect data is as follows: dimensionless processing;

[0077] Among them, resolution refers to spatial resolution, which is calculated by measuring the size of the actual object in the image and combining it with the number of pixels. For a certain CT image, the resolution is 512*512 pixels, and each pixel represents an actual object of 0.5 mm, so the resolution is 0.5; clarity is detected by Sobel edge detection. The average edge strength of a certain CT image is 150, so the clarity is 150; noise value refers to signal-to-noise ratio, which is obtained by calculating the ratio of the signal intensity and noise intensity of the image. The SNR of a certain CT image is 20; calibration area refers to the area that needs to be inspected in advance, for example: the contour area of ​​the lungs in the CT image, which is the calibration area; the overlap rate between the defect area and the calibration area is obtained by dividing the area where the defect area overlaps with the calibration area by the calibration area and multiplying the value by 100%;

[0078] The formula for calculating the quality image estimation index P is as follows:

[0079]

[0080] Where, fs, qs, xz represent resolution, clarity, and noise values, respectively; a1, a2, and a3 represent the weights of resolution, clarity, and noise values, respectively, and a1>a2>a3>0; cl represents the overlap ratio between the defect area and the calibration area, and the preset proportional coefficient is: 0≤w1≤1, 0≤w2≤1;

[0081] It should be noted that after the resolution, clarity and noise values ​​in the above formula are weighted, the obtained comprehensive value and the overlap rate between the defect area and the calibration area are secondarily calculated. The comprehensive value is proportional to the quality image prediction index, and the overlap rate between the defect area and the calibration area is inversely proportional to the quality image prediction index.

[0082] The first adjustment strategy implemented is: reshooting to obtain digital images.

[0083] The prompt storage selection module, when the quality image estimation index P exceeds the index threshold, indicates that the defect does not affect the subsequent diagnosis. In this case, the subsequent operation or processing can be performed based on the current digital image, a notification signal is issued, and the current digital image is stored;

[0084] The content of the notification signal is: the current digital image is abnormal, but it does not affect the subsequent diagnosis. The user can choose whether to execute the first adjustment strategy according to the needs;

[0085] If the user chooses not to execute, the subsequent operations will continue based on the current digital image;

[0086] If the user chooses to execute, the first adjustment strategy is executed to reacquire the digital image.

[0087] Specifically, the system can automatically decide whether to re-shoot images based on quality image prediction indicators, reduce human intervention, and improve operational efficiency. By evaluating image quality, it can intelligently select image storage strategies to ensure the rational use and efficient management of storage resources.

[0088] The imaging diagnosis report module uses a deep learning algorithm to segment the current digital image to obtain the lesion area, calculates the overlap rate between the defect area and the lesion area, and executes subsequent operations if the overlap rate does not exceed the set standard threshold. If the overlap rate exceeds the set standard threshold, the first adjustment strategy is executed until the overlap rate does not exceed the set standard threshold. The pre-trained deep learning model is used to extract the image features of the lesion area, and the lesion area is classified in combination with the support vector machine. After analyzing the image features, the image analysis results are generated. The structured image analysis results are converted into text descriptions using NLP technology to obtain a diagnosis report.

[0089] Among them, the deep learning algorithm is convolutional neural network (CNN);

[0090] When the current digital image is segmented to obtain the lesion area: extracting the region of interest (ROI) in the image, the region of interest includes the lesion area and the organ boundary;

[0091] The principle of calculating the overlap rate between the defect area and the lesion area is the same as that of calculating the overlap rate between the defect area and the calibration area, so it will not be elaborated here;

[0092] The image features of the lesion area are extracted using a pre-trained deep learning model. The pre-trained deep learning model includes any one of ResNet and VGG. The image features include shape and size. The lesion area is classified by combining a support vector machine. For example, the size and shape features of nodules are extracted from lung CT images and classified as benign or malignant nodules. The specific classification process is not described in detail here.

[0093] The analysis of image features is based on a rule engine. The number of nodules and the area of ​​the largest nodule are obtained, and an evaluation index is obtained after weighted calculation. If the evaluation index exceeds the preset value, the digital image is classified as malignant; if the evaluation index does not exceed the preset value, the digital image is classified as benign.

[0094] It should be noted that the preset value is set based on historical data, which includes the number of nodules in several malignant cases and the area of ​​the largest nodule. The minimum value is extracted and weighted summed to obtain the desired preset value.

[0095] The image analysis results are: classifying the digital image as malignant or benign;

[0096] After using NLP technology to convert structured image analysis results into text descriptions, it also includes: using grammar checking tools and template matching technology to ensure the accuracy and standardization of report content;

[0097] Example process:

[0098] 1. Image input:

[0099] A patient undergoes a chest CT scan and the images are uploaded to the system;

[0100] 2. Automatic detection and analysis:

[0101] Extract the lung area in the image and identify multiple suspicious nodules; Feature extraction and classification: Extract the shape, size and density features of each nodule and classify the nodules as benign or highly likely to be malignant; Preliminary diagnosis: The system analyzes the features of multiple nodules, generates a preliminary diagnosis, and visualizes the location and features of each nodule; Report generation: The system converts the analysis results into a natural language report, automatically checks the report syntax and format, and ensures that the report is standardized;

[0102] 3. Report output:

[0103] An example of a preliminary diagnostic report generated by the system is as follows:

[0104]

[0105] Through the above process, the system can automatically detect the lesion area in the CT image, generate a preliminary diagnosis report, and improve the efficiency and accuracy of image diagnosis.

[0106] Specifically, the system determines whether re-shooting is needed based on the overlap rate between the abnormal area and the diseased area to avoid affecting subsequent imaging diagnosis operations. It then automatically detects the diseased area in the image and generates a preliminary diagnosis report, improving the efficiency and accuracy of imaging diagnosis.

[0107] The impact and report association detection module uses the last acquired digital image as the standard, retrieves historical data, regularly calculates the diagnostic coefficient based on the historical data, and obtains the sensitivity for generating diagnostic reports. Based on the preprocessed diagnostic coefficient and sensitivity, it generates a quality prediction evaluation value Pyu. After comparing the quality prediction evaluation value Pyu with the preset evaluation threshold, if the quality prediction evaluation value Pyu exceeds the evaluation threshold, it indicates that the system is normal and the regular judgment strategy is executed; if the quality prediction evaluation value Pyu does not exceed the evaluation threshold, it indicates that the system is abnormal and the entire system is re-run and rebuilt;

[0108] In the process of calculating the diagnostic coefficient based on historical data, a correction adjustment mechanism is also included, and the standard threshold value is adjusted according to the correction adjustment mechanism;

[0109] Among them, the historical data includes:

[0110] N samples with diagnostic reports. For each sample, S percentages of agreement are obtained, resulting in N percentages, and the number of percentages lower than a preset calibration threshold is extracted; the S percentages of agreement indicate: when S professors evaluate the same diagnostic report sample, the percentage of the number of agreements in the total number S. The professors refer to clinical experts in the corresponding field, and the value range of N is 5 to 10, and the value range of S is 3 to 5, considering the limited number of expert professors in the same field;

[0111] Regularly calculate the diagnostic coefficient based on the historical data. Here, "regularly" is at a fixed time interval, and the actual time interval can be set according to actual needs;

[0112] The formula for calculating the diagnostic coefficient based on the historical data is as follows:

[0113] Du = o / N;

[0114] In the formula, o represents the number of percentages lower than the preset calibration threshold;

[0115] Generate the sensitivity of the diagnostic report. The process is as follows:

[0116] Within a preset period T, obtain the duration consumed for each generation of the diagnostic report. The formula for calculating the sensitivity of the diagnostic report is as follows:

[0117]

[0118] In the formula, Lm represents the sensitivity, i = 1, 2,..., n, i represents the number of each generation of the diagnostic report, and n is a positive integer, n = T, Sc i represents the duration consumed for each generation of the diagnostic report, Sc avg represents the average value of the durations consumed for n generations of the diagnostic report; the initial moment of the duration consumed for any generation of the diagnostic report is the moment when the lesion area is obtained, and the end moment is the moment when the diagnostic report is generated. The time elapsed from the initial moment to the corresponding end moment is the required duration;

[0119] Based on the preprocessed diagnostic coefficient and sensitivity, the preprocessing process is as follows: perform dimensionless processing. The formula for generating the quality prediction and evaluation value Pyu is as follows:

[0120]

[0121] In the formula, the weight coefficients: 0 < A1 < 1, 0 < A2 < 1; it should be noted that the diagnostic coefficient is inversely proportional to the quality prediction and evaluation value, and the sensitivity is inversely proportional to the quality prediction and evaluation value;

[0122] The regular judgment strategies implemented are:

[0123] According to the difference between the current quality prediction evaluation value Pyu and the evaluation threshold and the established time interval, the periodic detection adjustment value Tzo is generated according to the following formula:

[0124] Tzo=int(L b +G1(Pyu-yu));

[0125] In the formula, int represents the rounding function, L b represents a predetermined time interval, G1 is the first error correction factor, the specific value of which can be adjusted and set by the user, or generated by analytical function fitting, and the value range of G1 is 0 to 2, yu represents the evaluation threshold; when the quality prediction evaluation value Pyu exceeds the evaluation threshold, the more the difference, the better the system performance, so there is no need for regular detection and judgment;

[0126] In the process of calculating the diagnostic coefficient based on historical data, the correction adjustment mechanism implemented is:

[0127] Extract the number o of percentages lower than the preset calibration threshold, mark each digital image, obtain and calculate the correction index U based on the coincidence rate between the abnormal area and the lesion area corresponding to each digital image, and adjust the standard threshold by generating the correction index U to obtain the standard threshold correction value By x , the adjustment method is as follows:

[0128] By x =By-G2U;

[0129]

[0130] In the formula, By represents the standard threshold, G2 is the second error correction factor, the specific value of which can be adjusted and set by the user, or generated by the analytical function fitting, and the value range of G1 is 0 to 1, and Yl max Indicates the maximum value of the overlap rate between the abnormal area and the lesion area of ​​the digital image in the number o, Yl min It represents the minimum value of the overlap rate between the abnormal area and the lesion area of ​​the digital image in the quantity o;

[0131] It should be noted that, when the number o whose percentage is lower than the preset calibration threshold is larger, it means that the initially set standard threshold may be larger and needs to be corrected and reduced, so that the originally ignored situation needs to be re-shot, which ensures the quality of the digital image to a certain extent; when the number o whose extraction percentage is lower than the preset calibration threshold is zero, the standard threshold is not corrected.

[0132] Specifically, by comprehensively calculating the quality prediction evaluation value Pyu, the system can automatically identify and adjust the quality of the diagnostic report, reduce inaccurate diagnosis caused by human factors or errors, and improve the reliability of the diagnostic results; regularly calculating and adjusting the diagnostic coefficient based on historical data, as well as regularly judging the execution of the strategy, will help the system maintain stable performance and accurate diagnostic capabilities in long-term operation.

[0133] The user access management module sets access rights for users to ensure that only authorized personnel can access and operate images and reports. It also uses blockchain technology to record all access logs to ensure that data cannot be tampered with and issue warning signals when unauthorized access is detected.

[0134] Among them, blockchain technology chooses a suitable blockchain platform, such as Ethereum or Hyperledger Fabric; for enterprise-level applications, you can choose Hyperledger Fabric that supports permission management and private chains;

[0135] The implementation steps are as follows:

[0136] First, use PKI (public key infrastructure) to assign a unique public key and private key to each user. The user signs with the private key and the system verifies the public key.

[0137] #User authentication example using Python

[0138] from cryptography.hazmat.primitives.asymmetric import rsa

[0139] from cryptography.hazmat.primitives import serialization,hashes

[0140] from cryptography.hazmat.primitives.asymmetric import padding

[0141] #Generate public and private keys

[0142] private_key=rsa.generate_private_key(public_exponent=65537,key_size=2048)

[0143] public_key=private_key.public_key()

[0144] #Users use private key to sign data when logging in

[0145] data = b"User login data"

[0146] signature=private_key.sign(data,padding.PSS(mgf=padding.MGF1(hashes.SH A256()), salt_length=padding.PSS.MAX_LENGTH),hashes.SHA256())

[0147] # System verification signature

[0148] public_key.verify(signature,data,padding.PSS(mgf=padding.MGF1(hashes.SHA256()), salt_length=padding.PSS.MAX_LENGTH),hashes.SHA256());

[0149] Then, use smart contracts to set and verify user access rights. Ethereum or Hyperledger Fabric both support smart contracts, and the specific demonstration code will not be described in detail here;

[0150] Secondly, all access records are written into the blockchain to ensure that the records cannot be tampered with;

[0151] Finally, implement a monitoring module to scan blockchain logs and automatically alarm when unauthorized access is found; code demonstration example:

[0152] #Monitoring module example implemented using Python

[0153] import time

[0154] from web3 importWeb3

[0155] #Connect to Ethereum node

[0156] w3=Web3(Web3.HTTPProvider('http: / / localhost:8545'))

[0157] contract_address='0xYourContractAddress'

[0158] contract_abi='YourContractABI'

[0159] contract=w3.eth.contract(address=contract_address,abi=contract_abi)

[0160] defmonitor_access_logs():

[0161] while True:

[0162] logs=contract.functions.getLogs().call()

[0163] for log in logs:

[0164] user=log[0]

[0165] resource=log[1]

[0166] timestamp = log[2]

[0167] authorized=log[3]

[0168] ifnot authorized:

[0169] print(f"Unauthorized access attempt by{user}to{resource}at{timestamp}")

[0170] #Trigger an alarm mechanism, such as sending an email or text message

[0171] send_alert(user,resource,timestamp)

[0172] time.sleep(60)

[0173] defsend_alert(user,resource,timestamp):

[0174] #Implement an alarm mechanism, such as sending emails or text messages

[0175] pass

[0176] monitor_access_logs().

[0177] Example 2: Please refer to Figure 2 Based on Example 1, this embodiment further provides a method for quality control and review of digital images and reports, including the following specific steps:

[0178] S1, obtain the captured digital image and upload it in real time;

[0179] S2, using an image processing method to detect defects in the digital image, calibrate the corresponding defect area, collect pre-processed defect data, generate a quality image estimation index P of the corresponding digital image, and compare the quality image estimation index P with a preset index threshold, and execute the first adjustment strategy under the condition that the quality image estimation index P does not exceed the index threshold;

[0180] S3, when the quality image estimation index P exceeds the index threshold, a notification signal is issued and the current digital image is stored;

[0181] S4. Use a deep learning algorithm to segment the current digital image to obtain the lesion area, calculate the overlap rate between the defect area and the lesion area, and if the overlap rate does not exceed the set standard threshold, execute the subsequent operation; if the overlap rate exceeds the set standard threshold, execute the first adjustment strategy until the overlap rate does not exceed the set standard threshold; use the pre-trained deep learning model to extract the image features of the lesion area, combine the support vector machine to classify the lesion area, analyze the image features, generate image analysis results, and use NLP technology to convert the structured image analysis results into text descriptions to obtain a diagnosis report;

[0182] S5. Taking the last acquired digital image as the standard, retrieve historical data, regularly calculate the diagnostic coefficient based on the historical data, and obtain the sensitivity for generating a diagnostic report. Generate a quality prediction evaluation value Pyu based on the preprocessed diagnostic coefficient and sensitivity. After comparing the quality prediction evaluation value Pyu with a preset evaluation threshold, execute a corresponding strategy based on the comparison result.

[0183] S6. Set access permissions and use blockchain technology to record all access logs, and issue warning signals when unauthorized access is detected.

[0184] In the application, the several formulas involved are all calculated by removing the dimensions and taking their numerical values. The formula is a formula obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The formula is set by technical personnel in this field according to actual conditions.

[0185] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. A person of ordinary skill in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution.

[0186] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0187] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A quality control and review system for digital images and reports, characterized in that: include: Image acquisition and upload module, which acquires the captured digital images and uploads them in real time; The image quality control module uses an image processing method to detect defects in the digital image, calibrate the corresponding defect area, collect the pre-processed defect data, generate a quality image estimation index P of the corresponding digital image, and compare the quality image estimation index P with a preset index threshold. If the quality image estimation index P does not exceed the index threshold, the first adjustment strategy is executed; prompting the storage selection module to send a notification signal and store the current digital image when the quality image estimation index P exceeds the index threshold; The imaging diagnosis report module uses a deep learning algorithm to segment the current digital image to obtain the lesion area, calculates the overlap rate between the defect area and the lesion area, and executes subsequent operations if the overlap rate does not exceed the set standard threshold. If the overlap rate exceeds the set standard threshold, the first adjustment strategy is executed until the overlap rate does not exceed the set standard threshold. The pre-trained deep learning model is used to extract the image features of the lesion area, and the lesion area is classified in combination with the support vector machine. After analyzing the image features, the image analysis results are generated. The structured image analysis results are converted into text descriptions using NLP technology to obtain a diagnosis report. The impact and report association detection module uses the last acquired digital image as the standard, retrieves historical data, regularly calculates the diagnostic coefficient based on the historical data, and obtains the sensitivity for generating a diagnostic report. Based on the preprocessed diagnostic coefficient and sensitivity, it generates a quality prediction evaluation value Pyu. After comparing the quality prediction evaluation value Pyu with the preset evaluation threshold, the corresponding strategy is executed according to the comparison result.

2. A digital image and report quality control and review system according to claim 1, characterized in that: The image processing methods include: artifact detection, poor contrast detection and motion artifact detection; and the characteristic analysis method is used when calibrating the corresponding defect area.

3. A digital image and report quality control and review system according to claim 2, characterized in that: The collected defect data include resolution, clarity, noise value and the overlap rate between the defect area and the calibration area. The resolution represents the spatial resolution, the clarity is obtained by Sobel edge detection, and the noise value represents the signal-to-noise ratio. The process of preprocessing the defect data is: dimensionless processing.

4. A digital image and report quality control and review system according to claim 3, characterized in that: The formula for calculating the quality image estimation index P is as follows: Wherein, fs, qs, xz represent resolution, clarity, and noise values ​​respectively; a1, a2, and a3 represent weights of resolution, clarity, and noise values ​​respectively, and a1>a2>a3>0; cl represents the overlap ratio between the defect area and the calibration area, and the preset proportional coefficient is: 0≤w1≤1, 0≤w2≤1; the first adjustment strategy to be implemented is: reshooting to obtain the digital image.

5. A digital image and report quality control and review system according to claim 4, characterized in that: The analysis of image features is based on a pre-built rule engine. The number of nodules in the lesion area and the area of ​​the largest nodule are obtained, and an evaluation index is obtained after weighted calculation. If the evaluation index exceeds the preset value, the digital image is marked as malignant; if the evaluation index does not exceed the preset value, the digital image is marked as benign.

6. A digital image and report quality control and review system according to claim 5, characterized in that: The historical data includes: N samples with diagnostic reports. For each sample, S percentages of recognition are obtained to obtain N percentages, and the number of percentages lower than the preset calibration threshold is extracted; the percentage of S recognitions means: when S professors judge the same diagnostic report sample, the number of recognitions accounts for the percentage of the total number S; the diagnostic coefficient is calculated regularly based on the historical data, and the regularity here is according to the established time intervals.

7. A digital image and report quality control and review system according to claim 6, characterized in that: The formula for calculating the diagnostic coefficient based on historical data is as follows: Du=o / N; In the formula, o represents the number of percentages below the preset calibration threshold; The sensitivity of the diagnostic report is generated as follows: Within the preset period T, the time taken to generate a diagnostic report each time is obtained, and the formula for calculating the sensitivity of the diagnostic report is as follows: Where Lm represents the sensitivity, i = 1, 2, ..., n, i represents the number of the diagnostic report generated each time, and n is a positive integer, n = T, Sc i Indicates the time it takes to generate a diagnostic report each time. avg Indicates the average time taken to generate diagnostic reports n times; Based on the preprocessed diagnostic coefficient and sensitivity, the formula for generating the quality prediction evaluation value Pyu is as follows: In the formula, weight coefficient: 0 <A1<1,0<A2<1。 8. A digital image and report quality control and review system according to claim 7, characterized in that: Executing corresponding strategies according to the comparison results includes: if the quality prediction evaluation value Pyu exceeds the evaluation threshold, executing the periodic judgment strategy; if the quality prediction evaluation value Pyu does not exceed the evaluation threshold, re-running and building the entire system; Among them, the regular judgment strategy implemented is: According to the difference between the current quality prediction evaluation value Pyu and the evaluation threshold and the established time interval, the periodic detection adjustment value Tzo is generated according to the following formula: Tzo⼝int(L b +G1(Pyu-yu)); In the formula, int represents the rounding function, L b represents a predetermined time interval, G1 is the first error correction factor, and the value range of G1 is 0 to 2, and yu represents the evaluation threshold.

9. A digital image and report quality control and review system according to claim 8, characterized in that: In the process of calculating the diagnostic coefficient based on historical data, a correction adjustment mechanism is also included, and the standard threshold value is adjusted according to the correction adjustment mechanism; The implemented correction adjustment mechanism is: Extract the number o of percentages lower than the preset calibration threshold, mark each digital image, obtain and calculate the correction index U based on the coincidence rate between the abnormal area and the lesion area corresponding to each digital image, and adjust the standard threshold by generating the correction index U to obtain the standard threshold correction value By x , the adjustment method is as follows: By x =By-G2U; In the formula, By represents the standard threshold, G2 is the second error correction factor, and the value range of G1 is 0 to 1, Yl max Indicates the maximum value of the overlap rate between the abnormal area and the lesion area of ​​the digital image in the number o, Yl min It represents the minimum value of the overlap rate between the abnormal area and the lesion area in the digital image in quantity o.

10. A digital image and report quality control and review system according to claim 9, characterized in that: It also includes a user access management module to set access rights, and uses blockchain technology to record all access logs, issuing early warning signals when unauthorized access is detected.

Citation Information

Cited By

  • Electronic industry AOI visual inspection optimization method based on large model

    CN119850539A