Artificial intelligence assisted photoacoustic imaging analysis method and system
Through artificial intelligence-assisted photoacoustic imaging analysis method, the photoacoustic images are automatically analyzed using wavelength adjustable light sources and deep learning models, solving the complexity and multidimensional problems of photoacoustic imaging data, improving the analysis efficiency and accuracy, and real-time feedback is achieved .
Patent Information
- Application Number
- CN202410894471.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-01
AI Technical Summary
The complexity and multidimensionality of photoacoustic imaging data lead to low efficiency and poor accuracy of manual analysis, lack of real-time performance, making it difficult to fully analyze various information of photoacoustic images.
The light source and detector with adjustable wavelengths are used to receive photoacoustic signals, and the target features are extracted through preprocessing and deep learning models to realize automatic analysis of photoacoustic images, and an analysis report containing analysis results and suggestions are generated.
It improves the efficiency and accuracy of photoacoustic imaging analysis, reduces artificial errors, realizes real-time analysis and feedback, and improves the application effect of photoacoustic images.
Smart Images

Figure CN118873090A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical imaging technology, and in particular to an artificial intelligence-assisted photoacoustic imaging analysis method and system. Background Art
[0002] Photoacoustic imaging is an emerging medical imaging method that generates photoacoustic effects by irradiating biological tissues with lasers, and then receives signals through ultrasonic detectors to form high-resolution tissue images. Photoacoustic imaging has a wide range of applications in the fields of vascular imaging, tumor detection, and functional imaging. However, the complexity and multidimensionality of photoacoustic imaging data make manual analysis of these images time-consuming and error-prone. The main shortcomings are low efficiency, poor accuracy, lack of real-time performance, and difficulty in fully analyzing the various information of photoacoustic images. Summary of the invention
[0003] The purpose of the present invention is to provide an artificial intelligence-assisted photoacoustic imaging analysis method to solve the above technical problems;
[0004] The present invention also aims to provide an artificial intelligence-assisted photoacoustic imaging analysis system to solve the above technical problems.
[0005] The technical problem solved by the present invention can be achieved by adopting the following technical solutions:
[0006] An artificial intelligence-assisted photoacoustic imaging analysis method, comprising:
[0007] Step S1, using a wavelength-adjustable light source and a detector to receive photoacoustic signals of a target area, and converting the photoacoustic signals into photoacoustic image data;
[0008] Step S2, preprocessing the photoacoustic image data to segment different tissue regions of the photoacoustic image data;
[0009] Step S3, using the trained deep learning model to extract target features of the photoacoustic image data, classifying and detecting the target area according to the target features, and outputting analysis results;
[0010] Step S4: output the analysis result and generate an analysis report including the analysis result and suggestion information.
[0011] Preferably, step S1 comprises:
[0012] Step S11, analyzing the light absorption spectrum of the target tissue to be scanned, and selecting the wavelength range, pulse width, energy density and repetition frequency of the light source;
[0013] Step S12, selecting the type, response frequency, sensitivity, size array, bandwidth and dynamic range of the detector, and using the detector to receive the photoacoustic signal of the photoacoustic response of the target tissue;
[0014] Step S13: using a data acquisition card to perform analog-to-digital conversion on the photoacoustic signal to generate the photoacoustic image data.
[0015] Preferably, step S2 comprises,
[0016] Step S21, collecting the photoacoustic image data, and removing the time domain and frequency domain noise of the photoacoustic image data;
[0017] Step S22, performing image enhancement on the photoacoustic image data by contrast enhancement and sharpening processing, and verifying the image enhancement result;
[0018] Step S23, using the Otsu threshold segmentation method and the watershed method to segment the photoacoustic image data to obtain different tissue regions.
[0019] Preferably, in step S3, the method for training the deep learning model includes:
[0020] Step S31, collecting sample data for training, dividing it into a training set and a validation set, and performing preprocessing;
[0021] Step S32, selecting a model architecture of the deep learning model;
[0022] Step S33, setting training parameters, using the training set to perform model training, and performing verification on the verification set.
[0023] Preferably, in step S32, the deep learning model adopts a U-Net model architecture; in step S33, the Dice coefficient and the Jaccard coefficient are used as evaluation indicators to evaluate the deep learning model, wherein the Dice coefficient is greater than 0.85 and the Jaccard coefficient is greater than 0.75.
[0024] Preferably, in step S3, the method of using the deep learning model to analyze the photoacoustic image data includes:
[0025] Step S34, loading the model file of the trained deep learning model;
[0026] Step S35, normalizing and resizing the input photoacoustic image data;
[0027] Step S36, using the photoacoustic image data to identify the target feature to obtain a segmentation result of the target feature;
[0028] Step S37, adjusting the segmentation result back to the original image size, and performing post-processing to obtain a processed segmentation result;
[0029] Step S38 , superimposing the processed segmentation result on the original photoacoustic image data for display, to obtain the photoacoustic image data including the segmentation result.
[0030] Preferably, step S3 also includes step S39, using the deep learning model to analyze the target area and output the analysis result, wherein the analysis result at least includes blood oxygen saturation information, tissue absorption characteristic information and edge feature information of the target area.
[0031] Preferably, step S4 comprises,
[0032] Step S41, acquiring the original photoacoustic image data, the segmentation result and the analysis result;
[0033] Step S42, calculating the segmentation area of the segmentation result;
[0034] Step S43, generating an analysis report including the area of the segmented region and the analysis result, and dynamically displaying it through a graphical user interface.
[0035] Preferably, the method further includes step S5, optimizing the method and hardware configuration, deploying an experimental environment for verification and testing, and adjusting the deep learning model.
[0036] An artificial intelligence-assisted photoacoustic imaging analysis system, comprising
[0037] A photoacoustic imaging module, used to receive photoacoustic signals of a target area and convert the photoacoustic signals into photoacoustic image data;
[0038] A data processing module, connected to the photoacoustic imaging module, for preprocessing the photoacoustic image data and segmenting different tissue regions of the photoacoustic image data;
[0039] An analysis module, connected to the data processing module, for extracting target features of the photoacoustic image data through a deep learning model, classifying and detecting the target area according to the target features, and outputting analysis results;
[0040] An analysis feedback module is connected to the analysis module and is used to output the analysis result and generate an analysis report including the analysis result and suggestion information.
[0041] Beneficial effects of the present invention: Due to the adoption of the above technical scheme, the present invention combines artificial intelligence technology to automatically analyze photoacoustic images, improves analysis efficiency and accuracy, reduces human errors, realizes real-time analysis feedback, and improves the application effect of photoacoustic images. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of the steps of an artificial intelligence-assisted photoacoustic imaging analysis method according to an embodiment of the present invention;
[0043] Figure 2 This is a schematic diagram of step S1 in an embodiment of the present invention;
[0044] Figure 3 This is a schematic diagram of step S2 in an embodiment of the present invention;
[0045] Figure 4 This is a schematic diagram of step S3 in an embodiment of the present invention;
[0046] Figure 5 This is a schematic diagram of step S4 in an embodiment of the present invention;
[0047] Figure 6 Schematic diagram of the architecture of an artificial intelligence-assisted photoacoustic imaging analysis system in an embodiment of the present invention;
[0048] Figure 7 A schematic diagram of a code for time domain denoising processing in an embodiment of the present invention;
[0049] Figure 8 A schematic diagram of a code for frequency domain denoising processing in an embodiment of the present invention;
[0050] Fig. 9 A schematic diagram of code for verifying the denoising effect in an embodiment of the present invention;
[0051] Fig.10 A schematic diagram of a code for image enhancement in an embodiment of the present invention;
[0052] Fig.11 A schematic diagram of a code for image sharpening processing in an embodiment of the present invention;
[0053] Fig.12 A schematic diagram of a code for verifying an image enhancement effect in an embodiment of the present invention;
[0054] Fig.13 This is a schematic diagram of the Otsu threshold segmentation method code in an embodiment of the present invention;
[0055] Fig.14 This is a schematic diagram of the watershed method code in an embodiment of the present invention;
[0056] Fig.15 A schematic diagram of code for verifying the segmentation effect in an embodiment of the present invention;
[0057] Fig.16 A schematic diagram of a code for data preprocessing in an embodiment of the present invention;
[0058] Fig.17 A schematic diagram of a code for constructing a model in an embodiment of the present invention;
[0059] Fig.18 A schematic diagram of a code for model training in an embodiment of the present invention;
[0060] Fig.19 A schematic diagram of a code for model evaluation and verification in an embodiment of the present invention;
[0061] Fig. 20 A schematic diagram of a code for loading a model in an embodiment of the present invention;
[0062] Fig.21 A schematic diagram of a code for image preprocessing in an embodiment of the present invention;
[0063] Fig. 22 A schematic diagram of a code for model analysis in an embodiment of the present invention;
[0064] Fig.23 A schematic diagram of code for post-processing of results in an embodiment of the present invention;
[0065] Fig.24 A schematic diagram of code for visualizing segmentation results in an embodiment of the present invention;
[0066] Fig.25 A schematic diagram of a code for reading an image and segmenting a result in an embodiment of the present invention;
[0067] Fig.26 A schematic diagram of a code for superimposing results in an embodiment of the present invention;
[0068] Fig. 27 A schematic diagram of a code for calculating the area of a segmented region in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] 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.
[0070] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0071] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.
[0072] An artificial intelligence-assisted photoacoustic imaging analysis method, such as Figure 1 , Figure 6 As shown, including
[0073] Step S1, using a wavelength-adjustable light source and a detector to receive photoacoustic signals of a target area, and converting the photoacoustic signals into photoacoustic image data;
[0074] Step S2, preprocessing the photoacoustic image data to segment different tissue regions of the photoacoustic image data;
[0075] Step S3, using the trained deep learning model to extract target features of the photoacoustic image data, classifying and detecting the target area according to the target features, and outputting the analysis results;
[0076] Step S4: output the analysis results and generate an analysis report including the analysis results and suggestion information.
[0077] Specifically, the present invention aims to provide an artificial intelligence (AI)-assisted photoacoustic imaging diagnostic system, which automatically analyzes photoacoustic images by combining artificial intelligence technology, improves analysis efficiency and accuracy, reduces human errors, realizes real-time analysis feedback, and improves clinical application effects.
[0078] In a preferred embodiment, Figure 2 As shown, step S1 includes,
[0079] Step S11, analyzing the light absorption spectrum of the target tissue to be scanned, and selecting the wavelength range, pulse width, energy density and repetition frequency of the light source;
[0080] Step S12, selecting the type, response frequency, sensitivity, size array, bandwidth and dynamic range of the detector, and using the detector to receive the photoacoustic signal of the photoacoustic response of the target tissue;
[0081] Step S13, using a data acquisition card to perform analog-to-digital conversion on the photoacoustic signal to generate photoacoustic image data.
[0082] Specifically, in step S11, wavelength selection includes target tissue analysis, analyzing the light absorption spectrum of the target tissue according to the characteristics of the target tissue type, and determining the wavelength range, for example, 700-900 nm.
[0083] The multi-wavelength light source selection includes inputting a wavelength range and selecting a multi-wavelength laser, such as 700nm, 800nm, and 900nm wavelength lasers.
[0084] Pulse width selection includes analyzing pulse width requirements and selecting a 10 ns pulse width laser based on time resolution requirements, such as 10 ns and tissue photoacoustic response characteristics.
[0085] Energy density selection includes analyzing energy density requirements and selecting an energy density of 10 mJ / cm based on the signal-to-noise ratio requirement, such as 20 dB and tissue photoacoustic response characteristics. 2 .
[0086] The repetition frequency selection includes analyzing the repetition frequency requirement and selecting a 10 Hz repetition frequency based on the imaging speed requirement, such as 10 Hz, and the signal-to-noise ratio requirement.
[0087] Specifically, it also includes further light source control and optimization. For example, the parameters of the light source are wavelength (700nm, 800nm, 900nm), pulse width (10ns), energy density (10mJ / cm 2 ), repetition frequency (10Hz).
[0088] Output preliminary parameters and imaging results, adjust parameters through experiments and optimization algorithms, and output optimized light source parameters;
[0089] Then, experimental verification is performed, and optimized light source parameters are input; imaging experiments are performed to evaluate imaging quality and diagnostic accuracy, and experimental verification results are output;
[0090] The parameters are further adjusted according to the experimental verification results and the final light source parameters are output.
[0091] Through the above steps, the light source parameters of the photoacoustic imaging system were determined and optimized, including wavelength (700nm, 800nm, 900nm), pulse width (10ns), energy density (10mJ / cm 2 ) and repetition frequency (10Hz).
[0092] The specific implementation of the detector design in the photoacoustic imaging module 1 includes:
[0093] According to the imaging requirements and target tissue characteristics, the performance of different detector types, such as piezoelectric transducers, fiber optic detectors, and micro-electromechanical system (MEMS) detectors, is analyzed, and finally the more commonly used piezoelectric transducers are selected;
[0094] Analyze the frequency response requirements and input the imaging resolution requirements, where the spatial resolution is <100μm. Select the frequency response range based on the resolution requirements. Usually, high-frequency detectors >20MHz are suitable for high-resolution imaging, and select a frequency response range of 20-50MHz.
[0095] Analyze the sensitivity requirements, input the signal-to-noise ratio requirement to be >20dB, select a detector material with high sensitivity, such as PZT piezoelectric material, and select a sensitivity >30mV / Pa.
[0096] Detector size and array design: select the detector size, input the imaging area size and resolution requirements, and determine the detector element size, for example, the diameter is <1mm to ensure high resolution. In this embodiment, the detector element diameter is 0.5mm.
[0097] Detector array design, input imaging coverage, such as a diameter of 5 cm, design detector array layout, such as linear array, ring array, multi-array combination. This embodiment outputs 64-element linear array detectors with a spacing of 0.8 mm.
[0098] Detector bandwidth and dynamic range, analyze bandwidth requirements, input frequency response range is 20-50MHz, select a detector with sufficient bandwidth, this embodiment selects bandwidth>30MHz.
[0099] The dynamic range requirement is analyzed. The input signal strength range is 10 μPa to 1 MPa. A detector with a high dynamic range is selected. In this embodiment, a dynamic range of >100 dB is selected.
[0100] Specifically, the present invention also designs the gain and signal processing of the detector, requires the detector output signal>30mV / Pa, designs a low-noise preamplifier, the gain>40dB, and selects the preamplifier circuit. Design the filter and analog-to-digital conversion circuit, the filter bandwidth is 20-50MHz, the ADC sampling rate is>100MS / s, and the signal processing circuit is selected.
[0101] Through the above steps, the design of the detector in the photoacoustic imaging module 1 is completed. Select a piezoelectric transducer with a frequency response range of 20-50MHz, a sensitivity of >30mV / Pa, a detector element diameter of 0.5mm, a 64-element linear array detector, a bandwidth of >30MHz, a dynamic range of >100dB, and design a low-noise preamplifier and signal processing circuit.
[0102] The data acquisition implementation method in the photoacoustic imaging module 1 includes:
[0103] Analyze the data acquisition system requirements and select a suitable high sampling rate data acquisition system based on the detector output signal characteristics, such as frequency range 20-50MHz, signal amplitude >30mV / Pa, and select an analog-to-digital converter (ADC) with high sampling rate and high resolution.
[0104] Select the ADC sampling rate according to the detector signal frequency range, for example, 20-50MHz. According to the Nyquist sampling theorem, select a sampling rate that is at least twice the highest frequency of the signal, and select an ADC sampling rate >100MS / s (million samples per second).
[0105] Select ADC resolution based on signal dynamic range requirements, for example >100dB, select ADC with high resolution, and select ADC resolution >12 bits.
[0106] Select the data transmission interface. Analyze the data transmission rate requirements based on the ADC sampling rate and resolution (100MS / s, 12 bits). Select a suitable transmission interface, such as USB 3.0, PCIe, or Ethernet. Select a data transmission rate >1.2Gbps.
[0107] Design a data storage subsystem and analyze the data storage requirements based on the data acquisition rate and imaging time, for example, 10 Hz imaging rate and 10 seconds imaging time. Calculate the total data volume, select the appropriate storage medium (SSD), and select a data storage capacity > 12GB.
[0108] Data processing and real-time display: analyze data processing requirements based on the collected raw data, design data processing algorithms (filtering, reconstruction, image processing), and select real-time processing and display systems.
[0109] Design a real-time display subsystem and select appropriate display devices and interfaces, such as high-resolution displays, HDMI interfaces, and real-time display systems based on the processed data.
[0110] Integration and testing, each module such as ADC, data transmission, storage, processing, and display, integrate each module into a complete data acquisition subsystem, and design a complete data acquisition subsystem.
[0111] Testing and optimization: Test the integrated data acquisition subsystem to verify the performance of data acquisition, processing and display, optimize parameters, and obtain the optimized data acquisition subsystem.
[0112] Through the above steps, the design of the data acquisition card in the photoacoustic imaging module 1 is completed. Select an ADC with a high sampling rate (>100MS / s) and a high resolution (>12 bits), ensure that the data transmission rate is >1.2Gbps, design a data storage subsystem (capacity >12GB), and integrate the data processing and real-time display subsystems to ultimately achieve efficient data acquisition and processing.
[0113] In a preferred embodiment, Figure 3 As shown, step S2 includes,
[0114] Step S21, collecting photoacoustic image data, and removing time domain and frequency domain noise of the photoacoustic image data;
[0115] Step S22, performing image enhancement on the photoacoustic image data by contrast enhancement and sharpening processing, and verifying the image enhancement result;
[0116] Step S23, using the Otsu threshold segmentation method and the watershed method to segment the photoacoustic image data into different tissue regions.
[0117] Specifically, based on the collected original photoacoustic signal, for example, a frequency range of 20-50 MHz, a signal-to-noise ratio>20 dB, the noise type and characteristics, such as high-frequency noise, low-frequency noise, and random noise, are analyzed to generate a noise characteristic description.
[0118] Select a denoising method, such as time domain denoising method selection, and select a suitable time domain denoising algorithm based on the noise characteristics description, such as moving average filtering
[0119] Frequency domain denoising method selection: select a suitable frequency domain denoising algorithm based on the noise characteristics, such as Fourier transform filtering
[0120] Time domain denoising processing: The moving average filtering implementation method includes applying a moving average filter to the input original photoacoustic signal with a window size of 5 sampling points, and outputting a denoised time domain signal.
[0121] Code example: Figure 7 shown.
[0122] Frequency domain denoising processing: Fourier transform filtering implementation includes applying fast Fourier transform (FFT) to the input original photoacoustic signal to remove high-frequency noise such as >60MHz, and then inverse Fourier transform (IFFT) to output the denoised frequency domain signal.
[0123] Code example: Figure 8 shown.
[0124] Verify the denoising effect, calculate the signal-to-noise ratio, input the signals before and after denoising, calculate the improvement of the signal-to-noise ratio (SNR), and output the signal-to-noise ratio after denoising>30dB.
[0125] Code example: Fig. 9 shown.
[0126] Through the above steps, the denoising process in the photoacoustic imaging data processing module 2 is completed. Select the moving average filter (window size 5 sampling points) and the Fourier transform filter (cutoff frequency 60MHz), and verify the denoising effect to ensure that the signal-to-noise ratio after denoising is >30dB.
[0127] The image enhancement implementation in the data processing module 2 includes:
[0128] Analyze image enhancement requirements: Analyze image characteristics, input denoised photoacoustic imaging data, such as a two-dimensional matrix with a pixel value range of 0-255, analyze the image contrast, brightness and detail information, and output a description of image characteristics, such as low contrast and blurred details.
[0129] Select the image enhancement method:
[0130] Select the contrast enhancement method, based on the image characteristics description. Select a suitable contrast enhancement algorithm, such as contrast limited adaptive histogram equalization (CLAHE).
[0131] Select the sharpening method and choose a suitable sharpening algorithm, such as unsharp mask, based on the image characteristics.
[0132] Contrast enhancement processing is implemented using CLAHE. The denoised photoacoustic imaging image is input, and the CLAHE algorithm is applied to limit the contrast range, enhance the local contrast, and output the contrast-enhanced image.
[0133] Code example: Fig.10 shown.
[0134] Image sharpening: Based on the contrast-enhanced image, an unsharp mask algorithm is used to enhance the image edge details to obtain a sharpened image.
[0135] Code example: Fig.11 shown.
[0136] Verify the image enhancement effect: Evaluate the image quality, and calculate image quality evaluation indicators such as peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) based on the images before and after enhancement, and output image quality evaluation results such as PSNR>30dB and SSIM>0.85.
[0137] Code example: Fig.12 shown.
[0138] Through the above steps, the image enhancement in the photoacoustic imaging data processing module 2 is completed. Contrast Limited Adaptive Histogram Equalization (CLAHE) and Unsharp Masking are selected, and the image enhancement effect is verified to ensure that the image quality evaluation indicators PSNR>30dB and SSIM>0.85.
[0139] The image segmentation implementation in the data processing module 2 includes:
[0140] Analyze image segmentation requirements: Analyze image characteristics. Based on the enhanced photoacoustic imaging image, such as a two-dimensional matrix with a pixel value range of 0-255, analyze the target characteristics in the image, including the shape, size, and contrast of the target area, and output image characteristic descriptions, such as obvious target areas and low background noise.
[0141] Select an image segmentation method. According to the image characteristic description, select a suitable image segmentation algorithm, such as threshold segmentation, edge detection, watershed algorithm, region growing, and segmentation based on deep learning. The present invention selects Otsu threshold segmentation method and watershed algorithm as the main methods.
[0142] Image segmentation processing,
[0143] The enhanced photoacoustic imaging image is input, and the Otsu threshold segmentation method is applied to automatically select the optimal threshold for segmentation, and the preliminary segmented binary image is output.
[0144] Input the binary image that has been initially segmented, apply the watershed algorithm, further refine the segmentation result, deal with the problem of over- or under-segmentation, and output the final segmented image.
[0145] Otsu threshold segmentation code example Fig.13 As shown, the watershed algorithm code example is as follows Fig.14 shown.
[0146] Segmentation effect verification: Evaluate the segmentation quality. According to the images before and after segmentation, calculate the segmentation quality evaluation indicators, including the Dice coefficient and the Jaccard coefficient, and obtain the segmentation quality evaluation results, such as the Dice coefficient>0.85 and the Jaccard coefficient>0.75.
[0147] Code example: Fig.15 shown.
[0148] Through the above steps, the image segmentation in the photoacoustic imaging data processing module 2 is completed. The Otsu threshold segmentation method and the watershed algorithm are selected, and the segmentation effect is verified to ensure that the segmentation quality evaluation indicators Dice coefficient>0.85 and Jaccard coefficient>0.75.
[0149] In a preferred embodiment, Figure 4 As shown, in step S3, the method for training the deep learning model includes:
[0150] Step S31, collecting sample data for training, dividing it into a training set and a validation set, and performing preprocessing;
[0151] Step S32, selecting a model architecture of a deep learning model;
[0152] Step S33, setting training parameters, using the training set to train the model, and verifying it on the verification set.
[0153] Specifically, the deep learning model training implementation in the analysis module 3 includes:
[0154] Data preparation: Collect raw photoacoustic imaging data and its corresponding annotations, such as segmentation masks of the target area, collect a sufficient number of sample data and ensure that each sample has accurate annotations, obtain training sets and validation sets, 80% of which are used for training and 20% for validation.
[0155] Data preprocessing, the collected image data and annotations are subjected to image normalization, size adjustment and data augmentation, such as random rotation, flipping, and scaling output: preprocessed training set and validation set.
[0156] Code example: Fig.16 shown.
[0157] In a preferred embodiment, in step S32, the deep learning model adopts the U-Net model architecture; in step S33, the Dice coefficient and the Jaccard coefficient are used as evaluation indicators to evaluate the deep learning model, wherein the Dice coefficient is greater than 0.85 and the Jaccard coefficient is greater than 0.75.
[0158] Model selection and construction, select the appropriate model architecture, select the appropriate deep learning model architecture according to the image segmentation task requirements, such as selecting the U-Net model architecture, using Keras to build the U-Net model, and output the U-Net model instance.
[0159] Code example: Fig.17 shown.
[0160] Model training: Input the training set and validation set, set the training parameters, such as batch size, learning rate, and number of training rounds. Select batch size 32, learning rate 0.001, and number of training rounds 50. Use the training data to train the model and validate it on the validation set. The trained model and the logs of the training process, including loss and accuracy, are saved.
[0161] Code example: Fig.18 shown.
[0162] Model evaluation and verification: Model evaluation, input validation set, use validation set to evaluate model performance, calculate evaluation indicators, including Dice coefficient and Jaccard coefficient, output model evaluation results, Dice coefficient>0.85, Jaccard coefficient>0.75.
[0163] Code example: Fig.19 shown.
[0164] Through the above steps, the deep learning model training in analysis module 3 is completed. Select the U-Net model architecture, perform data preprocessing and data enhancement, set training parameters, perform model training and verify model performance, and ensure that the model evaluation indicators Dice coefficient>0.85 and Jaccard coefficient>0.75.
[0165] In a preferred embodiment, in step S3, the method of analyzing photoacoustic image data using a deep learning model includes:
[0166] Step S34, loading the model file of the trained deep learning model;
[0167] Step S35, normalizing and resizing the input photoacoustic image data;
[0168] Step S36, using the photoacoustic image data to identify the target feature to obtain a segmentation result of the target feature;
[0169] Step S37, adjusting the segmentation result back to the original image size, and performing post-processing to obtain a processed segmentation result;
[0170] Step S38: superimpose the processed segmentation result on the original photoacoustic image data for display, and obtain photoacoustic image data including the segmentation result.
[0171] Specifically, the deep learning model analysis implementation in the analysis module 3 includes:
[0172] Load the trained model: Input the saved model file, which is unet_model.h5 in this example, use Keras to load the model file, and output the loaded model instance.
[0173] Code example: Fig. 20 shown.
[0174] Data preprocessing: Image preprocessing: input the photoacoustic imaging image to be analyzed, normalize and resize the input image to make it meet the input requirements of the model, such as adjusting it to 256x256 size, normalizing it to the range of 0-1, and outputting the preprocessed image.
[0175] Code example: Fig.21 shown.
[0176] Model analysis: Input the preprocessed image and use the loaded model for inference analysis to obtain the segmentation result, such as a binary segmentation mask.
[0177] Code example: Fig. 22 shown.
[0178] Perform the result post-processing and visualization steps, input the segmentation result, adjust the segmentation result back to the original image size, perform necessary post-processing such as denoising and filling holes, and output the processed segmentation result.
[0179] Code example: Fig.23 shown.
[0180] Due to the efficiency requirement of the analysis, the segmentation result obtained after the model analysis is usually of a smaller size. In the result post-processing step of the present invention, the smaller segmentation result is adjusted back to the size of the original image. This adjustment process includes placing the smaller segmentation result at the corresponding position of the original image, performing operations such as interpolation or padding to ensure that the size and position of the segmentation result are consistent with the original image.
[0181] Segmentation result visualization: Based on the original image and the processed segmentation result, the segmentation result is superimposed on the original image for visualization, and a visualization image containing the segmentation result is output.
[0182] Code example: Fig.24 shown.
[0183] Through the above steps, the deep learning model inference in analysis module 3 is completed. Specifically, it includes loading the trained model, preprocessing the input image, using the model for inference, performing post-processing to adjust the segmentation results, and superimposing the segmentation results with the original image for visual display. Ensure that the implementation code of each step is accurate and meets the inference requirements.
[0184] In a preferred embodiment, step S3 also includes step S39, using a deep learning model to analyze the target area and output analysis results, and the analysis results at least include blood oxygen saturation information, tissue absorption characteristic information and edge feature information of the target area.
[0185] In a preferred embodiment, Figure 5 As shown, step S4 includes,
[0186] Step S41, obtaining original photoacoustic image data, segmentation results and analysis results;
[0187] Step S42, calculating the segmentation area of the segmentation result;
[0188] Step S43, generating an analysis report including the area of the segmented region and the analysis results, and dynamically displaying it through a graphical user interface.
[0189] The result display implementation method in the analysis feedback module 4 includes: inputting the segmentation result, the original image, and the analysis result, superimposing the segmentation result and the original image, providing detailed analysis results, and outputting a visual image and an analysis report.
[0190] The present invention reads the original image and the segmentation result, comprises: inputting the original image path and the segmentation result path, using OpenCV to read the image and the segmentation result, and outputting the original image and the segmentation result.
[0191] Code example: Fig.25 shown.
[0192] The method for result superposition and visualization includes inputting the original image and the segmentation result, superimposing the segmentation result on the original image, marking the segmented area with different colors, and outputting the superimposed visualization image.
[0193] Code example: Fig.26 shown.
[0194] The method for calculating the area of the segmented region includes: inputting the segmentation result, calculating the number of pixels in the segmented region and converting it into an actual area, and outputting the actual area of the segmented region.
[0195] Code example: Fig. 27 shown.
[0196] The method for generating an analysis report includes inputting the area of the segmented region and the analysis result, generating an analysis report including information such as the area of the segmented region, and outputting a text of the analysis report.
[0197] Result display: Display visualization images and analysis reports, input the superimposed visualization images and analysis reports, display the visualization images and analysis reports to users, and can be displayed through a graphical user interface (GUI), and output the images and reports displayed in the user interface.
[0198] Through the above steps, the result display in the diagnostic feedback module is completed. Specifically, it includes reading the original image and segmentation results, superimposing the segmentation results on the original image for visualization, calculating the area of the segmented region, generating a detailed analysis report, and displaying the visualization image and analysis report through the graphical user interface (GUI). Ensure that the implementation code of each step is accurate and meets the result display requirements.
[0199] In a preferred embodiment, the method further includes step S5, optimizing the method and hardware configuration, deploying an experimental environment for verification and testing, and adjusting the deep learning model.
[0200] Specifically, the present invention also provides system optimization and verification steps, including:
[0201] Performance optimization: improving the system's operating speed and efficiency by optimizing calculation methods and hardware configuration;
[0202] Clinical validation, testing and validation in actual or experimental clinical environments to ensure the reliability of the system; specifically, the specific implementation of the system optimization and validation module of the present invention includes:
[0203] Performance optimization, which aims to improve the processing speed, accuracy and stability of the system, including,
[0204] Code optimization: input existing code, analyze the code, identify bottlenecks, optimize algorithms and data structures, reduce unnecessary calculations, and output optimized code; by using adaptive threshold segmentation, the accuracy and robustness of segmentation can be improved.
[0205] Parallel processing: input image processing tasks, use multi-threading or multi-process technology to perform parallel processing, reduce processing time, and output the results after parallel processing.
[0206] Hardware acceleration: input image processing tasks, use GPU to accelerate image processing tasks, improve performance, and output hardware accelerated results.
[0207] The goal of clinical validation is to ensure the effectiveness and reliability of the system in an actual clinical setting, including,
[0208] Data collection: input clinical experimental data, such as experimental photoacoustic images and analysis results, collect diverse clinical data sets for system validation, and output clinical data sets.
[0209] System testing: input clinical data sets, use clinical data sets to test the system, evaluate its accuracy and robustness, and output test results.
[0210] Statistical analysis: input test results, perform statistical analysis, evaluate the system's performance indicators, such as accuracy, sensitivity, and specificity, and output performance reports.
[0211] Specifically, in other embodiments, it is also possible to ensure that users can use the system correctly through training, writing user manuals and operating guides, preparing training videos and demonstration documents.
[0212] Through the above optimization and verification steps, the present invention achieves performance optimization and clinical verification, including code optimization, parallel processing and hardware acceleration, collection and testing of clinical data and statistical analysis to ensure that system optimization and verification requirements are met.
[0213] An artificial intelligence-assisted photoacoustic imaging analysis system, such as Figure 6 As shown. Included
[0214] The photoacoustic imaging module 1 is used to receive the photoacoustic signal of the target area and convert the photoacoustic signal into photoacoustic image data;
[0215] The data processing module 2 is connected to the photoacoustic imaging module 1 and is used to pre-process the photoacoustic image data and segment different tissue regions of the photoacoustic image data;
[0216] Analysis module 3, connected to data processing module 2, is used to extract target features of photoacoustic image data through a deep learning model, classify and detect target areas according to the target features, and output analysis results;
[0217] The analysis feedback module 4 is connected to the analysis module 3 and is used to output the analysis results and generate an analysis report including the analysis results and suggestion information.
[0218] Specifically, the system architecture of the present invention mainly includes the following modules:
[0219] The photoacoustic imaging module 1 is responsible for collecting high-resolution photoacoustic image data.
[0220] The data processing module 2 is connected to the photoacoustic imaging module 1 to perform preprocessing, such as denoising, enhancement and segmentation.
[0221] The analysis module 3 is connected to the data processing module 2 and uses a deep learning algorithm to analyze the pre-processed image.
[0222] Analysis feedback module 4: outputs the analysis results and generates an analysis report containing suggestion information, and provides it to the user.
[0223] More specifically, the photoacoustic imaging module 1 includes:
[0224] The light source uses a wavelength-tunable laser and the appropriate wavelength is selected according to the light absorption characteristics of different tissues.
[0225] The detector, which receives the reflected light from the tissue, uses a high-sensitivity ultrasound detector to ensure that the received photoacoustic signal has a high signal-to-noise ratio.
[0226] The data acquisition card is connected to the detector, and the photoacoustic signal is converted into a digital signal through the high-speed data acquisition card and transmitted to the data processing module 2.
[0227] More specifically, the data processing module 2 includes:
[0228] The denoising processing module uses an adaptive filtering algorithm to remove noise from the photoacoustic signal and retain valid information.
[0229] Image enhancement, connected to the denoising module, uses a contrast enhancement algorithm to improve the visibility of the image.
[0230] Image segmentation, using image segmentation algorithm (U-Net) to separate different tissue regions, providing a basis for the subsequent analysis module 3.
[0231] Analysis module 3 includes a deep learning model, and its training method is:
[0232] Dataset preparation: collect a large amount of annotated photoacoustic image data and construct training sets and test sets.
[0233] Model selection: select a deep learning model suitable for photoacoustic image analysis. In this embodiment, the U-Net model architecture is used.
[0234] During the training process, GPU is used to accelerate the training of deep learning models and optimize model parameters through repeated iterations.
[0235] The model inference process includes:
[0236] Input preprocessing: input the preprocessed photoacoustic image data into the trained deep learning model.
[0237] Feature extraction, deep learning models automatically extract key features from photoacoustic image data.
[0238] Classification and detection: classify and detect the target area based on the extracted features and output the analysis results.
[0239] More specifically, the analysis feedback module 4 includes:
[0240] The result display unit intuitively displays the analysis results on a graphical user interface, and also includes marking and suggestion information of the target area.
[0241] Report generation unit, automatically generates detailed analysis reports including image analysis results and recommended information.
[0242] The real-time feedback unit is used to output suggestion information, such as determining whether there is lesion tissue in the target area, popular science information corresponding to the analysis results, etc., to assist doctors in making clinical decisions.
[0243] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.
Claims
1. An artificial intelligence-assisted photoacoustic imaging analysis method, characterized in that: include, Step S1, using a wavelength-adjustable light source and a detector to receive photoacoustic signals of a target area, and converting the photoacoustic signals into photoacoustic image data; Step S2, preprocessing the photoacoustic image data to segment different tissue regions of the photoacoustic image data; Step S3, using the trained deep learning model to extract target features of the photoacoustic image data, classifying and detecting the target area according to the target features, and outputting analysis results; Step S4: output the analysis result and generate an analysis report including the analysis result and suggestion information.
2. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 1, characterized in that: Step S1 comprises, Step S11, analyzing the light absorption spectrum of the target tissue to be scanned, and selecting the wavelength range, pulse width, energy density and repetition frequency of the light source; Step S12, selecting the type, response frequency, sensitivity, size array, bandwidth and dynamic range of the detector, and using the detector to receive the photoacoustic signal of the photoacoustic response of the target tissue; Step S13: using a data acquisition card to perform analog-to-digital conversion on the photoacoustic signal to generate the photoacoustic image data.
3. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 1, characterized in that: Step S2 comprises, Step S21, collecting the photoacoustic image data, and removing the time domain and frequency domain noise of the photoacoustic image data; Step S22, performing image enhancement on the photoacoustic image data by contrast enhancement and sharpening processing, and verifying the image enhancement result; Step S23, using the Otsu threshold segmentation method and the watershed method to segment the photoacoustic image data to obtain different tissue regions.
4. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 1, characterized in that: In step S3, the method for training the deep learning model includes: Step S31, collecting sample data for training, dividing it into a training set and a validation set, and performing preprocessing; Step S32, selecting a model architecture of the deep learning model; Step S33, setting training parameters, using the training set to perform model training, and performing verification on the verification set.
5. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 4, characterized in that: In step S32, the deep learning model adopts the U-Net model architecture; in step S33, the Dice coefficient and the Jaccard coefficient are used as evaluation indicators to evaluate the deep learning model, wherein the Dice coefficient is greater than 0.85 and the Jaccard coefficient is greater than 0.
75.
6. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 4, characterized in that: In step S3, the method of using the deep learning model to analyze the photoacoustic image data includes: Step S34, loading the model file of the trained deep learning model; Step S35, normalizing and resizing the input photoacoustic image data; Step S36, using the photoacoustic image data to identify the target feature to obtain a segmentation result of the target feature; Step S37, adjusting the segmentation result back to the original image size, and performing post-processing to obtain a processed segmentation result; Step S38 , superimposing the processed segmentation result on the original photoacoustic image data for display, to obtain the photoacoustic image data including the segmentation result.
7. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 6, characterized in that: Step S3 also includes step S39, using the deep learning model to analyze the target area and output the analysis result, and the analysis result at least includes blood oxygen saturation information, tissue absorption characteristic information and edge feature information of the target area.
8. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 7, characterized in that: Step S4 comprises, Step S41, acquiring the original photoacoustic image data, the segmentation result and the analysis result; Step S42, calculating the segmentation area of the segmentation result; Step S43, generating an analysis report including the area of the segmented region and the analysis result, and dynamically displaying it through a graphical user interface.
9. The artificial intelligence-assisted photoacoustic imaging analysis method according to claim 1, characterized in that: It also includes step S5, optimizing methods and hardware configuration, deploying an experimental environment for verification and testing, and adjusting the deep learning model.
10. An artificial intelligence-assisted photoacoustic imaging analysis system, characterized in that: include A photoacoustic imaging module (1) is used to receive photoacoustic signals of a target area and convert the photoacoustic signals into photoacoustic image data; A data processing module (2), connected to the photoacoustic imaging module (1), used for preprocessing the photoacoustic image data and segmenting different tissue regions of the photoacoustic image data; An analysis module (3) connected to the data processing module (2) is used to extract target features of the photoacoustic image data through a deep learning model, classify and detect the target area according to the target features, and output an analysis result; An analysis feedback module (4) is connected to the analysis module (3) and is used to output the analysis result and generate an analysis report containing the analysis result and suggestion information.
Citation Information
Patent Citations
Division method for extracted watershed SAR image with threshold method and marking
CN101556693A
Image segmentation method based on watershed algorithm and morphological marker
CN103914843A
Medical ultrasonic image segmentation method and device
CN111429451A
Artificial intelligence diagnosis auxiliary method based on medical images
CN111640126A
Brain tumor image segmentation method, device and equipment based on deep learning, and medium
CN111862066A
Cited By
Interference elimination and temperature detection method and system based on second harmonic
CN119354361A
Photoacoustic imaging method and system based on data analysis
CN120125465A
