Intraoperative navigation method, device, equipment, system and storage medium

By adaptively adjusting the local structural features and transformation parameters of ultrasound image frames, combined with lesion detection models and spatial mapping, the stability and correspondence issues of intraoperative lesion boundary identification in glioma surgery were resolved, achieving efficient intraoperative navigation.

CN123148043APending Publication Date: 2026-11-24AFFILIATED HUSN HOSPITAL OF FUDAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611426978.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In intraoperative ultrasound imaging of gliomas, the image contrast between the lesion area and surrounding tissues is low, and brain tissue displacement and imaging noise affect the accuracy and real-time performance of lesion boundary identification.

Method used

By extracting local spatial structural features from ultrasound image frames and adaptively adjusting image transformation parameters for structural enhancement, combined with lesion detection models and spatial mapping, stable identification and real-time navigation of lesion boundaries can be achieved.

Benefits of technology

It improves the identifiability of lesion areas and the stability of boundary recognition, ensures the spatial correspondence accuracy between the recognition results and real-time ultrasound images, and enhances the real-time performance and accuracy of intraoperative navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123148043A_ABST
    Figure CN123148043A_ABST
Patent Text Reader

Abstract

This invention discloses an intraoperative navigation method, device, equipment, system, and storage medium. The method includes: acquiring an intraoperative ultrasound image stream of brain tissue; extracting local spatial structural features from the current image frame, determining image transformation parameters including conduction coefficient and time step based on the local spatial structural features, and performing structural enhancement on the current image frame; obtaining image quality indicators for the structurally enhanced image frame, and determining correction values ​​for the image transformation parameters based on deviation and re-performing structural enhancement if the preset quality conditions are not met; when the preset quality conditions are met, inputting the structurally enhanced image frame into a lesion detection model and outputting lesion boundary recognition results; determining the pixel spacing based on scanning depth and image resolution, converting the lesion boundary recognition results to the physical space coordinate domain, and spatially aligning and overlaying them with the current image frame; and acquiring the next image frame in parallel during the above processing to form a pipelined processing of continuous image frames.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical technology, and in particular to an intraoperative navigation method, device, equipment, system, and storage medium. Background Technology

[0002] In intraoperative navigation-related medical imaging technologies, ultrasound imaging, with its high real-time performance, lack of ionizing radiation, and repeatable imaging capabilities, is applied in intraoperative imaging of brain tissue to assist surgeons in observing and locating the surgical area. During brain surgery, intraoperative ultrasound can continuously acquire dynamic image information of the target area, providing image reference for intraoperative procedures.

[0003] Existing technologies typically perform image processing on the acquired intraoperative ultrasound images to improve image quality or enhance the recognizability of the target area. The processed images are then input into a pre-trained detection or segmentation model to obtain the recognition results of the target area. The recognition results are then overlaid on the ultrasound images for display, thereby achieving intraoperative assisted navigation.

[0004] However, in intraoperative ultrasound imaging for glioma surgery, the acoustic characteristics of normal brain tissue and tumor tissue are relatively similar, potentially resulting in low image contrast between the lesion area and surrounding tissue. Furthermore, brain tissue may shift or undergo morphological changes during surgery, and ultrasound imaging can be affected by factors such as scattering, speckle noise, and imaging depth, leading to variations in image quality across different image frames and spatial regions. These factors may affect the accuracy of lesion boundary identification and the correspondence between the identification results and real-time ultrasound images.

[0005] Therefore, how to improve the identifiability of lesion areas and the stability of lesion boundary recognition in dynamic imaging scenarios during glioma surgery, and ensure the spatial correspondence accuracy between the recognition results and real-time ultrasound images, are technical problems that need to be further solved. Summary of the Invention

[0006] In view of the problems in the prior art, the purpose of this invention is to provide an intraoperative navigation method, device, equipment, system and storage medium to improve the identifiability of lesion areas in intraoperative ultrasound images of glioma, the stability of lesion boundary identification, and the spatial correspondence accuracy between the identification results and real-time ultrasound images.

[0007] The first aspect of this disclosure provides an intraoperative navigation method, comprising: Acquiring intraoperative ultrasound images of brain tissue; For the current image frame in the ultrasound image stream, local spatial structure features of the current image frame are extracted, and image transformation parameters corresponding to the current image frame are determined based on the local spatial structure features. The image transformation parameters are then used to perform structural enhancement processing on the current image frame to obtain a structurally enhanced image frame. The image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean local gradient and the standard deviation local gradient of the current image frame, and the time step is determined based on the local noise level of the current image frame. Obtain the image quality index of the structure-enhanced image frame, and compare the image quality index with preset quality conditions; When the image quality index does not meet the preset quality condition, an image transformation parameter correction value is determined based on the deviation between the image quality index and the preset quality condition. The image transformation parameter is updated based on the image transformation parameter correction value, and the process of performing structural enhancement processing on the current image frame using the image transformation parameter is returned to obtain a structurally enhanced image frame. When the image quality index reaches the preset quality condition, the structure-enhanced image frame is input into the lesion detection model, and the lesion boundary recognition result is output. The pixel spacing is determined based on the scanning depth and image resolution corresponding to the ultrasound image stream, and the lesion boundary identification result is transformed from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result; Based on the spatial mapping result, a spatial correspondence is established between the lesion boundary recognition result and the current image frame, and the lesion boundary recognition result and the current image frame are spatially aligned and superimposed based on the spatial correspondence. During the process of performing the structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display on the current image frame, the next image frame in the ultrasound image stream is acquired in parallel as the current image frame. The local spatial structural features of the current image frame are extracted from the current image frame in the ultrasound image stream, and the image transformation parameters corresponding to the current image frame are determined based on the local spatial structural features. The structural enhancement processing is then performed on the current image frame using the image transformation parameters.

[0008] In some implementations, local spatial structure features of the current image frame in the ultrasound image stream are extracted, including: Divide the current image frame into multiple local regions; The gradient information of each local region is calculated separately, and the structural change characteristics of each local region are determined based on the gradient information. Among them, structural change features are used to characterize the degree of edge structure change in the corresponding local region.

[0009] In some implementations, the image transformation parameters also include a diffusion coefficient corresponding to the spatial location; The image transformation parameters corresponding to the current image frame are determined based on local spatial structure features, including: obtaining gradient information corresponding to each spatial coordinate position for multiple spatial coordinate positions in the current image frame; establishing a mapping relationship between gradient information and diffusion coefficient based on gradient information and conduction coefficient; and determining the diffusion coefficient corresponding to each spatial coordinate position based on the mapping relationship to form a spatially non-uniformly distributed image diffusion field. Among them, the diffusion coefficient corresponding to the spatial region with a higher degree of structural change is smaller than that corresponding to the spatial region with a lower degree of structural change.

[0010] In some implementations, the gradient information includes the local gradient mean μG and the local gradient standard deviation σG; determining the image transformation parameters corresponding to the current image frame based on local spatial structure features includes: determining the transmission coefficient K based on the local gradient mean μG and the local gradient standard deviation σG, wherein:

[0011] Where α is the sensitivity coefficient.

[0012] In some implementations, the structure-enhanced image frame is input into the lesion detection model, and the lesion boundary recognition result is output, including: The feature extraction layer of the lesion detection model is used to extract structural enhancements to spatial features in image frames; Based on spatial features, the boundary contour of the lesion boundary region and the corresponding detection confidence level are determined to obtain the lesion boundary recognition result.

[0013] In some implementations, the pixel spacing is determined based on the scanning depth and image resolution corresponding to the ultrasound image stream, and the lesion boundary identification result is transformed from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain a spatial mapping result, including: The pixel spacing of the current image frame is determined based on the scanning depth and image resolution of the current image frame. Based on the pixel spacing, the pixel coordinates in the lesion boundary recognition results are converted into physical space coordinates, and the physical space size corresponding to the lesion boundary is determined to obtain the spatial mapping result.

[0014] In some implementations, the lesion boundary identification results are spatially aligned and overlaid with the current image frame based on spatial correspondence, including: Generate a rendering graphics layer corresponding to the current image frame based on the spatial mapping result; The rendered graphics layer is spatially aligned with the current image frame and output synchronously to the display terminal.

[0015] In some implementations, the intraoperative navigation method further includes: The acquisition, structural enhancement, lesion boundary identification, pixel-based spatial transformation, and overlay display of the ultrasound image stream are scheduled according to a preset time sequence, so that multiple consecutive image frames form a pipelined processing with overlapping time at different processing stages.

[0016] A second aspect of this disclosure provides an intraoperative navigation system, comprising: An ultrasound probe is used to acquire intraoperative ultrasound image streams of brain tissue. The main control unit, connected to the ultrasound probe, is used to extract the local spatial structure features of the current image frame in the ultrasound image stream, determine the image transformation parameters corresponding to the current image frame based on the local spatial structure features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame. The image transformation parameters include the conduction coefficient and the time step. The conduction coefficient is determined based on the mean and standard deviation of the local gradient of the current image frame, and the time step is determined based on the local noise level of the current image frame. The medical vision computing unit, which communicates with the main control unit, is used to acquire image quality indicators of the structure-enhanced image frame. When the image quality indicators do not meet the preset quality conditions, it determines the image transformation parameter correction value based on the deviation between the image quality indicators and the preset quality conditions, and transmits the image transformation parameter correction value to the main control unit so that the main control unit updates the image transformation parameters and returns to perform structure enhancement processing on the current image frame using the image transformation parameters. The medical vision computing unit is also used to input the structure-enhanced image frame into the lesion detection model when the image quality indicators meet the preset quality conditions, output the lesion boundary recognition result, and transform the lesion boundary recognition result from the pixel coordinate domain to the physical space coordinate domain according to the scanning depth and image resolution corresponding to the ultrasound image stream to obtain the spatial mapping result. The display terminal is connected to the medical vision computing unit and is used to spatially align and overlay the lesion boundary recognition results with the current image frame based on the spatial mapping results. The main control unit is also used to trigger the ultrasound probe to acquire the next image frame as the current image frame in parallel during the process of structural enhancement processing, lesion boundary identification, spatial alignment and overlay display of the current image frame, and return to perform structural enhancement processing on the current image frame using image transformation parameters.

[0017] In some implementations, the main control unit also includes a pipeline control unit; The pipeline control unit is configured to schedule the ultrasound probe, main control unit, medical vision computing unit and display terminal according to a preset timing sequence, so that multiple consecutive image frames form a pipeline processing with overlapping time at different processing stages.

[0018] In some implementations, the pipeline control unit is equipped with a buffer queue mechanism; In this process, while the medical vision computing unit is processing the current image frame, the main control unit triggers the ultrasound probe to acquire the next image frame in parallel through a buffer queue mechanism and stores the next image frame in the buffer queue.

[0019] In some implementations, a hardware-level quality feedback closed-loop link is configured between the main control unit and the medical vision computing unit; The hardware-level quality feedback closed-loop link is configured to transmit the image transformation parameter correction value to the main control unit through a bidirectional control bus between the main control unit and the medical vision computing unit, so that the main control unit updates the diffusion coefficient in the image transformation parameters and returns to perform structural enhancement processing on the current image frame using the image transformation parameters.

[0020] A third aspect of this disclosure provides an intraoperative navigation device, comprising: Ultrasound image acquisition module, used to acquire intraoperative ultrasound image streams of brain tissue; The image enhancement module extracts local spatial structure features of the current image frame in the ultrasound image stream, determines the corresponding image transformation parameters based on these features, and performs structural enhancement processing on the current image frame using these parameters to obtain a structurally enhanced image frame. The image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean and standard deviation of the local gradients of the current image frame, and the time step is determined based on the local noise level of the current image frame. The module also acquires the image quality index of the structurally enhanced image frame and compares it with preset quality conditions. If the image quality index does not meet the preset quality conditions, a correction value for the image transformation parameters is determined based on the deviation between the image quality index and the preset quality conditions. The image transformation parameters are updated based on the correction value, and the module returns to perform structural enhancement processing on the current image frame using the image transformation parameters to obtain the structurally enhanced image frame. The lesion recognition module is used to input the structure-enhanced image frame into the lesion detection model and output the lesion boundary recognition result when the image quality index reaches the preset quality conditions. The spatial mapping module is used to determine the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and to transform the lesion boundary identification results from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping results; The display module is used to establish a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, and to spatially align and overlay the lesion boundary recognition result with the current image frame based on the spatial correspondence. The ultrasound image acquisition module is also used to acquire the next image frame in the ultrasound image stream in parallel as the current image frame during the process of structural enhancement processing, lesion boundary recognition, spatial alignment and overlay display of the current image frame. It also returns the local spatial structural features of the current image frame extracted from the current image frame in the ultrasound image stream, determines the image transformation parameters corresponding to the current image frame based on the local spatial structural features, and performs structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame.

[0021] A fourth aspect of this disclosure provides an electronic device comprising: A processor; and a memory storing executable instructions for the processor; wherein the processor is configured to perform the intraoperative navigation method of any of the above embodiments by executing the executable instructions.

[0022] The fifth aspect of this disclosure provides a computer-readable storage medium for storing a program, characterized in that, when the program is executed, it implements the intraoperative navigation method of any of the above embodiments.

[0023] The intraoperative navigation method, apparatus, device, system, and storage medium proposed in this disclosure have the following advantages: Compared to directly detecting lesions and outputting recognition results from the original intraoperative ultrasound images, the present invention extracts local spatial structural features from the current image frame and determines image transformation parameters based on these features. It then performs adaptive structural enhancement on the current image frame, enabling the structural enhancement process to adapt to the local spatial structure of the current image frame. This improves the structural stability and boundary continuity of the enhanced image frame and reduces the impact of intraoperative tissue deformation, speckle noise, and weak contrast imaging conditions on lesion boundary recognition.

[0024] Furthermore, in this embodiment, the image quality index of the structure-enhanced image frame is obtained, and when the image quality index does not meet the preset quality conditions, the image transformation parameters are corrected according to the deviation between the image quality index and the preset quality conditions. The structure enhancement process is then re-executed based on the corrected image transformation parameters, thereby forming a feedback process between image quality evaluation and image transformation parameter adjustment. This ensures that the structure enhancement result enters the lesion detection process only after meeting the preset quality conditions, which is beneficial to improving the consistency of the image quality on which lesion boundary recognition is based.

[0025] Meanwhile, the present invention determines the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and transforms the lesion boundary recognition result from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing. Then, based on the spatial mapping result, it establishes the spatial correspondence between the lesion boundary recognition result and the current image frame and performs spatial alignment and superposition display, thereby realizing the spatial correspondence between the lesion boundary information and the actual anatomical structure in the intraoperative ultrasound image, and improving the spatial readability of the navigation information.

[0026] Furthermore, in the present invention, during the process of structural enhancement, lesion boundary identification, spatial alignment and overlay display of the current image frame, the next image frame is acquired in parallel, and subsequent processing is performed on the next image frame, so that the acquisition of continuous image frames and different processing stages form a pipeline processing with time overlap, thereby improving the continuous processing capability of intraoperative ultrasound image stream.

[0027] Therefore, the present invention forms a complete intraoperative navigation processing link through local spatial structure adaptive enhancement, image quality feedback adjustment, lesion boundary recognition, physical space mapping and continuous frame pipeline processing. While improving the stability of image structure and the accuracy of lesion boundary recognition, it realizes the spatial correspondence between lesion recognition results and actual anatomical structures, and improves the real-time performance, stability and navigation accuracy of the intraoperative navigation process.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0029] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings.

[0030] Figure 1 This invention provides a schematic diagram of the structure of an intraoperative navigation system according to an embodiment of the present invention. Figure 2 This illustration shows another specific internal hardware architecture diagram of the intraoperative navigation system provided in this disclosure; Figure 3 A schematic diagram illustrating the architecture of the lesion detection model provided in this disclosure embodiment is shown. Figure 4 A flowchart illustrating the intraoperative navigation method provided by the embodiments of this disclosure is shown. Figure 5 A structural block diagram of the intraoperative navigation device provided in this disclosure embodiment is shown; Figure 6 This illustration shows a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure. Detailed Implementation

[0031] To make the technical solution, the technical problem solved, and the technical effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the described embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Those skilled in the art can make various modifications and variations to the embodiments without departing from the spirit and scope of the present invention, and all such modifications and variations should be considered to fall within the scope of protection of the present invention.

[0032] Techniques, methods, and apparatus known to those skilled in the art are not discussed in detail where appropriate, but should be considered part of this specification. In all examples shown herein, any specific numerical values ​​or parameters should be interpreted as exemplary only and not as limiting the invention.

[0033] Figure 1 A schematic diagram of the intraoperative navigation system provided in this disclosure is shown. For example... Figure 1 As shown, this intraoperative navigation system can be applied in an intraoperative ultrasound imaging environment to assist in navigation and visualization of lesion areas in brain tissue, so as to support surgeons in dynamically observing and spatially locating the target area during surgery.

[0034] like Figure 1 As shown, the intraoperative navigation system includes an ultrasound probe 10, a main control unit 20, a medical vision computing unit 30, and a display terminal 40.

[0035] The ultrasound probe 10 is used to emit ultrasound signals toward the target brain tissue and receive corresponding echo signals to acquire a continuous intraoperative ultrasound image stream of the brain tissue. The intraoperative ultrasound image stream of the brain tissue includes multiple continuously acquired image frames, each image frame reflecting the dynamic imaging information of the brain tissue during the operation.

[0036] The main control unit 20 is connected to the ultrasound probe 10 and is used to receive intraoperative ultrasound image streams of brain tissue and extract local spatial structural features from the current image frame in the ultrasound image stream. Based on the extracted local spatial structural features, the main control unit 20 determines the image transformation parameters corresponding to the current image frame and performs structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame.

[0037] In some implementations, the image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean and standard deviation of the local gradients of the current image frame, and the time step is determined based on the local noise level of the current image frame. By determining the image transformation parameters based on the image features of the current image frame, structural enhancement processing adapted to its image features can be performed on the current image frame.

[0038] The medical vision computing unit 30 is communicatively connected to the main control unit 20. It is used to acquire the image quality index of the structure-enhanced image frame and compare the image quality index with preset quality conditions. When the image quality index does not meet the preset quality conditions, the medical vision computing unit 30 determines the image transformation parameter correction value based on the deviation between the image quality index and the preset quality conditions, and transmits the image transformation parameter correction value to the main control unit 20.

[0039] After receiving the image transformation parameter correction value, the main control unit 20 updates the image transformation parameters according to the correction value and performs structural enhancement processing on the current image frame using the updated image transformation parameters. The medical vision computing unit 30 re-acquires the image quality index after structural enhancement processing and compares the re-acquired image quality index with the preset quality conditions. When the image quality index still does not meet the preset quality conditions, the medical vision computing unit 30 continues to determine the image transformation parameter correction value based on the deviation between the image quality index and the preset quality conditions, and transmits the image transformation parameter correction value to the main control unit 20 so that the main control unit 20 continues to update the image transformation parameters and perform structural enhancement processing; when the image quality index meets the preset quality conditions, the medical vision computing unit 30 inputs the structurally enhanced image frame into the lesion detection model and outputs the lesion boundary recognition result.

[0040] The medical vision computing unit 30 is also used to determine the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and to transform the lesion boundary recognition result from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result. The spatial mapping result is used to characterize the position and size information of the lesion boundary recognition result in physical space.

[0041] The display terminal 40 is connected to the medical vision computing unit 30 and is used to establish a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result. The lesion boundary recognition result and the current image frame are spatially aligned and superimposed for display, so as to synchronously present the lesion boundary information and the ultrasound image of brain tissue in the display interface.

[0042] In some implementations, the main control unit 20 is also used to concurrently trigger the ultrasound probe 10 to acquire the next image frame during the process of structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display of the current image frame. The next image frame is then used as the current image frame to continue performing local spatial structural feature extraction, image transformation parameter determination, and structural enhancement processing of the current image frame. Thus, multiple consecutively acquired image frames can be in different processing stages, forming a time-overlapping pipeline processing procedure.

[0043] In some implementations, the main control unit 20 and the medical vision computing unit 30 can communicate via a data communication interface or a data bus to transmit data related to structure enhancement processing, image quality indicators, and image transformation parameter correction values. The ultrasound probe 10, main control unit 20, medical vision computing unit 30, and display terminal 40 can be configured in a separate structure or an integrated structure depending on the application requirements of the device.

[0044] The aforementioned intraoperative navigation system enables image structure enhancement, image quality assessment, lesion boundary identification, and spatial mapping for continuously acquired intraoperative ultrasound images of brain tissue. It also allows for feedback adjustment of image transformation parameters based on image quality indices, creating a correlated processing flow between structural enhancement and lesion detection. Simultaneously, the next image frame is acquired in parallel while the current image frame is undergoing structural enhancement, lesion boundary identification, and spatial alignment, allowing for temporal overlap processing of consecutive image frames at different stages to meet the continuous dynamic processing requirements of the intraoperative ultrasound image stream.

[0045] In some embodiments, the ultrasound probe 10 is used to transmit ultrasound signals to the target brain tissue and receive echo signals returned by the brain tissue to obtain an intraoperative ultrasound image stream of the brain tissue.

[0046] In some embodiments, the ultrasound probe 10 may be a micro-convex array probe, a linear array probe, a phased array probe, or other transducer structures suitable for intraoperative ultrasound imaging. The operating frequency of the ultrasound probe 10 can be set according to the requirements of intraoperative ultrasound imaging, for example, set to any value or range from 5MHz to 12MHz.

[0047] like Figure 2 As shown, the ultrasonic probe 10 may include a probe interface 11, an ultrasonic signal processing unit 12, an analog-to-digital conversion unit 13, and an ultrasonic transducer 14.

[0048] The ultrasound signal processing unit 12 is used for transmitting, receiving, and beamforming ultrasound signals. Specifically, the ultrasound signal processing unit 12 may include a transmitting circuit, a receiving circuit, and a beamformer. The transmitting circuit is used to generate a driving signal to drive the ultrasound transducer 14 to transmit ultrasound waves toward the target brain tissue; the receiving circuit is used to receive the echo signal formed by the reflection from the brain tissue, and to amplify, filter, and preprocess the echo signal; the beamformer is used to perform delay compensation and weighted superposition of the echo signals from multiple receiving channels to generate ultrasound image data.

[0049] In one alternative embodiment, the ultrasonic probe 10 comprises N array elements, and the echo signal received by the nth array element is... The output signal of the beamformer It can be represented as:

[0050] in, This represents the weighting coefficient corresponding to the nth array element. This represents the delay time corresponding to the nth array element.

[0051] In one implementation, the delay time The delay time can be determined based on the array element positions and beam pointing angle. For example, when the corresponding beamforming conditions are met, the delay time can be expressed as:

[0052] in, θ represents the distance of the nth array element relative to the reference position, θ represents the beam pointing angle, and c represents the propagation speed of the sound wave in the tissue.

[0053] It should be noted that the above beamforming model is merely an example, and this disclosure does not limit it. The ultrasound signal processing unit 12 may also employ dynamic focusing beamforming, adaptive beamforming, minimum variance beamforming, or other beamforming methods capable of generating intraoperative ultrasound image data.

[0054] In some embodiments, the analog-to-digital conversion unit 13 is used to convert the analog ultrasound signal processed by the ultrasound signal processing unit 12 into a digital signal to generate digital data for forming an intraoperative ultrasound image stream. The quantization precision and sampling rate of the analog-to-digital conversion unit 13 can be set according to the requirements of intraoperative ultrasound imaging. For example, the quantization precision can be 12 bits, and the sampling rate can be 40 MHz or other sampling rates suitable for intraoperative ultrasound imaging.

[0055] Furthermore, the intraoperative ultrasound image stream generated by the ultrasound probe 10 can have a preset image resolution and frame rate. For example, the image resolution can be 640×480 pixels, the image frame rate can be 30 frames / second, and the scanning depth can be set to any value or any range from 2cm to 10cm.

[0056] It should be understood that the above-mentioned parameters such as operating frequency, quantization accuracy, sampling rate, image resolution, image frame rate, and scanning depth are merely examples, and this disclosure does not limit them. They can be configured according to the specific intraoperative ultrasound imaging equipment, imaging area, and imaging requirements.

[0057] In some implementations, the main control unit 20 includes an adaptive image enhancement unit 21, which performs structural enhancement processing on the current image frame in the ultrasound image stream to obtain a structurally enhanced image frame.

[0058] In some implementations, the adaptive image enhancement unit 21 may employ an anisotropic diffusion filtering algorithm to perform structural enhancement processing on the current image frame. Anisotropic diffusion filtering can apply different transformation intensities to different spatial regions based on the local structural features of different spatial regions of the image, thereby suppressing image noise while preserving tissue edge structures.

[0059] In one implementation, the anisotropic diffusion process can be represented as:

[0060] in, Represents the intensity distribution of the image; Indicates the iteration time or diffusion iteration step; Indicates the spatial location-related diffusion coefficient; Represents the image gradient; This represents the divergence operation.

[0061] In some implementations, the transmission coefficient can be determined based on local gradient statistics of the current image frame, so that different spatial regions correspond to different structural enhancement intensities. For example, the transmission coefficient can be determined based on the local gradient mean and local gradient standard deviation. The local gradient mean and local gradient standard deviation can be used to characterize the degree of structural change in the corresponding local region.

[0062] In one implementation, let the mean local gradient of a certain local region in the current image frame be . The local gradient standard deviation is The transmission coefficient can then be determined based on the mean and standard deviation of the local gradient. ,For example:

[0063] in, This represents the sensitivity coefficient. By adjusting the sensitivity coefficient, the degree to which the conduction coefficient responds to local gradient statistics can be adjusted.

[0064] In some implementations, the transmission coefficients corresponding to different spatial locations in the current image frame can be determined based on the mapping relationship between local gradient information and transmission coefficients, thereby forming a spatially non-uniform image transformation process. For example, the transformation coefficients corresponding to spatial locations can be determined in the following form:

[0065] in, Indicates the magnitude of the image gradient; is the conductivity coefficient, used to control diffusion sensitivity.

[0066] Under the above mapping relationship, when the gradient magnitude corresponding to a spatial location is small, the corresponding transformation coefficient is large, and a relatively strong smoothing process can be performed; when the gradient magnitude corresponding to a spatial location is large, the corresponding transformation coefficient is small, and the smoothing degree of that spatial location can be reduced to maintain the corresponding tissue edge structure.

[0067] In some implementations, anisotropic diffusion filtering can be achieved through discrete iteration. For example, pixel positions in the current image frame. The update process can be represented as:

[0068] in, This is the iteration step size; These are the diffusion coefficients in the four spatial directions; These represent the local gradient changes in the corresponding directions; Represents the pixel coordinates of the image.

[0069] In some implementations, the time step can be determined based on the local noise level of the current image frame to adjust the amplitude of each iteration during the image transformation process. The local noise level can be determined based on local grayscale changes, local statistical features, or other parameters that can characterize the degree of image noise in the current image frame.

[0070] Using the above method, image transformation parameters can be determined based on the local spatial structure features of the current image frame, and structural enhancement processing can be performed on the current image frame using the image transformation parameters, so that different spatial regions have corresponding structural enhancement intensities, thereby obtaining a structurally enhanced image frame.

[0071] In some implementations, considering the possible speckle noise and contrast differences between tissue structures in intraoperative ultrasound images of brain tissue, structural enhancement processing can be used to improve the representation of structural information in the lesion area and its boundaries, so as to form a structurally enhanced image frame suitable for subsequent lesion detection and processing.

[0072] In some implementations, the anisotropic diffusion filtering algorithm can adaptively adjust the diffusion parameters based on the local gradient statistical characteristics of intraoperative ultrasound images of gliomas to adapt to the weak contrast imaging characteristics under different tissue grading conditions.

[0073] In some implementations, the conduction coefficient K in the anisotropic diffusion filtering algorithm can be dynamically determined based on the gradient statistics within a local image window. Specifically, the size of the local image window is set to 31×31 pixels. The mean gradient μG and the standard deviation gradient σG are calculated within the local window, and the conduction coefficient K is determined based on the mean gradient μG and the standard deviation gradient σG. The sensitivity coefficient α can be configured according to the imaging scene, for example, it can be set to different values ​​between 0.5 and 2.0.

[0074] In some implementations, a smaller α value can be used for imaging regions with relatively low gradient amplitudes to reduce the conduction coefficient K and enhance edge preservation capabilities; a larger α value can be used for imaging regions with relatively high gradient amplitudes to improve noise suppression capabilities and adapt the diffusion process to the boundary structure differences of gliomas of different grades.

[0075] In some implementations, the time step λ can be dynamically adjusted based on the local speckle noise level of the image. Let the baseline time step be λ0, for example, 0.25, and the local noise level of the image be characterized by the local standard deviation σ. Then the time step λ can be expressed as:

[0076] Where β is the adjustment coefficient, for example, it can be 0.3. and These are the preset noise range boundary values.

[0077] In some implementations, when the local speckle noise level of the image is high, the time step λ is reduced accordingly to reduce the diffusion propagation speed, thereby suppressing the propagation of noise during the diffusion process; when the local speckle noise level of the image is low, the time step λ is increased accordingly to improve the structure smoothing efficiency.

[0078] In some implementations, the number of diffusion iterations N can be dynamically set according to an image sharpness evaluation metric. The image sharpness evaluation metric can be characterized using the Tenengrad gradient operator or other gradient energy evaluation methods. Let the image sharpness evaluation metric be T, then the number of diffusion iterations N can be expressed as:

[0079] in, and These are the lower and upper limits for the number of iterations, respectively; for example, they could be 5 and 25. This is the preset normalization threshold.

[0080] In some implementations, when the image sharpness is low, a lower T value is corresponding to the number of diffusion iterations, in which case the number of diffusion iterations can be increased to enhance the structural smoothing process; when the image sharpness is high, the number of diffusion iterations can be reduced to reduce the impact of over-smoothing on the boundary structure.

[0081] In some implementations, after anisotropic diffusion filtering, local contrast enhancement processing can be further performed on the structure-enhanced image frame. The contrast enhancement module can be implemented using the Contrast Limited Adaptive Histogram Equalization (CLAHE) algorithm.

[0082] In some implementations, the CLAHE algorithm divides the input image into multiple local image blocks and performs histogram equalization within each local image block to obtain a locally adaptive grayscale mapping relationship. Between different local image blocks, bilinear interpolation can be used to smoothly transition the enhancement results of adjacent image blocks, thereby reducing block artifacts generated by the block processing.

[0083] In some implementations, the histogram equalization process can determine the gray-level mapping relationship based on the cumulative distribution function of gray levels. Let the input gray levels be... The mapped output grayscale level is The total number of gray levels is L. Represents grayscale level The corresponding normalized probability distribution can then be represented as:

[0084] The total number of gray levels, L, can be, for example, 256.

[0085] In some implementations, to reduce noise amplification in high-noise areas during local contrast enhancement, the CLAHE algorithm can introduce a contrast limiting mechanism (clip limit) to constrain the histogram magnitude of each local image block.

[0086] The clip limit can be set according to the number of pixels and gray level distribution characteristics of a local image block, and can be adjusted according to the image noise level or tissue contrast requirements to limit the intensity of local contrast enhancement and reduce noise amplification and structural distortion caused by excessive enhancement.

[0087] In some implementations, after local contrast enhancement, edge sharpening can be performed on the enhanced image to further enhance high-frequency structural information near the lesion boundary. The edge sharpening module can be implemented using the Laplacian enhancement algorithm.

[0088] In some implementations, the Laplacian enhancement algorithm calculates local gray-level changes in the image based on a second-order differential operator to obtain an edge response map. The discrete form of the Laplacian operator can be expressed as:

[0089] Where I represents the image grayscale value, and i and j represent the image pixel coordinates. In some implementations, an extended convolution template can be used to perform discrete calculations on the Laplacian operator, such as a 5×5 convolution template, to improve the response capability to the boundaries of complex tissue structures.

[0090] In some implementations, the input image can be sharpened based on the edge response map to obtain an edge-enhanced image. The edge-enhanced image can be represented as:

[0091] in, This represents the gray value of the input image at position (x, y). This represents the Laplacian response value at position (x,y), and α represents the sharpening factor, used to adjust the superposition intensity of edge response components.

[0092] In some implementations, the sharpening factor α can be adjusted according to the local contrast or local noise level of the image to match the edge enhancement intensity with the image noise level, thereby enhancing the tissue boundary response while reducing the impact of noise amplification.

[0093] Through the aforementioned local contrast enhancement and edge sharpening processes, the grayscale expression and edge response of local tissue structures and lesion boundaries in the structure-enhanced image frame can be further improved, providing input images with high structural discriminability for subsequent lesion detection models.

[0094] In this embodiment of the disclosure, the medical vision computing unit 30 is used to receive the structure-enhanced image frame output by the main control unit 20, input the structure-enhanced image frame into a pre-configured lesion detection model, and output the lesion boundary recognition result.

[0095] Furthermore, the medical vision computing unit 30 determines the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and transforms the lesion boundary recognition result from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result; the display terminal 40 is used to spatially align and overlay the lesion boundary recognition result with the current image frame based on the spatial mapping result.

[0096] In some embodiments, the medical vision computing unit 30 may include an edge computing processor 31, a model storage unit 32, and a memory 33. The edge computing processor 31 is used to perform inference calculations for the lesion detection model, the model storage unit 32 is used to store the model parameters of the lesion detection model, and the memory 33 is used to store intermediate data and image data generated during model operation.

[0097] In some implementations, the edge computing processor 31 may be an embedded artificial intelligence (AI) processor with an integrated neural network acceleration unit, or it may be a CPU, GPU, FPGA, ASIC, or other processor capable of performing inference calculations for lesion detection models.

[0098] In some implementations, the embedded AI processor can integrate a Neural Processing Unit (NPU) to perform convolution operations, feature fusion operations, and classification inference operations in the lesion detection model.

[0099] In some implementations, the model storage unit 32 or memory 33 may employ low-power double data rate (LPDDR) memory, embedded multimedia card (eMMC) memory, secure digital card (SD) card, or other storage media to store model parameters of the lesion detection model, as well as image data and intermediate data generated during the lesion detection process.

[0100] In one implementation, the lesion detection model is used to receive structure-enhanced image frames and output lesion boundary recognition results.

[0101] In one implementation, the lesion detection model can be implemented using a target detection model based on a convolutional neural network, a detection model based on a Transformer, a semantic segmentation model, or a combination of the above models.

[0102] In some implementations, the lesion detection model can be built based on the YOLO (You Only Look Once) series of models, and the model parameters or network structure can be adjusted or optimized according to the imaging characteristics of intraoperative ultrasound images.

[0103] It should be understood that the above-mentioned lesion detection model and its processor type are merely examples, and this disclosure does not limit the specific network structure of the lesion detection model or the specific hardware implementation of the medical vision computing unit 30.

[0104] like Figure 3 As shown, the lesion detection model includes a backbone network 321, a feature fusion network 322, and a detection output network 323.

[0105] The backbone network 321 is used to extract spatial features at different levels from the structure-enhanced image frames. The backbone network 321 can be a lightweight feature extraction network, and the computational complexity of the model can be reduced through depthwise separable convolution, inverse residual structures, or other lightweight network structures.

[0106] For example, the backbone network 321 can employ a depthwise separable convolutional structure, decomposing standard convolution into depthwise convolution and pointwise convolution to reduce the computational cost during feature extraction. The computational cost of standard convolution can be expressed as:

[0107] Where K represents the kernel size, Cin represents the number of input channels, Cout represents the number of output channels, and H and W represent the height and width of the feature map, respectively.

[0108] Correspondingly, the computational cost of depthwise separable convolution can be expressed as:

[0109] Therefore, the computational compression ratio of depthwise separable convolution relative to standard convolution can be expressed as:

[0110] For example, when the kernel size is 3×3, the computational cost of depth-separable convolution is typically about 1 / 8 to 1 / 9 of that of standard convolution.

[0111] It should be understood that the above-mentioned depthwise separable convolutional structure is only one optional implementation method. This disclosure is not limited to this, and other lightweight convolutional structures or network compression structures can also be used to implement it.

[0112] The feature fusion network 322 is used to fuse spatial features at different levels output by the backbone network 321 to obtain fused features. Spatial features at different levels can have different spatial scales, so that the fused features simultaneously contain spatial information at different scales.

[0113] For example, the feature fusion network 322 can adopt a bidirectional cross-scale feature fusion structure to bidirectionally transfer and fuse spatial features at different scales. For instance, in one embodiment, the feature fusion network 322 can use a bidirectional feature pyramid network (BiFPN) to achieve multi-scale feature fusion.

[0114] In one implementation, the feature fusion network 322 performs weighted fusion on multiple input features, and the fused feature Y can be represented as:

[0115] Where Y represents the fused feature, This represents the i-th input feature. This represents the learnable weights corresponding to the i-th input feature. This represents a constant used to ensure numerical stability.

[0116] Through the above feature fusion processing, the spatial features extracted by the backbone network 321 at different levels can be fused to provide the detection output network 323 with fused features containing spatial information at different scales, which facilitates the subsequent determination of the boundary contour of the lesion boundary region and the corresponding detection confidence.

[0117] The detection output network 323 is used to output the lesion boundary recognition result based on the fused features output by the feature fusion network 322. The lesion boundary recognition result may include the lesion boundary contour, boundary position, detection confidence, or a combination thereof, and may be represented by bounding boxes, pixel-level segmented contours, topological curves, or other spatial representations.

[0118] Optionally, the detection output network 323 can adopt a network structure with decoupled classification and localization branches. The classification branch outputs the probability distribution of lesion categories, while the localization branch outputs the location, extent, or contour of the lesion boundaries.

[0119] Optionally, during the training of the lesion detection model, the localization branch can be trained based on the annotation information of the lesion boundary. The localization branch can be optimized using the Intersection over Union Loss function, the distance loss function, or a combination thereof.

[0120] For example, in one implementation, the Complete Intersectionover Union (CIoU) loss can be used as the boundary regression loss function, and its expression can be expressed as:

[0121] in, The intersection-union ratio (IU) of the predicted bounding box and the ground truth bounding box. Let Euclidean distance be the center point of the predicted bounding box and the ground truth bounding box. c The length of the diagonal of the smallest bounding rectangle. As a measure of aspect ratio consistency, These are the weighting coefficients.

[0122] The calculation formula is as follows:

[0123] in, This refers to the area of ​​the predicted bounding box or predicted region output by the tumor detection model. This represents the area of ​​the actual tumor bounding box or real region labeled in the training samples. This represents the area of ​​intersection between the predicted region and the actual region. This represents the area of ​​the union of the predicted region and the ground truth region. IoU is used to characterize the degree of overlap between the predicted region and the ground truth region.

[0124] It should be understood that the network structure, network parameters, training method, and loss function of the above-described detection output network 323 are merely illustrative examples, and this disclosure does not limit them. In other embodiments, the network structure, network parameters, quantization method, training method, and model inference configuration of the lesion detection model can be adjusted according to the actual application scenario, intraoperative ultrasound image features, and the computing resources of the medical vision computing unit 30.

[0125] In some implementations, the model parameters of the lesion detection model can be pre-stored in the model storage unit 32. The model storage unit 32 can be implemented using flash memory, read-only memory, solid-state memory, or other non-volatile storage media.

[0126] To accommodate the computational and storage resource limitations of the medical vision computing unit 30, in some embodiments, the lesion detection model can be compressed. Model compression methods may include model quantization, model pruning, knowledge distillation, parameter sharing, or a combination thereof. For example, low-bit quantization can be used to quantize the model parameters and activation values ​​of the lesion detection model to reduce model storage space and computational load during model inference.

[0127] In one alternative implementation, 8-bit integer (INT8) quantization can be used to quantize the model parameters and activation values ​​of the lesion detection model. The quantization process can be represented as follows:

[0128] in, The quantized integer value. The original floating-point value. S This is the scaling factor (scale). Z Let zero be the point, where the scaling factor S can be expressed as:

[0129] Zero point Z can be represented as:

[0130] Correspondingly, the dequantization process can be represented as:

[0131] in, This represents the dequantized floating-point value.

[0132] It should be understood that the model compression method and storage format of the above-described lesion detection model are merely illustrative examples, and this disclosure does not limit them. In other embodiments, other model compression methods or model storage methods may be adopted according to the computing resources and storage resources of the medical vision computing unit 30 and the inference requirements of the lesion detection model.

[0133] like Figure 2 As shown, in some embodiments, the main control unit 20 includes an adaptive image enhancement unit 21, which is used to perform structural enhancement processing on the current image frame to generate a structurally enhanced image frame.

[0134] Furthermore, the medical vision computing unit 30 is also equipped with an image quality assessment module, which is used to assess the quality of the structure-enhanced image frame, determine the deviation between the image quality index and the preset quality conditions based on the quality assessment results, determine the image transformation parameter correction value based on the deviation, and transmit the image transformation parameter correction value to the main control unit 20 to update the image transformation parameters.

[0135] Specifically, image quality metrics can be used to characterize the degree of spatial structure preservation, edge sharpness, contrast, noise level, or a combination thereof in a structure-enhanced image frame. In some implementations, image quality assessment may include noise level assessment, contrast assessment, and sharpness assessment.

[0136] The noise level characterizes the degree of local gray-level fluctuation in an image and can be calculated using the standard deviation of pixel gray levels within a local window. Let the pixel gray-level value within the local window be I(i,j), the local mean be μ, and the number of local pixels be N. Then the noise level σ can be expressed as:

[0137] Where N is the number of local pixels.

[0138] In some implementations, the noise level σ is used to characterize the degree of local noise in the structure-enhanced image frame and serves as one of the image quality indicators.

[0139] Contrast ratio is used to characterize the degree of grayscale difference in an image, and can be calculated using the Michelson contrast ratio.

[0140] in, This represents the maximum grayscale value in a local area. This represents the minimum grayscale value in a local area.

[0141] In some implementations, contrast ratio C is used to characterize the local contrast of the structure-enhanced image frame and serves as one of the image quality indicators.

[0142] Sharpness is used to characterize the intensity of high-frequency structural information in an image, and can be calculated using the Tenengrad gradient energy:

[0143] Where Gx and Gy are the horizontal and vertical gradients based on the Sobel operator, respectively.

[0144] In some implementations, an image quality index can be determined based on at least one of noise level σ, contrast C, and sharpness Tenengrad, and the image quality index can be compared with a preset quality condition. When the image quality index does not meet the preset quality condition, an image transformation parameter correction value can be determined based on the deviation between the image quality index and the preset quality condition, and the image transformation parameters can be updated based on the image transformation parameter correction value.

[0145] In some implementations, the sharpness index is used to adjust the sharpening coefficient in the edge sharpening module and the number of diffusion iterations in the speckle noise suppression module.

[0146] Furthermore, the image quality assessment module can construct a joint adjustment vector based on the noise level σ, contrast C, and sharpness Tenengrad, and determine the image transformation parameter correction value based on the joint adjustment vector.

[0147] In some implementations, a hardware-level quality feedback closed-loop link is provided between the main control unit 20 and the medical vision computing unit 30. The hardware-level quality feedback closed-loop link refers to a feedback link that transmits image transformation parameter correction values ​​directly from the medical vision computing unit 30 to the main control unit 20 via a dedicated bidirectional control bus between the main control unit 20 and the medical vision computing unit 30, without requiring operating system software scheduling.

[0148] The hardware-level quality feedback closed-loop link can be implemented using a dedicated control interface, on-chip interconnect, direct memory access channel, or other hardware communication structures that enable direct parameter transmission between the main control unit 20 and the medical vision computing unit 30.

[0149] The image transformation parameter correction values ​​determined by the image quality assessment module are transmitted to the main control unit 20 in real time through a hardware-level quality feedback closed-loop link, so that the main control unit 20 updates the image transformation parameters and returns to perform structural enhancement processing on the current image frame using the updated image transformation parameters.

[0150] Specifically, when the noise level σ increases, the noise suppression intensity in the speckle noise suppression module can be increased; when the contrast C decreases, the local enhancement intensity in the contrast enhancement module can be increased; and when the sharpness Tenengrad decreases, the sharpening coefficient in the edge sharpening module can be increased, and the upper limit of the diffusion iteration number can be increased.

[0151] In the above manner, the main control unit 20, the hardware-level quality feedback closed-loop link, and the medical vision computing unit 30 constitute an image quality closed-loop control structure, which enables the image transformation parameters to be dynamically adjusted according to the real-time image quality, thereby forming a closed-loop processing process of structure enhancement, quality evaluation, parameter feedback, and re-execution of structure enhancement.

[0152] Therefore, the parameters of the structural enhancement processing can be adjusted according to the real-time imaging quality of the intraoperative ultrasound images, so that the structural enhancement image frames maintain image quality suitable for lesion boundary identification, thereby improving the accuracy of lesion boundary identification and the degree of spatial matching between the lesion boundary identification results and the actual anatomical structures.

[0153] In some implementations, the medical vision computing unit 30 is further equipped with an intelligent auxiliary decision-making unit 34, which is used to evaluate the credibility of the lesion boundary recognition results based on the lesion boundary recognition results and image quality information, and output risk warning information and interactive control signals for clinical auxiliary decision-making.

[0154] In some implementations, the intelligent auxiliary decision-making unit 34 includes a detection confidence assessment module, a risk grading prompt module, a measurement tool module, and a screenshot storage module.

[0155] In some implementations, the detection confidence assessment module is used to assess the reliability of the lesion boundary identification results output by the lesion detection model. The reliability assessment can be based on at least two of the following: the detection confidence output by the lesion detection model, the spatial scale information of the lesion boundary region, and the image quality score of the current image frame.

[0156] In some implementations, the detection confidence assessment module obtains the baseline detection confidence output by the lesion detection model. And determine the area score based on the spatial scale information of the lesion boundary region. And determine the image quality score based on the image quality information output by the image quality assessment module. and to , as well as We perform weighted fusion to obtain the overall confidence level. Overall confidence level It can be represented as:

[0157] Where w1, w2, and w3 are normalized weight coefficients, satisfying w1 + w2 + w3 = 1.

[0158] In some implementations, area scoring This is used to characterize the spatial scale of the lesion boundary region. When the area A of the lesion boundary region is less than a preset scale threshold A0, the region area score can be determined based on the ratio between area A and the preset scale threshold A0; when A is greater than or equal to A0, the region area score can be set to 1. For example, region area score... It can be represented as:

[0159] Where A is the area of ​​the lesion boundary region, and A0 is the preset scale threshold.

[0160] In some implementations, image quality scoring The image quality information output by the image quality assessment module is used to characterize the readability of the current image frame. This image quality information may include at least one of the following: noise level σ, contrast ratio C, and sharpness index Tenengrad. The detection confidence assessment module can determine the image quality score based on the correspondence between the image quality information and a preset quality evaluation range. .

[0161] In some implementations, the risk grading alert module is used to assess the overall confidence level. Determine the corresponding risk warning level and generate a warning message corresponding to the risk warning level.

[0162] For example, when When the value is ≥0.9, it can be determined as the first risk warning level, and a warning message will be output to characterize the high reliability of the test results; when 0.7≤ When the value is less than 0.9, it can be determined as the second risk warning level, and a prompt message for manual review will be output; when... When the value is less than 0.7, it can be identified as the third risk warning level, and a warning message will be output to indicate that the reliability of the test results is low.

[0163] In some implementations, the risk grading prompt module can generate visual prompts, sound prompts, or interactive prompts based on the determined risk prompt level, and send the corresponding prompt information to the display terminal 40 to provide auxiliary prompts during the overlay display of lesion boundary identification results.

[0164] In some implementations, the measurement tool module is used to measure the spatial dimensions of the lesion area, the distance between boundaries, or other spatial parameters based on the physical spatial coordinates corresponding to the lesion boundary identification results, and output the corresponding measurement results.

[0165] In some implementations, the screenshot storage module is used to take a screenshot and store at least one of the following in response to a preset trigger condition: intraoperative ultrasound image, lesion boundary recognition result, spatial mapping result, image quality information, and risk warning information in the currently displayed interface.

[0166] In some implementations, when a doctor marks two measurement points on the ultrasound image displayed on the display terminal 40, the measurement tool module calculates the pixel domain distance based on the image coordinates of the two measurement points and further converts it into the corresponding actual physical space distance.

[0167] The formula for calculating the pixel distance between two points is:

[0168] Where (x1,y1) and (x2,y2) are the positions of the two measurement points in the image coordinate system.

[0169] The formula for calculating the actual physical distance is:

[0170] in, The pixel pitch parameter is used to characterize the actual spatial size corresponding to a unit pixel. The pixel pitch parameter can be determined according to the scanning depth configuration and image resolution of the ultrasound imaging system.

[0171] In some implementations, when a doctor marks multiple consecutive measurement points on an image displayed on the display terminal 40 to form a closed contour, the measurement tool module calculates the corresponding polygon area based on the coordinate sequence of the multiple measurement points and converts the polygon area into the actual physical space area.

[0172] The area of ​​a polygon can be calculated using the following expression:

[0173] Among them, (xi , y i Let be the coordinates of the vertices of a polygon arranged in order, and satisfy (x... n , y n = (x0, y0).

[0174] In some implementations, when outputting measurement results, the measurement tool module spatially aligns the measurement results with the lesion boundary identification results and displays the measurement results in an overlay manner on the intraoperative ultrasound image output by the display terminal 40, thereby assisting doctors in assessing the lesion boundary range and spatial dimensions.

[0175] In some implementations, the screenshot storage module is integrated into the intelligent auxiliary decision-making unit 34 to solidify and store key display frames generated during intraoperative navigation.

[0176] In some implementations, the screenshot storage module is connected to the touch interface and the foot switch signal input terminal to receive screenshot trigger commands. The screenshot trigger commands include a first trigger signal generated based on the touch input and a second trigger signal generated based on the foot switch action.

[0177] When a screenshot trigger command is received, the screenshot storage module acquires the image data frame output by the current display terminal 40. The image data frame includes intraoperative ultrasound image data and lesion boundary identification results superimposed on the intraoperative ultrasound image data, and stores the image data frame as fused image data.

[0178] In some implementations, the screenshot storage module generates corresponding timestamp information while storing the fused image data, and associates it with at least one of the following: patient identification information, examination sequence number, and operation event identifier, thereby forming a structured case data entry.

[0179] The fused image data can be stored in PNG, DICOM, or other image file formats suitable for medical image storage to support subsequent retrieval, review, and analysis by medical imaging systems.

[0180] In some implementations, the display terminal 40 is used to receive the spatial mapping results output by the medical vision computing unit 30, and based on the spatial mapping results, spatially align and overlay the lesion boundary recognition results with the current image frame to provide intraoperative navigation information to the operator.

[0181] In some embodiments, the display terminal 40 may include one or more of a display unit 41, a graphics overlay unit 42, and an interaction unit 43.

[0182] The display unit 41 is used to display intraoperative ultrasound images of brain tissue and corresponding navigation information. The display unit 41 can be a liquid crystal display, an organic light-emitting diode display, a medical monitor, a touch screen, a head-mounted display device, an augmented reality display device, or other devices capable of image display. This disclosure does not limit the specific type, display resolution, or refresh rate of the display unit 41.

[0183] The graphic overlay unit 42 is used to map the lesion boundary recognition result to the display coordinate system corresponding to the current image frame according to the spatial mapping result output by the medical vision computing unit 30, and generate a graphic overlay layer that is spatially aligned with the current image frame.

[0184] In some implementations, the graphics overlay layer may include one or more of the following: lesion boundary contour, lesion region identifier, detection confidence level, lesion size measurement results, and other auxiliary navigation information. The graphics overlay unit 42 may be implemented using hardware graphics acceleration, software rendering, or a hardware-software co-processing approach; this disclosure does not limit the implementation in this regard.

[0185] In some implementations, the graphic overlay unit 42 determines the spatial positional correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, generates a graphic overlay layer based on the spatial positional correspondence, and then merges and displays the graphic overlay layer with the current image frame.

[0186] In some implementations, the graphic overlay can use different display forms to distinguish different navigation information, such as using different colors, line types, transparency, shadow effects or dynamic display effects, and this disclosure does not limit this.

[0187] The interaction unit 43 is used to receive control commands input by the operator to adjust the operating parameters of the intraoperative navigation system. In some embodiments, the interaction unit 43 may include one or more of the following: a touch screen, buttons, knobs, a mouse, a voice input device, a gesture recognition device, or other human-computer interaction devices.

[0188] Through the interactive unit 43, the operator can adjust the ultrasound image display mode, lesion boundary display mode, image measurement mode, and other navigation display parameters, which are not limited in this disclosure.

[0189] In some implementations, a real-time data transmission mechanism is used between the display terminal 40 and the medical vision computing unit 30. After receiving the spatial mapping result corresponding to the current image frame, the display terminal 40 generates a graphic overlay layer corresponding to the current image frame based on the spatial mapping result, and displays the graphic overlay layer superimposed on the current image frame; as the processing result of the next image frame arrives, the display terminal 40 updates the corresponding graphic overlay layer, thereby realizing the continuous display of ultrasound images and lesion boundary recognition results.

[0190] In the above manner, the display terminal 40 can spatially align the lesion boundary identification result with the current image frame based on the spatial mapping result and overlay the display, so that the operator can intuitively obtain the positional relationship between the lesion boundary and the surrounding brain tissue, thereby improving the readability of intraoperative navigation information and the accuracy of lesion boundary localization.

[0191] In some implementations, the intraoperative navigation system also includes a hardware-level pipeline control unit 50 for time-coordinated control of the acquisition of ultrasound image streams, structural enhancement processing, lesion boundary identification processing, and overlay display processing, so that the above different processing stages are executed overlappingly in the time dimension for different image frames to form a continuous pipeline processing process.

[0192] In some implementations, the hardware-level pipeline control unit 50 includes a data stream scheduler 51, a buffer mechanism 52, and an interrupt priority controller 53. The data stream scheduler 51 schedules the data transmission path of the ultrasound image stream and the execution sequence between processing stages based on the status information of each processing stage. The buffer mechanism 52 provides data buffering between adjacent processing stages to achieve data isolation between image acquisition and image processing. The interrupt priority controller 53 responds to and schedules interrupt events such as frame synchronization, acquisition completion, processing completion, and display refresh according to the priority of different processing events.

[0193] In some implementations, the data stream scheduler 51 controls the state switching of each processing stage based on frame synchronization signals, acquisition completion signals, structural enhancement completion signals, inference completion signals, and display completion signals, so that different image frames are in different processing stages such as acquisition, structural enhancement, lesion boundary recognition, and overlay display.

[0194] In one implementation, the data flow scheduler 51 is implemented using a finite state machine (FSM). The finite state machine may include an idle state (IDLE), an acquisition state (ACQUIRE), a structure enhancement state (ENHANCE), an inference state (INFERENCE), and a display state (DISPLAY).

[0195] After power-on initialization, the data stream scheduler 51 enters an idle state. In the idle state, it waits for the frame synchronization signal corresponding to the ultrasound image stream. When the frame synchronization signal is detected, the data stream scheduler 51 triggers a state transition, causing the ultrasound probe 10 to enter the acquisition state and acquire the current image frame.

[0196] After the current image frame is acquired, the data stream scheduler 51 triggers the structure enhancement state, transmitting the current image frame to the main control unit 20 for structure enhancement processing. While the main control unit 20 is performing structure enhancement processing on the current image frame, the ultrasound probe 10 can continue to acquire the next image frame and write the next image frame into an idle buffer area, thereby allowing the image acquisition process and the structure enhancement process to overlap in time.

[0197] In some implementations, the buffering mechanism 52 includes a first input buffer, a second input buffer, and an output buffer. The first and second input buffers are used to alternately receive image frames output by the ultrasound probe 10, and the main control unit 20 alternately reads the image frames that have been written to perform structural enhancement processing. For example, when the ultrasound probe 10 writes the current image frame to the first input buffer, the main control unit 20 can read the previous image frame that has been acquired in the second input buffer and perform structural enhancement processing; after the next image frame is acquired, the read / write roles of the first and second input buffers are switched.

[0198] The output buffer is used to temporarily store the structure-enhanced image frames output by the main control unit 20 and the lesion boundary recognition results or spatial mapping results output by the medical vision computing unit 30, so as to realize data isolation between adjacent processing stages and reduce data access conflicts caused by different processing stages accessing the same data area at the same time.

[0199] In some implementations, the medical vision computing unit 30 can perform lesion detection and spatial mapping processing on an earlier image frame that has already undergone structural enhancement processing, while the main control unit 20 is processing the previous image frame; the display terminal 40 can then perform overlay display on the image frame that has already undergone lesion detection and spatial mapping processing. Thus, different image frames in the acquisition stage, structural enhancement stage, lesion boundary recognition stage, and overlay display stage can exist simultaneously, thereby forming a pipelined parallel processing across processing stages.

[0200] In some implementations, the buffering mechanism 52 can also be extended to a buffer queue comprising multiple independent buffer areas to dynamically cache image frames to be processed according to the processing rate of each processing stage. When the processing time of a certain processing stage changes, the buffer queue can be used to temporarily store image frames that have completed the processing of the previous stage, so that different processing stages can run independently to a certain extent, reducing the impact of processing rate mismatch on the continuous image processing process.

[0201] In some implementations, the interrupt priority controller 53 is used to manage the priority of events generated in each processing stage. For example, different interrupt priorities can be configured for frame synchronization events, acquisition completion events, inference completion events, and display refresh events, and the response order of the corresponding events can be determined according to the current system operating state. When multiple events arrive simultaneously, the interrupt priority controller 53 can trigger the state switching of the corresponding processing stage according to the preset priority to maintain the timing stability of the continuous image processing process.

[0202] In some implementations, the hardware-level pipeline control unit 50 can also coordinate the acquisition of the next image frame, the structural enhancement of the current image frame, and the lesion boundary identification and overlay display of the completed image frames according to the processing status of each processing stage, so that each processing stage can continue to process the corresponding image frame without waiting for other stages to complete all processing.

[0203] Through the aforementioned pipeline control method, the image acquisition of the ultrasound probe 10, the structural enhancement processing of the main control unit 20, the lesion boundary recognition and spatial mapping processing of the medical vision computing unit 30, and the overlay display processing of the display terminal 40 can be performed for different overlapping image frames, reducing idle waiting between adjacent processing stages and reducing the impact of the processing time of a single processing stage on the entire continuous image processing process. This improves the continuous processing capability and output stability of the intraoperative ultrasound image stream, meeting the requirements of real-time image processing and low-latency display in intraoperative navigation scenarios.

[0204] In some implementations, during the lesion boundary recognition stage, the medical vision computing unit 30 reads the structure-enhanced image frame that has undergone structure enhancement processing from the buffer mechanism 52 and inputs the structure-enhanced image frame into the lesion detection model for inference processing.

[0205] In some implementations, the lesion detection model is used to extract lesion-related spatial features from the structure-enhanced image frame and output lesion boundary recognition results based on the spatial features. After the lesion detection model completes the inference processing, the medical vision computing unit 30 generates an inference completion interrupt signal and writes the lesion boundary recognition results into the output buffer.

[0206] After receiving the inference completion interrupt signal, the data stream scheduler 51 determines that the current image frame has entered the display stage and triggers the medical vision computing unit 30 to perform spatial mapping processing on the lesion boundary recognition result to obtain the spatial mapping result; or triggers the display terminal 40 to read the lesion boundary recognition result and the corresponding spatial mapping result.

[0207] During the display phase, the display terminal 40 reads the lesion boundary recognition result and spatial mapping result corresponding to the current image frame from the output buffer, and spatially aligns and overlays the lesion boundary recognition result with the current image frame based on the spatial mapping result.

[0208] In some implementations, the spatial mapping result is used to characterize the spatial correspondence between the lesion boundary identification result and the current image frame. The graphics overlay unit 42 in the display terminal 40 generates a graphics overlay layer corresponding to the current image frame based on the spatial mapping result, and displays the graphics overlay layer over the current image frame.

[0209] Once the current image frame has finished displaying, the display terminal 40 generates a display completion interrupt signal. After receiving the display completion interrupt signal, the data stream scheduler 51 releases the corresponding buffer resources occupied by the current image frame and triggers the corresponding processing stage to continue execution according to the processing status of the next image frame, instead of waiting for the entire system to return to an idle state before processing the next image frame.

[0210] In some implementations, the data flow scheduler 51 manages the state of each processing stage using a state machine. Let the current processing state be... Input event is Then the next processing state Represented as:

[0211] in, This represents the state transition function.

[0212] In some implementations, the state machine includes an idle state (IDLE), an acquisition state (ACQUIRE), a structure enhancement state (ENHANCE), an inference state (INFERENCE), and a display state (DISPLAY). For example, state transition relationships may include:

[0213] Once the display is complete, the state machine can directly enter the acquisition stage of the next image frame, so that the acquisition process of the next image frame overlaps with the subsequent processing of the previous image frame in time.

[0214] It should be understood that the above state transition relationship is used to describe the basic state control of the data stream scheduler 51 for the processing stage of a single image frame. During the processing of consecutive image frames, the data stream scheduler 51 can maintain the processing stage of different image frames respectively, so that when the previous image frame is in the structural enhancement, lesion boundary recognition or display stage, the next image frame can be synchronously in the acquisition stage, thereby forming a pipeline of multiple image frames overlapping across different processing stages.

[0215] Through the coordinated execution of the aforementioned state machine, buffer mechanism 52, and interrupt control mechanism, ultrasound image acquisition, structural enhancement, lesion boundary identification, and overlay display can be performed overlappingly on the time axis for different image frames, reducing the waiting time between adjacent processing stages and enabling continuous image frames to advance continuously according to the preset processing order, thereby improving the continuous processing capability of intraoperative ultrasound image stream and the temporal stability of display output.

[0216] In some implementations, the intraoperative navigation system also includes a memory bandwidth arbitrator for coordinating and controlling access to shared storage resources during processes such as ultrasound image acquisition, structural enhancement, lesion boundary identification, and overlay display, in order to reduce access conflicts that occur when multiple processing units access shared storage resources simultaneously.

[0217] In some implementations, the memory bandwidth arbitrator determines the corresponding access priority based on the real-time requirements of different processing stages, and schedules memory access requests from the ultrasound probe 10, the main control unit 20, the medical vision computing unit 30, and the display terminal 40 based on the access priority. Among them, the display refresh operation has a higher access priority, the inference operation corresponding to lesion boundary recognition has a second-highest access priority, and the ultrasound image acquisition operation has a basic access priority.

[0218] In some implementations, the memory bandwidth arbitrator uses a combination of priority scheduling and weighted round-robin for bandwidth allocation. When memory access requests of different priorities exist, higher-priority access requests are responded to first. For the remaining bandwidth that is not currently occupied by access requests of the same or higher priorities, multiple access requests can be round-robin scheduled according to preset weights to achieve dynamic allocation of shared storage resources.

[0219] The display refresh operation corresponding to display terminal 40 has a high access priority. The display refresh operation reads ultrasound image data and corresponding lesion boundary identification results from the output buffer according to a preset refresh cycle, generates overlay display data based on graphics overlay unit 42, and then outputs it to display unit 41. In some embodiments, the display refresh frequency can be 60Hz, corresponding to a display refresh cycle of approximately 16.7ms. The memory bandwidth arbitrator can reserve a corresponding access time window for the display refresh operation, enabling it to complete the reading of the required data within the corresponding refresh cycle.

[0220] The lesion boundary recognition operation corresponding to the medical vision computing unit 30 has the second highest access priority. The lesion boundary recognition operation reads the structure-enhanced image frame from the input buffer and writes the lesion boundary recognition result to the output buffer after the lesion detection model completes inference.

[0221] In some implementations, after the display refresh operation completes the corresponding high-priority access, the memory bandwidth arbitrator prioritizes the allocation of available bandwidth to the lesion boundary recognition operation to support inference processing of consecutive image frames.

[0222] The image acquisition operation corresponding to the ultrasound probe 10 has a basic access priority. The image acquisition operation can write the analog-to-digital converted image data to the input buffer through the Direct Memory Access (DMA) controller. In some embodiments, the DMA controller uses burst transfer to write continuous image data to the input buffer and triggers corresponding data transmission based on the acquisition completion signal, the buffer level signal, or the DMA request signal.

[0223] When access to shared storage resources is restricted, the memory bandwidth arbitrator can dynamically adjust bandwidth allocation based on the access needs of each processing stage. For example, when a display refresh operation needs to read display data, memory access for the display refresh operation is prioritized; after the access corresponding to the display refresh operation is completed, the remaining bandwidth is allocated to the lesion boundary identification operation; when none of the above operations have occupied all available bandwidth, the remaining bandwidth is allocated to the ultrasound image acquisition operation, thereby coordinating memory access between different processing stages.

[0224] In some implementations, the access weights of the memory bandwidth arbiter can be configured based on system processing capabilities and image flow rates. For example, the weights for display refresh, lesion boundary recognition, and ultrasound image acquisition can be configured as 4:2:1. These weights are used to determine the allocation ratio of available bandwidth for different access requests when multiple access requests exist simultaneously. The specific weight values ​​can be adjusted based on actual hardware resources, image resolution, frame rate, and processing latency requirements.

[0225] The aforementioned memory bandwidth arbitration mechanism can coordinate access behavior at different processing stages when there are multiple concurrent access requests to shared storage resources. This allows display refresh, lesion boundary identification, and ultrasound image acquisition to obtain storage access resources according to their respective real-time requirements, thereby reducing the impact of memory access conflicts on the image processing pipeline and improving the data transmission stability during continuous intraoperative ultrasound image stream processing.

[0226] In some implementations, when the available bandwidth of LPDDR5 memory decreases due to changes in operating temperature, concurrent access pressure, or other operating conditions, the weighted round-robin scheduling algorithm reallocates bandwidth resources according to preset weights to maintain data transmission requirements between different processing stages.

[0227] The memory bandwidth arbiter also includes a bandwidth monitoring module. In some implementations, the bandwidth monitoring module is used to collect one or more operating parameters from each processing unit in real time, such as memory access latency, bandwidth utilization, or memory access request queue length, and to perform statistical analysis on the collected operating parameters to determine the current access load status of the shared storage resources.

[0228] When the memory access latency of the medical vision computing unit 30 exceeds a preset threshold, the bandwidth monitoring module triggers a priority adjustment strategy to raise the priority of the inference operation to the same level as the display refresh operation, so as to ensure that the inference results can be written to the output buffer in a timely manner and read by the display terminal 40.

[0229] In some implementations, the preset threshold can be determined based on one or more of the following: statistical results of memory access latency of the medical vision computing unit 30 under normal operating conditions, frame period of the ultrasound image stream, inference period of the lesion detection model, and buffer capacity of the output buffer. For example, the preset threshold can be determined based on the mean and standard deviation of memory access latency collected within a preset statistical period, or based on the maximum memory access latency allowed by the system. This disclosure does not limit the specific value of the preset threshold.

[0230] Through the synergistic effect of the aforementioned memory bandwidth arbitration mechanism, priority scheduling strategy, and bandwidth monitoring mechanism, stable data interaction can be maintained during the access of shared storage resources for ultrasound image acquisition, image enhancement processing, lesion boundary recognition processing, and display output processing. Together with the state machine control mechanism of the data flow scheduler, a unified pipelined processing architecture is formed.

[0231] In some implementations, the interrupt priority controller 53 is used to control the priority of event signals generated by each processing module in order to coordinate the event response order of different processing stages and ensure the continuity of the overlay display processing and the stability of the overall system timing.

[0232] The interrupt priority controller 53 performs hierarchical response control for the overlay display refresh event, the lesion boundary identification completion event, and the structural enhancement processing completion event. Among them, the interrupt response priority of the overlay display refresh event is higher than that of the lesion boundary identification completion event, and the interrupt response priority of the lesion boundary identification completion event is higher than that of the structural enhancement processing completion event.

[0233] Through the coordinated control of the aforementioned data stream scheduler 51, double buffer mechanism 52, and interrupt priority controller 53, and combined with the memory bandwidth arbitrator's access scheduling of shared storage resources, ultrasound image acquisition, structural enhancement processing, lesion boundary identification processing, and overlay display processing form a continuously overlapping pipeline processing structure on the time axis. This ensures the real-time performance of the system while improving the data transmission stability and processing timing consistency of continuous image processing.

[0234] In some implementations, the intraoperative navigation system also includes a portable housing for housing the various functional modules of the intraoperative navigation system and providing mechanical protection, electrical connectivity, and thermal management support for the functional modules.

[0235] In some implementations, the portable casing adopts an integrated structural design, with its interior divided into an ultrasound signal acquisition area, an edge AI computing area, and a display and interaction area according to the layout requirements of different functional modules. Different functional areas can be spatially isolated through structural partitions, shielding structures, or other isolation structures to reduce electromagnetic interference between different functional modules. The display terminal 40 can be integrated into the front of the portable casing for outputting a superimposed display of ultrasound images and lesion boundary recognition results.

[0236] In some embodiments, the portable housing contains a built-in battery module for powering the intraoperative navigation system when not externally powered. The capacity of the battery module can be configured according to the overall power consumption of the intraoperative navigation system and the preset continuous working time, for example, the continuous working time can be configured to 4 hours or other durations suitable for use during surgery, which is not limited in this disclosure.

[0237] In some implementations, the portable housing is also provided with an interface unit, which may include one or more of the following: an ultrasound probe interface, a USB Type-C interface, an HDMI output interface, or other data and power interfaces, to support ultrasound probe connection, external device expansion, and display data output.

[0238] In some implementations, the portable housing employs a fanless passive cooling structure. Heat generated by the edge AI computing area and other heat-generating functional modules is conducted to the housing through thermally conductive materials, a heat dissipation structure, and natural convection. Heat is then dissipated to the external environment through the housing surface, thereby achieving system cooling without the need for a fan and reducing the impact of mechanical noise and airflow on the intraoperative environment.

[0239] In some implementations, the intraoperative navigation system further includes a one-button start unit 60 for enabling rapid startup and automatic initialization control of the intraoperative navigation system. The one-button start unit 60 can be integrated into the power management subsystem of the main control unit 20.

[0240] The one-button start unit 60 includes a power button, an automatic initialization module, and a ready indicator light.

[0241] The power button generates a system startup command and triggers the power-on startup process of the intraoperative navigation system when a preset duration of continuous pressing is detected. The preset duration can be configured according to actual operational needs.

[0242] The automatic initialization module is used to perform initialization tasks after the system is powered on. The initialization tasks include at least the initialization of the ultrasonic signal acquisition module, the initialization of the real-time display channel, and the model loading of the edge AI computing unit.

[0243] In some implementations, the automatic initialization module employs a parallel execution strategy, enabling the initialization of the ultrasound signal acquisition module and the establishment of the real-time display channel to be performed synchronously, and a delayed loading mechanism is used for the model loading task of the edge AI computing unit. In the initial stage of system startup, the ultrasound signal acquisition link and the real-time display link are established first, allowing the system to enter a state where basic data acquisition and display are available. After the basic links are established, the loading of the lesion detection model and other non-critical initialization tasks are then completed.

[0244] In some implementations, the automatic initialization module can also determine the initialization order based on the dependencies between initialization tasks. Initialization tasks without dependencies are executed in parallel, while initialization tasks with dependencies are executed in the order of dependencies, thereby reducing the waiting time between different initialization tasks during system startup.

[0245] The readiness indicator light is used to indicate the initialization status of the system. After the preset key initialization tasks such as ultrasound signal acquisition link, real-time display link, and lesion detection model loading are completed, the readiness indicator light can switch to the preset readiness state to indicate to the operator that the intraoperative navigation system has entered a usable state.

[0246] Through the hierarchical initialization scheduling mechanism of the one-click start unit 60, the system can perform critical path priority and non-critical module delayed loading according to the priority and dependency of different initialization tasks during the startup process. While prioritizing the establishment of the ultrasonic acquisition and real-time display link, the subsequent initialization of the edge AI computing unit is completed, thereby shortening the startup time required for the system to enter the usable state from power-on and improving the resource utilization efficiency and operational stability during the startup process.

[0247] Figure 4 A flowchart illustrating an intraoperative navigation method provided by an embodiment of this disclosure is shown.

[0248] In this embodiment of the disclosure, the entity executing the intraoperative navigation method can be the aforementioned Figure 1 The intraoperative navigation system shown includes a main control unit 20, a medical vision computing unit 30, or a processing platform composed of the main control unit 20 and the medical vision computing unit 30. It should be understood that the executing entity is not limited to the above-described form, as long as it can perform the steps in the embodiments of this disclosure.

[0249] like Figure 4 As shown, intraoperative navigation methods include, but are not limited to, the following steps: Step 410: Acquire intraoperative ultrasound images of brain tissue; Step 420: Extract the local spatial structure features of the current image frame in the ultrasound image stream, determine the image transformation parameters corresponding to the current image frame based on the local spatial structure features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame; wherein, the image transformation parameters include the transmission coefficient and the time step, the transmission coefficient is determined based on the local gradient mean and local gradient standard deviation of the current image frame, and the time step is determined based on the local noise level of the current image frame; Step 430: Obtain the image quality index of the structure-enhanced image frame and compare the image quality index with the preset quality conditions; Step 440: When the image quality index does not meet the preset quality conditions, determine the image transformation parameter correction value based on the deviation between the image quality index and the preset quality conditions, update the image transformation parameters based on the image transformation parameter correction value, and return to perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame. Step 450: When the image quality index reaches the preset quality condition, input the structure-enhanced image frame into the lesion detection model and output the lesion boundary recognition result; Step 460: Determine the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and transform the lesion boundary identification result from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result; Step 470: Establish a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, and spatially align and overlay the lesion boundary recognition result with the current image frame based on the spatial correspondence. Step 480: During the process of structural enhancement processing, lesion boundary identification, spatial alignment and overlay display of the current image frame, the next image frame in the ultrasound image stream is acquired in parallel as the current image frame, and the local spatial structural features of the current image frame are extracted for the current image frame in the ultrasound image stream. Based on the local spatial structural features, the image transformation parameters corresponding to the current image frame are determined, and structural enhancement processing is performed on the current image frame using the image transformation parameters.

[0250] In this embodiment, step 410 is used to obtain a continuous stream of intraoperative ultrasound images of brain tissue and determine the current image frame to be processed, providing input data for subsequent structural enhancement, lesion boundary identification and spatial alignment processing.

[0251] Steps 420 to 440 constitute a structure enhancement and quality feedback adjustment process for the current image frame. First, image transformation parameters are determined based on the local spatial structural features of the current image frame, and structure enhancement processing is performed on the current image frame using these parameters. Then, image quality is evaluated on the structure-enhanced image frame, and correction values ​​for the image transformation parameters are determined based on the deviation between the image quality index and preset quality conditions. When the image quality index fails to meet the preset quality conditions, the image transformation parameters are updated using the correction values, and structure enhancement processing is re-executed until the image quality index meets the preset quality conditions. This allows the structure enhancement process to adjust based on the image quality status of the current image frame, rather than using only a one-time fixed set of image transformation parameters.

[0252] Once the image quality indicators meet the preset quality conditions, the structure-enhanced image frame is input into the lesion detection model in step 450 to obtain the lesion boundary recognition result. Subsequently, in step 460, the pixel spacing is determined according to the scanning depth and image resolution corresponding to the ultrasound image stream, and the pixel spacing is used to establish the scale correspondence between the image pixel coordinates and the actual physical space. The lesion boundary recognition result is transformed from the pixel coordinate domain to the physical space coordinate domain to obtain the spatial mapping result.

[0253] Based on this, step 470 establishes a spatial correspondence between the lesion boundary identification result and the current image frame based on the spatial mapping result, and spatially aligns and overlays the lesion boundary identification result with the current image frame, so that the lesion boundary identification result can correspond to the corresponding spatial position in the current intraoperative ultrasound image, thereby forming a visualization result for intraoperative navigation.

[0254] Furthermore, step 480 is parallel to the aforementioned processing steps in the time dimension. While performing structural enhancement, lesion boundary identification, spatial alignment, and overlay display on the current image frame, the next image frame in the ultrasound image stream is acquired in parallel, and this next image frame is used as the current image frame for subsequent processing to continue executing step 420 and its subsequent steps. Therefore, the acquisition process of the next image frame does not need to wait for the previous image frame to complete all processing before starting, allowing image acquisition and image processing to overlap in the time dimension, thus forming a continuous processing procedure for a continuous ultrasound image stream.

[0255] In summary, the embodiments disclosed herein form a processing chain of "ultrasound image stream acquisition - structural enhancement based on local spatial structural features - image quality evaluation and image transformation parameter feedback correction - lesion boundary identification - pixel coordinate domain to physical space coordinate domain conversion - spatial alignment and overlay display - parallel acquisition of the next image frame".

[0256] Specifically, structural enhancement and quality feedback adjustment ensure that the images input to the lesion detection model meet preset quality conditions; spatial mapping and spatial alignment establish the spatial correspondence between the lesion boundary recognition results and intraoperative ultrasound images; and parallel image acquisition allows the acquisition and processing of consecutive image frames to be executed in an overlapping manner. These processing steps work together to achieve real-time processing of continuous intraoperative ultrasound images and lesion boundary navigation display.

[0257] In some embodiments, in step 420, the specific processing method of step 420 can be found in the foregoing description of local spatial structure features and image transformation parameters. Further, to obtain local spatial structure features that reflect the structural differences between different spatial regions of the current image frame, the current image frame can be divided into multiple local regions, and the gradient information of each local region can be calculated. Based on the gradient information corresponding to each local region, the structural change features corresponding to each local region are determined, wherein the structural change features are used to characterize the degree of edge structure change in the corresponding local region.

[0258] For example, for any local region in the current image frame, the corresponding gradient information can be calculated based on the grayscale changes of the pixels within that local region, and the degree of structural change in that local region can be determined based on the gradient information. When there are significant grayscale changes or edge changes within a local region, it can be determined that the local region has a high degree of structural change; when the grayscale changes within a local region are relatively gradual, it can be determined that the local region has a low degree of structural change.

[0259] Furthermore, the image transformation parameters also include diffusion coefficients corresponding to spatial locations. For multiple spatial coordinate locations in the current image frame, gradient information corresponding to each spatial coordinate location is obtained, and a mapping relationship between gradient information and diffusion coefficients is established based on the gradient information and the aforementioned conduction coefficients. Based on the mapping relationship, the diffusion coefficient corresponding to each spatial coordinate location is determined, thereby forming a spatially non-uniformly distributed image diffusion field.

[0260] In one implementation, the mapping relationship can determine the diffusion coefficient based on the gradient information corresponding to the spatial location, ensuring that the diffusion coefficient for spatial regions with higher structural changes is lower than that for spatial regions with lower structural changes. Therefore, different diffusion intensities can be used for different spatial locations, enabling the image transformation process to spatially adaptively adjust according to the degree of local structural change.

[0261] Furthermore, the aforementioned gradient information may include the local gradient mean μG and the local gradient standard deviation σG. The transmission coefficient K can be determined based on the local gradient mean μG and the local gradient standard deviation σG, for example:

[0262] Here, α is the sensitivity coefficient, used to adjust the influence of the local gradient standard deviation on the diffusion coefficient K. By determining the diffusion coefficient based on the local gradient mean and local gradient standard deviation, the diffusion coefficient can reflect the gradient distribution characteristics of the local region of the current image frame, and can be further used to determine the diffusion coefficient corresponding to different spatial locations.

[0263] After determining the aforementioned image transformation parameters, structural enhancement processing is performed on the current image frame using these parameters to obtain a structurally enhanced image frame. The specific process of performing structural enhancement processing using the conduction coefficient, time step, and diffusion coefficient corresponding to the spatial location will be further explained in subsequent embodiments; this implementation will not elaborate on this detail.

[0264] In some implementations, after obtaining the structure-enhanced image frame through step 420, the structure-enhanced image frame is subjected to image quality evaluation to obtain an image quality index that characterizes the quality status of the current structure-enhanced result, and the image quality index is compared with a preset quality condition.

[0265] Image quality metrics are used to characterize whether structure-enhanced image frames meet the image quality requirements for subsequent lesion detection and processing. Image quality metrics can be characterized from one or more dimensions such as structure preservation, edge sharpness, local contrast, and noise level; this disclosure does not limit the specific metrics. For details on the calculation methods of specific image quality metrics, please refer to the relevant description in the aforementioned image quality assessment module; these will not be repeated here.

[0266] In some implementations, quality evaluation can be performed separately for different spatial regions of the structure-enhanced image frame to obtain image quality indices corresponding to each spatial region, and the overall image quality state of the current structure-enhanced image frame can be determined based on the evaluation results of multiple spatial regions. Alternatively, the corresponding image quality indices can be determined directly based on the overall image features of the structure-enhanced image frame.

[0267] Preset quality conditions are used as the basis for determining whether a structure-enhanced image frame meets the input requirements for lesion detection. Preset quality conditions can correspond to one or more image quality indicators, and corresponding judgment conditions can be set for different image quality indicators. For example, it can be required that the noise level of the structure-enhanced image frame is not higher than a corresponding threshold, the contrast is not lower than a corresponding threshold, and the sharpness is not lower than a corresponding threshold; alternatively, the determination of whether the preset quality conditions are met can be based on the combined results of multiple image quality indicators, and this disclosure does not limit this.

[0268] After comparing the image quality index with preset quality conditions, the comparison results determine whether the current structure-enhanced image frame meets the quality requirements for subsequent lesion detection processing. When the image quality index meets the preset quality conditions, subsequent lesion detection processing can proceed; when the image quality index does not meet the preset quality conditions, step 440 is entered, and the image transformation parameters are corrected based on the deviation between the image quality index and the preset quality conditions.

[0269] Therefore, step 430 is not only used to output independent image quality evaluation results, but also to introduce the real-time quality status of the structure enhancement results into the subsequent processing flow, providing a basis for the feedback correction of image transformation parameters and the triggering of lesion detection processing, so that a correlation based on image quality status is formed between structure enhancement processing and subsequent lesion detection processing.

[0270] In some implementations, when step 430 determines that the image quality index of the structure-enhanced image frame does not meet the preset quality conditions, the image quality index that does not meet the preset quality conditions and its corresponding deviation are determined, and the image transformation parameter correction value is determined based on the deviation.

[0271] Deviation is used to characterize the difference between the actual image quality state of the current structure-enhanced image frame and the preset quality conditions. The corresponding deviation can be determined based on the quality conditions corresponding to different image quality indices. For example, for an image quality indicator with a quality requirement of not being lower than a preset value, the deviation can be determined based on the difference between the image quality indicator and the corresponding preset value; for an image quality indicator with a quality requirement of not being higher than a preset value, the deviation can be determined based on the difference between the corresponding preset value and the image quality indicator. In cases involving multiple image quality indices, the corresponding parameter correction amount can be determined based on the deviation corresponding to each image quality indicator, or the image transform parameter correction value can be determined based on the combination of multiple deviations.

[0272] In some implementations, image transformation parameter correction values ​​are used to adjust one or more image transformation parameters determined in step 420. These correction values ​​may include adjustments to one or more parameters among the conduction coefficient, time step, and diffusion coefficient corresponding to spatial location. The specific adjustment target can be determined based on image quality indicators that do not meet preset quality conditions. For example, when the image quality status indicates that the noise level of the current structure enhancement result does not meet preset requirements, correction values ​​can be determined for image transformation parameters related to noise suppression; when the image quality status indicates that the degree of structure preservation or edge sharpness does not meet preset requirements, correction values ​​can be determined for image transformation parameters related to structure preservation.

[0273] In some implementations, updating the image transformation parameters based on the image transformation parameter correction value can be achieved using an incremental adjustment method. For example, the current image transformation parameters can be calculated with the corresponding parameter correction value to obtain the updated image transformation parameters; alternatively, the parameter adjustment range can be determined according to the degree of deviation of the image quality index, so that a relatively large parameter adjustment amount is used when the image quality deviation is large, and a relatively small parameter adjustment amount is used when the image quality deviation is small. This disclosure does not limit this approach.

[0274] After updating the image transformation parameters, return to step 420, and use the updated image transformation parameters to re-perform structural enhancement processing on the current image frame to obtain an updated structurally enhanced image frame. Then, execute step 430 again to obtain the updated image quality index and compare it with the preset quality conditions.

[0275] In some implementations, the parameter correction and structural enhancement processes described above can be repeatedly performed on the same current image frame, ensuring that the current image frame undergoes at least one image quality feedback adjustment before entering the lesion detection model. When the updated image quality index meets the preset quality conditions, the parameter feedback adjustment for the current image frame ends, and the process proceeds to step 450; if the updated image quality index still does not meet the preset quality conditions, the image transformation parameters can be updated based on the deviation between the new image quality index and the preset quality conditions, and the structural enhancement process can be performed again.

[0276] In some implementations, to avoid continuous iteration of the processing due to continuous parameter correction, a preset stopping condition can be set. The preset stopping condition can be determined based on the maximum number of feedback adjustments, the change range of image quality indicators, or other parameters. When the preset stopping condition is met, the current parameter feedback adjustment process can be terminated, and the subsequent processing flow can be entered based on the current processing result. This disclosure does not limit this process.

[0277] Through the above processing, step 440 uses the image quality status after structural enhancement as feedback information and uses the deviation between the image quality index and the preset quality conditions to reverse-correct the image transformation parameters, so that the image transformation parameters can be dynamically updated according to the actual processing results of the current image frame. Thus, steps 420 to 440 form a feedback adjustment process of "structural enhancement - quality evaluation - deviation determination - parameter correction - re-enhancement", so that the current image frame can obtain a structural enhancement result that matches its actual image quality status before entering the lesion detection model.

[0278] In some implementations, after step 430 determines that the image quality index of the structure-enhanced image frame meets the preset quality conditions, the quality-evaluated structure-enhanced image frame is input into a pre-configured lesion detection model. The lesion detection model then performs lesion region detection on the structure-enhanced image frame and outputs the lesion boundary recognition result. For details on the specific method of determining the image quality index and the parameter feedback adjustment process when the preset quality conditions are not met, please refer to the relevant descriptions of steps 430 and 440 above, which will not be repeated here.

[0279] In some implementations, the lesion detection model includes a feature extraction layer. After inputting a structure-enhanced image frame into the lesion detection model, the feature extraction layer extracts features from the structure-enhanced image frame to obtain spatial features. Spatial features are used to characterize image structure information corresponding to different spatial locations in the structure-enhanced image frame, and may include one or more of the following: local texture features, grayscale variation features, edge features, spatial location features, and regional structural features at different scales.

[0280] In some implementations, the feature extraction layer can perform stepwise feature transformations on the input structure-enhanced image frame to obtain spatial features at different spatial scales. Features with higher spatial resolution can be used to characterize the local structure and details near the lesion boundary, while features with lower spatial resolution can be used to characterize the overall spatial structure and contextual information of the lesion region. By extracting spatial features at different levels, multi-level feature support can be provided for the localization and contour determination of the lesion boundary region.

[0281] In some implementations, the boundary contour of the lesion boundary region and the corresponding detection confidence score are determined based on the extracted spatial features to obtain the lesion boundary recognition result. The lesion boundary contour is used to characterize the spatial extent and boundary morphology of the lesion region in the structure-enhanced image frame, and the detection confidence score is used to characterize the reliability of the lesion detection model in recognizing the determined lesion boundary region.

[0282] In some implementations, the lesion boundary contour can be output as a bounding box, pixel-level segmentation contour, contour point set, topological curve, or other forms that can represent the spatial boundary of the lesion. For implementations using pixel-level segmentation, the probability that each pixel position in the structure-enhanced image frame belongs to the lesion region can be determined, and the boundary contour of the lesion region can be determined based on the probability. For implementations using bounding boxes, the position and size of the bounding box corresponding to the lesion region can be determined based on spatial features. This disclosure does not limit this approach.

[0283] In some implementations, the detection confidence level can be determined based on the prediction results of the lesion detection model for the candidate lesion region. For example, the lesion detection model can output the corresponding category probability, region probability, or other predicted values ​​that characterize the reliability of the detection results for the candidate lesion region, and determine the corresponding detection confidence level based on the predicted values.

[0284] When there are multiple candidate lesion regions, the boundary contour and detection confidence of each candidate lesion region can be determined separately, and the final lesion boundary recognition result can be determined according to the preset screening conditions.

[0285] In some implementations, the lesion detection model can simultaneously locate the lesion region and identify its boundaries based on the extracted spatial features, thus establishing a correlation between the lesion boundary contour and the corresponding detection confidence level. Subsequent processing can then determine the spatial location of the lesion in the ultrasound image based on its boundary contour and characterize the reliability of the identification result using the detection confidence level.

[0286] It should be understood that the specific network structure, feature extraction method, and lesion boundary output format of the lesion detection model can be configured according to the imaging characteristics of intraoperative ultrasound images and actual computing resources, and this disclosure does not limit them. The specific network structure, training method, and model compression method of the lesion detection model can be further explained in subsequent embodiments.

[0287] Through the above processing, step 450 uses structure-enhanced image frames that meet the preset quality conditions to identify lesion boundaries. First, spatial features that can reflect the spatial structure of the image are extracted. Then, based on the spatial features, the lesion boundary contour and detection confidence are determined, thereby obtaining lesion boundary identification results that include lesion spatial boundary information and recognition confidence information.

[0288] In some implementations, in step 460, the pixel spacing is determined according to the scanning depth and image resolution corresponding to the ultrasound image stream, and based on the determined pixel spacing, the lesion boundary identification result is transformed from the pixel coordinate domain to the physical space coordinate domain to obtain the spatial mapping result.

[0289] Specifically, the pixel spacing of the current image frame is determined based on the scanning depth and image resolution of the current image frame. The scanning depth characterizes the actual spatial extent of the ultrasound imaging field of view in the depth direction, the image resolution characterizes the number of pixels in the corresponding direction of the current image frame, and the pixel spacing establishes the scale correspondence between the pixel coordinates of the current image frame and the actual physical space.

[0290] In some implementations, the pixel spacing in the depth direction can be determined based on the scanning depth and the number of pixels in the depth direction of the current image frame, and the pixel spacing in the width direction can be determined based on the actual width of the ultrasonic imaging field of view and the number of pixels in the width direction of the current image frame. When the spatial dimensions of image pixels are inconsistent in different directions, the pixel spacing corresponding to different directions can be determined separately to establish a non-equidistant spatial scale relationship that matches the current image frame.

[0291] For example, if the actual imaging depth corresponding to the current image frame is D, and the number of pixels in the depth direction is N, then the pixel spacing in the depth direction can be determined according to the ratio between D and N. Similarly, the pixel spacing in the width direction can be determined according to the actual width of the ultrasound imaging field of view and the number of pixels in the width direction. The above pixel spacing can be dynamically determined according to the current scanning parameters and image output parameters of the ultrasound imaging system, and is not limited to a fixed value.

[0292] After determining the pixel spacing corresponding to the current image frame, the pixel coordinates in the lesion boundary recognition result are converted into physical space coordinates based on the pixel spacing. Specifically, for any pixel position on the lesion boundary, the physical space position corresponding to that pixel position can be determined based on the coordinate value of that pixel position relative to the origin of the image coordinate system and the pixel spacing in the corresponding direction.

[0293] In some implementations, for the lesion boundary location with pixel coordinates (x, y), the pixel coordinates can be scaled according to the pixel spacing in the width direction and the pixel spacing in the depth direction to obtain the corresponding physical space coordinates. For multiple pixel coordinates contained in the lesion boundary, they can be transformed one by one according to the same transformation relationship to obtain the corresponding position of the lesion boundary in the physical space coordinate domain.

[0294] Furthermore, after completing the conversion from pixel coordinates to physical space coordinates, the physical space dimensions corresponding to the lesion boundary can be determined based on the converted physical space coordinates of the lesion boundary. For example, the length, width, or other spatial dimensions of the lesion can be determined based on the differences in physical space coordinates between different locations on the lesion boundary; for closed lesion boundaries, the corresponding physical space range can also be determined based on their physical space coordinates.

[0295] Therefore, the spatial mapping result can include information such as the physical spatial coordinates and physical spatial dimensions corresponding to the lesion boundary. Through the above processing, the pixel domain recognition result output by the lesion detection model is transformed into the physical spatial coordinate domain corresponding to the actual imaging space.

[0296] In some implementations, in step 470, based on the spatial mapping result obtained in step 460, a spatial correspondence is established between the lesion boundary recognition result and the current image frame, and based on the established spatial correspondence, the lesion boundary recognition result and the current image frame are spatially aligned and superimposed for display.

[0297] Specifically, the spatial mapping result includes the location and spatial dimensions of the lesion boundary in the physical spatial coordinate domain. Based on the spatial mapping result, a mapping relationship can be established between the physical spatial coordinates of the lesion boundary and the corresponding display position in the current image frame, thereby determining the corresponding display position of the lesion boundary recognition result in the current image frame.

[0298] In some implementations, a rendering graphics layer corresponding to the current image frame is generated based on the spatial mapping result. The rendering graphics layer is used to carry the visualization information corresponding to the lesion boundary recognition result, and may include the lesion boundary contour, lesion region identifier, detection confidence identifier, or other graphic information corresponding to the lesion boundary recognition result.

[0299] Furthermore, based on the spatial correspondence between the lesion boundary recognition result and the current image frame, the lesion boundary contour in the rendered graphics layer is positioned to the corresponding display position of the current image frame, so that the lesion boundary contour in the rendered graphics layer and the corresponding lesion area in the current image frame remain spatially consistent.

[0300] In some implementations, spatial alignment may include coordinate system transformation, position mapping, or scale adjustment of the coordinates corresponding to the lesion boundary recognition result, so that the display coordinates of the lesion boundary recognition result match the display coordinates of the current image frame. When the display size of the current image frame is inconsistent with the image acquisition size, the rendering graphics layer may also be scaled according to the display size to maintain the spatial correspondence between the lesion boundary recognition result and the current image frame.

[0301] After spatial alignment is completed, the rendered graphics layer is fused with the current image frame and synchronously output to the display terminal. The display terminal can continuously refresh the fused image according to the display sequence of the current image frame, so that the lesion boundary recognition result is updated synchronously with the image frames in the ultrasound image stream.

[0302] In some implementations, the rendered graphics layer can be fused with the current image frame using a transparent overlay method, allowing the operator to simultaneously observe the tissue structures in the ultrasound image and the corresponding lesion boundary identification results. For continuously acquired ultrasound image frames, corresponding spatial relationships can be established for each image frame and the corresponding rendered graphics layer can be updated, thereby enabling the lesion boundary identification results to continuously change with the ultrasound image stream.

[0303] Therefore, by establishing a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, and further generating, aligning and overlaying the rendering graphics layer, the lesion boundary recognition result can be displayed in a spatial position that matches the current ultrasound image, providing the operator with lesion boundary navigation information corresponding to the real-time intraoperative ultrasound image.

[0304] In some implementations, in step 480, while performing structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display on the current image frame, the next image frame in the ultrasound image stream is acquired in parallel, and the next image frame is used as the current image frame for subsequent processing. Then, the process returns to step 420 to continue performing local spatial structural feature extraction, image transformation parameter determination, and structural enhancement processing.

[0305] Furthermore, in some embodiments, the intraoperative navigation method also includes state scheduling of ultrasound image stream acquisition, structural enhancement processing, lesion boundary identification, pixel-based spatial transformation, and overlay display according to a preset time sequence, so that multiple consecutive image frames form a pipelined processing with overlapping time at different processing stages.

[0306] Specifically, the intraoperative navigation process can be divided into multiple interconnected processing stages, each corresponding to ultrasound image acquisition, structural enhancement, lesion boundary identification, spatial transformation, and overlay display. The state of each processing stage is scheduled according to a preset time sequence, ensuring that once an image frame enters a subsequent processing stage, the previous processing stage can continue processing subsequent image frames, thus avoiding sequential execution of each processing stage in a single-frame serial manner.

[0307] For example, when the first image frame is acquired and enters the structural enhancement processing stage, the ultrasound image stream can continue to acquire the second image frame; when the first image frame enters the lesion boundary recognition stage, the second image frame can simultaneously undergo structural enhancement processing, and the ultrasound image stream can continue to acquire the third image frame. Furthermore, when the first image frame enters the spatial transformation or overlay display stage, the second image frame can enter the lesion boundary recognition stage, the third image frame can enter the structural enhancement processing stage, and subsequent image frames can continue to be acquired.

[0308] Therefore, multiple consecutive image frames are in different processing stages on the timeline, and these processing stages overlap in time. This temporal overlap does not require different processing stages to execute the same image frame simultaneously, but rather means that different image frames can proceed simultaneously in different processing stages.

[0309] In some implementations, state scheduling can determine the current state transition based on the processing completion status of each processing stage, the availability status of the next stage, and the temporal relationship between image frames. For example, when the current image frame completes a certain processing stage, the image frame can be sent to the next processing stage, and the current processing stage can be released to receive the next image frame; when the next processing stage is temporarily unavailable, the image frame to be processed can be temporarily stored and processed again when the next processing stage becomes available.

[0310] In some implementations, corresponding buffer areas or data transmission channels can be configured for different processing stages to enable multiple image frames in different processing stages to be transmitted and processed in isolation from each other. Each processing stage performs data handover according to the processing status of the corresponding image frame, thereby maintaining the orderly transmission of consecutive image frames between different processing stages.

[0311] In some implementations, the preset timing can be determined based on the acquisition cycle of the ultrasound image stream, the structural enhancement processing cycle, the lesion boundary identification processing cycle, the spatial transformation processing cycle, and the overlay display cycle. When the processing cycles of different processing stages are inconsistent, the entry timing of image frames can be scheduled according to the processing capacity of each processing stage, so that stages with longer processing cycles can continuously acquire image frames to be processed, while avoiding unnecessary idle time for stages with shorter processing cycles due to waiting for the previous stage to complete.

[0312] Through the aforementioned state scheduling, the acquisition of ultrasound image streams, structural enhancement, lesion boundary identification, pixel-based spatial transformation, and overlay display are no longer executed sequentially for the same image frame. Instead, multiple consecutive image frames enter different processing stages and form a pipelined processing process with overlapping time.

[0313] Therefore, step 480 further establishes a pipeline processing relationship between consecutive image frames based on the single-frame processing link formed in steps 420 to 470, so that the next image frame can start processing in a timely manner after the previous image frame enters the subsequent processing stage, thereby realizing continuous processing of intraoperative ultrasound image stream and continuous output of navigation results.

[0314] In the above-mentioned pipeline processing, for each image frame acquired subsequently, the same processing flow as the current image frame can be followed to sequentially perform local spatial structure feature extraction, image transformation parameter determination, structure enhancement, image quality evaluation, lesion boundary identification, spatial transformation, spatial alignment and overlay display, thereby forming a cyclic processing process for the continuous ultrasound image stream.

[0315] In summary, the embodiments of this disclosure form a continuous intraoperative navigation processing flow through steps 410 to 480: First, intraoperative ultrasound image streams of brain tissue are acquired, and image transformation parameters are determined based on local spatial structural features for the current image frame to perform structural enhancement processing; then, the structural enhancement results are judged through image quality evaluation, and if the preset quality conditions are not met, the image transformation parameters are corrected based on quality deviation until the structurally enhanced image frame meets the preset quality conditions; after the preset quality conditions are met, the structurally enhanced image frame is input into the lesion detection model to obtain lesion boundary recognition results, and the lesion boundary recognition results are converted to the physical space coordinate domain according to the pixel spacing determined by the scanning depth and image resolution, thereby establishing a spatial correspondence with the current image frame and performing spatial alignment and overlay display. Simultaneously, subsequent image frames are acquired in parallel during the processing of the current image frame, and multiple consecutive image frames are processed in a pipeline with overlapping time at different processing stages.

[0316] Therefore, the present invention integrates adaptive structural enhancement based on local spatial structure, parameter feedback based on image quality, lesion boundary recognition, pixel coordinate to physical space coordinate transformation, spatial alignment and overlay display, and pipelined processing of continuous image frames into a collaborative processing flow, providing a continuous processing foundation for lesion boundary recognition and navigation display in intraoperative ultrasound images.

[0317] Figure 5 A modular structure diagram of the intraoperative navigation device 500 provided in this embodiment is shown. The intraoperative navigation device 500 can be deployed in an intraoperative ultrasound imaging system and used to execute the intraoperative navigation method in the foregoing embodiments to achieve real-time assisted navigation and visualization of brain tissue lesion areas.

[0318] like Figure 5 As shown, the intraoperative navigation device 500 includes an ultrasound image acquisition module 510, an image enhancement module 520, a lesion identification module 530, a spatial mapping module 540, and a display module 550.

[0319] The ultrasound image acquisition module 510 is used to acquire intraoperative ultrasound image streams of brain tissue. The ultrasound image stream includes multiple image frames acquired continuously in chronological order, which are used to reflect the dynamic imaging information of brain tissue during surgery.

[0320] The image enhancement module 520 is used to extract the local spatial structure features of the current image frame in the ultrasound image stream, determine the image transformation parameters corresponding to the current image frame based on the extracted local spatial structure features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame.

[0321] In some implementations, the image enhancement module 520 determines the image transformation parameters corresponding to the current image frame based on the local image features of the current image frame, so that the structure enhancement processing can be adjusted according to the spatial structure distribution of the current image frame, rather than using fixed parameters that are unrelated to the image content.

[0322] In some implementations, the image transformation parameters include a conduction coefficient and a time step. Specifically, the image enhancement module 520 determines the conduction coefficient based on the mean and standard deviation of the local gradients of the current image frame, and determines the time step based on the local noise level of the current image frame, thereby obtaining image transformation parameters corresponding to the local spatial structure features and noise state of the current image frame.

[0323] Furthermore, the image enhancement module 520 is also used to acquire the image quality index of the structure-enhanced image frame and compare the image quality index with preset quality conditions. When the image quality index does not meet the preset quality conditions, the image enhancement module 520 determines the image transformation parameter correction value based on the deviation between the image quality index and the preset quality conditions, updates the image transformation parameters based on the image transformation parameter correction value, reuses the updated image transformation parameters to perform structure enhancement processing on the current image frame, and evaluates the image quality of the obtained structure-enhanced image frame again. Through the above processing, the image enhancement module 520 can adjust the image transformation parameters based on the image quality of the structure enhancement result.

[0324] The lesion recognition module 530 is used to input the structure-enhanced image frame into the lesion detection model and output the lesion boundary recognition result when the image quality index corresponding to the structure-enhanced image frame meets the preset quality conditions. The lesion boundary recognition result is used to characterize the lesion boundary information in the structure-enhanced image frame.

[0325] In some implementations, the lesion identification module 530 calls a pre-configured lesion detection model to process the structure-enhanced image frame and determines the lesion boundary identification result based on the detection result output by the lesion detection model. The specific network structure and processing method of the lesion detection model can be configured according to the actual application scenario, and this disclosure does not limit it.

[0326] The spatial mapping module 540 is used to determine the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and to transform the lesion boundary identification result from the pixel coordinate domain to the physical space coordinate domain based on the determined pixel spacing to obtain the spatial mapping result.

[0327] In some implementations, the spatial mapping module 540 determines the pixel spacing of the current image frame based on the scanning depth and image resolution of the current image frame, and establishes a scale correspondence between pixel coordinates and actual physical space based on the pixel spacing. Further, based on the scale correspondence, the spatial mapping module 540 converts the pixel coordinates in the lesion boundary recognition result into physical space coordinates, and determines the physical space size corresponding to the lesion boundary based on the converted spatial coordinates, thereby obtaining the spatial mapping result.

[0328] The display module 550 is used to establish a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, and to spatially align and overlay the lesion boundary recognition result with the current image frame based on the spatial correspondence.

[0329] In some implementations, the display module 550 determines the spatial positional correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, generates display data corresponding to the current image frame based on the spatial positional correspondence, maps the lesion boundary recognition result to the position corresponding to the current image frame, and displays it overlaid.

[0330] Furthermore, the display module 550 can dynamically update the overlay display results according to the image frame update process of the ultrasound image stream, so that the lesion boundary identification results maintain a spatial correspondence with the corresponding current image frame, and provide the operator with lesion boundary navigation information corresponding to the current intraoperative ultrasound image.

[0331] In some embodiments, the intraoperative navigation device 500 supports a parallel processing mechanism for continuous image frames. While performing structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display on the current image frame, the ultrasound image acquisition module 510 acquires the next image frame in the ultrasound image stream in parallel and uses it as the current image frame for subsequent processing. The image enhancement module 520, lesion identification module 530, spatial mapping module 540, and display module 550 continue to perform corresponding processing on the next image frame according to the aforementioned processing flow, thereby forming a cyclic processing procedure for the continuous ultrasound image stream.

[0332] Furthermore, the intraoperative navigation device 500 coordinates the acquisition of ultrasound image streams, structural enhancement processing, lesion boundary identification, spatial transformation, and overlay display according to a preset time sequence, so that multiple consecutive image frames are in different processing stages and form temporal overlap processing between different processing stages.

[0333] Through the aforementioned modular and collaborative configuration, the intraoperative navigation device 500 can adaptively enhance the structure of continuously acquired intraoperative ultrasound images of brain tissue based on the local spatial structural features of the current image frame. After the image quality meets preset quality conditions, it performs lesion boundary recognition, then converts the recognition results to the physical space coordinate domain and spatially aligns and overlays them with the current image frame. Simultaneously, through parallel processing of continuous image frames, image acquisition and subsequent processing overlap in time, thus forming a continuous intraoperative ultrasound image navigation processing flow.

[0334] It should be noted that the ultrasound image acquisition module 510, image enhancement module 520, lesion identification module 530, spatial mapping module 540, and display module 550 in the intraoperative navigation device 500 described above correspond to the relevant processing steps of the intraoperative navigation method in the method embodiment. Each of these modules corresponds to the corresponding method step in terms of functional logic, processing flow, and data processing objects, and is used to realize the acquisition of ultrasound image streams, structural enhancement, image quality feedback, lesion boundary identification, spatial mapping, and spatial alignment and overlay display. However, the specific implementation of each module is not limited to the above-described embodiments.

[0335] It should be noted that the aforementioned intraoperative navigation device 500 can be implemented using hardware, software, or a combination of both. Each module can be set independently or implemented collaboratively by the same processor or multiple processors. For example, each module can be deployed in an intraoperative ultrasound imaging device, an edge computing device, a medical image processing workstation, or other computing devices with image processing capabilities; this disclosure does not limit this.

[0336] Furthermore, the above modules can serve as functional execution units in a computer system, implemented through a set of computer-executable instructions, and run in server devices, edge computing nodes, medical image processing engines, database processing units, or distributed computing nodes to complete corresponding data processing functions such as image acquisition, structural enhancement, lesion identification, and spatial mapping display, thereby realizing real-time collaborative processing and result output of the intraoperative navigation process.

[0337] In some implementations, the above modules can be implemented as software functional modules, such as deployed as program instructions or service components; they can also be implemented as hardware circuits, such as through application-specific integrated circuits (ASICs), programmable logic devices (FPGAs), or memory controllers; or they can be implemented in a hardware-software co-operation manner, that is, the processor executes program instructions stored in the storage medium to complete the corresponding function, and this disclosure does not limit this.

[0338] Those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "platform."

[0339] Based on the same inventive concept, this disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory is used to store computer-executable instructions that can be executed by the processor.

[0340] In some implementations, the processor is configured to implement the intraoperative navigation method in any of the above embodiments by executing computer-executable instructions.

[0341] Since the technical problem solved and the implementation principle of this electronic device embodiment correspond to those of the above method embodiment, the execution process and data processing logic of each step in the electronic device can be found in the description of the above method embodiment, and will not be repeated here.

[0342] The following reference Figure 6 To describe an electronic device 600 according to such an embodiment of the present disclosure. Figure 6 The electronic device 600 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0343] like Figure 6 As shown, the electronic device 600 is presented in the form of a general-purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including storage unit 620 and processing unit 610), a display unit 640, etc.

[0344] The storage unit stores program code, which can be executed by the processing unit 610 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 610 can perform the above-described steps. Figure 4 The steps of the method shown.

[0345] Storage unit 620 may include readable media in the form of volatile storage units, such as random access memory (RAM) 621 and / or cache memory 622, and may further include read-only memory (ROM) 623.

[0346] Storage unit 620 may also include a program / utility 624 having a set (at least one) of program modules 625, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0347] Bus 630 can represent one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus architectures. Electronic device 600 can also communicate with one or more external devices 670 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable user interaction with electronic device 600, and / or with any device that enables electronic device 600 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed through input / output (I / O) interface 650. Furthermore, electronic device 600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 660. As shown, network adapter 660 communicates with other modules of electronic device 600 via bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0348] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0349] In particular, according to embodiments of this disclosure, the process described above with reference to the flowchart can be implemented as a computer program product, which includes a computer program that, when executed by a processor, causes the processor to perform the intraoperative navigation method as described in any of the above embodiments.

[0350] In an exemplary embodiment of this disclosure, a computer-readable storage medium is also provided, on which a program product is stored. The program product includes program code, which, when executed on a terminal device, server device, or other computing device, causes the device to perform the steps of the intraoperative navigation method according to various embodiments of this disclosure as described in the "Intraoperative Navigation Method" section of this specification.

[0351] In some implementations, the computer-readable storage medium may be implemented using a non-volatile storage medium capable of storing program code, such as, but not limited to, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0352] In some embodiments, the program code used to perform the operations of the embodiments of this disclosure may be written in any combination of one or more programming languages. The programming languages ​​may include object-oriented programming languages, such as Java and C++, or conventional procedural programming languages, such as C or other similar programming languages.

[0353] In practice, the program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can establish a connection with the user's computing device via a local area network (LAN), a wide area network (WAN), or other types of networks.

[0354] It should be noted that although the devices, modules, or units used to perform the relevant processes are divided in the above embodiments, such division is not mandatory. According to the embodiments of this disclosure, the functions of two or more modules or units can be integrated into one module or unit; the functions of one module or unit can also be further divided into multiple modules or units for implementation.

[0355] Furthermore, although the method steps in the embodiments of this disclosure are described in a specific order in the accompanying drawings, this order does not constitute a limitation on the order in which the steps are performed. Unless the context explicitly requires it, the steps may be performed in a different order, or some steps may be combined, split, or adjusted, depending on the actual application needs.

[0356] Based on the above description of the embodiments, those skilled in the art will understand that the technical solutions provided by the embodiments of this disclosure can be implemented by software or by combining software with necessary hardware. Accordingly, the technical solutions of the embodiments of this disclosure can be implemented in the form of a software product. The software product can be stored in a computer-readable storage medium and includes program code for causing a computing device to execute the in-process navigation method of the embodiments of this disclosure.

[0357] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

Claims

1. An intraoperative navigation method, characterized in that, include: Acquiring intraoperative ultrasound images of brain tissue; For the current image frame in the ultrasound image stream, local spatial structure features of the current image frame are extracted, and image transformation parameters corresponding to the current image frame are determined based on the local spatial structure features. The image transformation parameters are then used to perform structural enhancement processing on the current image frame to obtain a structurally enhanced image frame. The image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean local gradient and the standard deviation local gradient of the current image frame, and the time step is determined based on the local noise level of the current image frame. Obtain the image quality index of the structure-enhanced image frame, and compare the image quality index with preset quality conditions; When the image quality index does not meet the preset quality condition, an image transformation parameter correction value is determined based on the deviation between the image quality index and the preset quality condition. The image transformation parameter is updated based on the image transformation parameter correction value, and the process of performing structural enhancement processing on the current image frame using the image transformation parameter is returned to obtain a structurally enhanced image frame. When the image quality index reaches the preset quality condition, the structure-enhanced image frame is input into the lesion detection model, and the lesion boundary recognition result is output. The pixel spacing is determined based on the scanning depth and image resolution corresponding to the ultrasound image stream, and the lesion boundary identification result is transformed from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result; Based on the spatial mapping result, a spatial correspondence is established between the lesion boundary recognition result and the current image frame, and the lesion boundary recognition result and the current image frame are spatially aligned and superimposed based on the spatial correspondence. During the process of performing the structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display on the current image frame, the next image frame in the ultrasound image stream is acquired in parallel as the current image frame. The local spatial structural features of the current image frame are extracted from the current image frame in the ultrasound image stream, and the image transformation parameters corresponding to the current image frame are determined based on the local spatial structural features. The structural enhancement processing is then performed on the current image frame using the image transformation parameters.

2. The intraoperative navigation method of claim 1, wherein, The step of extracting local spatial structure features of the current image frame in the ultrasound image stream includes: The current image frame is divided into multiple local regions; The gradient information of each local region is calculated, and the structural change characteristics corresponding to each local region are determined based on the gradient information. The structural change features are used to characterize the degree of edge structural change in the corresponding local region.

3. The intraoperative navigation method of claim 2, wherein, The image transformation parameters also include a diffusion coefficient corresponding to the spatial location; The step of determining the image transformation parameters corresponding to the current image frame based on the local spatial structure features includes: For multiple spatial coordinate positions in the current image frame, obtain the gradient information corresponding to each spatial coordinate position; A mapping relationship between the gradient information and the diffusion coefficient is established based on the gradient information and the diffusion coefficient; Based on the mapping relationship, the diffusion coefficient corresponding to each of the spatial coordinate positions is determined to form a spatially non-uniformly distributed image diffusion field; Among them, the diffusion coefficient corresponding to the spatial region with a higher degree of structural change is smaller than that corresponding to the spatial region with a lower degree of structural change.

4. The intraoperative navigation method according to claim 3, characterized in that, The gradient information includes the local gradient mean μG and the local gradient standard deviation σG; The step of determining the image transformation parameters corresponding to the current image frame based on the local spatial structure features includes: The conduction coefficient K is determined based on the mean local gradient μG and the standard deviation local gradient σG, where: Where α is the sensitivity coefficient.

5. The intraoperative navigation method of claim 1, wherein, The step of inputting the structure-enhanced image frame into the lesion detection model and outputting the lesion boundary recognition result includes: Spatial features in the structure-enhanced image frame are extracted using the feature extraction layer of the lesion detection model; Based on the spatial features, the boundary contour of the lesion boundary region and the corresponding detection confidence level are determined to obtain the lesion boundary recognition result.

6. The intraoperative navigation method of claim 1, wherein, The pixel spacing is determined based on the scanning depth and image resolution corresponding to the ultrasound image stream, and the lesion boundary identification result is transformed from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result, including: The pixel spacing of the current image frame is determined based on the scanning depth and the image resolution of the current image frame. Based on the pixel spacing, the pixel coordinates in the lesion boundary recognition result are converted into physical space coordinates, and the physical space size corresponding to the lesion boundary is determined to obtain the spatial mapping result.

7. The intraoperative navigation method of claim 6, wherein, The step of spatially aligning and overlaying the lesion boundary identification result with the current image frame based on the spatial correspondence includes: Based on the spatial mapping result, a rendering graphics layer corresponding to the current image frame is generated; The rendered graphics layer is spatially aligned with the current image frame and synchronously output to the display terminal.

8. The intraoperative navigation method of claim 1, wherein, The intraoperative navigation method also includes: The acquisition of the ultrasound image stream, the structural enhancement processing, the lesion boundary identification, the spatial transformation based on the pixel spacing, and the overlay display are scheduled according to a preset time sequence, so that multiple consecutive image frames form a pipeline processing with overlapping time at different processing stages.

9. An intraoperative navigation system characterized by, include: An ultrasound probe is used to acquire intraoperative ultrasound image streams of brain tissue. The main control unit, connected to the ultrasound probe, is used to extract the local spatial structure features of the current image frame in the ultrasound image stream, determine the image transformation parameters corresponding to the current image frame based on the local spatial structure features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame. The image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean local gradient and the standard deviation local gradient of the current image frame, and the time step is determined based on the local noise level of the current image frame. A medical vision computing unit, communicatively connected to the main control unit, is used to acquire the image quality index of the structure-enhanced image frame. When the image quality index does not meet a preset quality condition, it determines an image transformation parameter correction value based on the deviation between the image quality index and the preset quality condition, and transmits the image transformation parameter correction value to the main control unit so that the main control unit updates the image transformation parameters and returns to perform structure enhancement processing on the current image frame using the image transformation parameters. The medical vision computing unit is also used to input the structure-enhanced image frame into a lesion detection model when the image quality index meets the preset quality condition, output the lesion boundary recognition result, and convert the lesion boundary recognition result from the pixel coordinate domain to the physical space coordinate domain according to the scanning depth and image resolution corresponding to the ultrasound image stream to obtain a spatial mapping result. A display terminal, connected to the medical vision computing unit, is used to spatially align and overlay the lesion boundary recognition result with the current image frame based on the spatial mapping result. The main control unit is also used to, in the process of performing the structural enhancement processing, lesion boundary identification, spatial alignment and overlay display on the current image frame, concurrently trigger the ultrasound probe to acquire the next image frame as the current image frame, and return to perform structural enhancement processing on the current image frame using the image transformation parameters.

10. The intraoperative navigation system according to claim 9, characterized in that, The main control unit also includes a production line control unit; The pipeline control unit is configured to schedule the ultrasound probe, the main control unit, the medical vision computing unit, and the display terminal according to a preset timing sequence, so that multiple consecutive image frames form a pipeline processing with overlapping time at different processing stages.

11. The intraoperative navigation system of claim 10, wherein, The pipeline control unit is equipped with a buffer queue mechanism; While the medical vision computing unit processes the current image frame, the main control unit triggers the ultrasound probe to acquire the next image frame in parallel through the buffer queue mechanism, and stores the next image frame into the buffer queue.

12. The intraoperative navigation system of claim 9, wherein, A hardware-level quality feedback closed-loop link is configured between the main control unit and the medical vision computing unit. The hardware-level quality feedback closed-loop link is configured to transmit the image transformation parameter correction value to the main control unit through a bidirectional control bus between the main control unit and the medical vision computing unit, so that the main control unit updates the diffusion coefficient in the image transformation parameters and returns to perform structural enhancement processing on the current image frame using the image transformation parameters.

13. An intraoperative navigation device, characterized in that include: Ultrasound image acquisition module, used to acquire intraoperative ultrasound image streams of brain tissue; An image enhancement module is used to extract local spatial structure features of the current image frame in the ultrasound image stream, determine image transformation parameters corresponding to the current image frame based on the local spatial structure features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame. The image transformation parameters include a conduction coefficient and a time step. The conduction coefficient is determined based on the mean and standard deviation of the local gradient of the current image frame, and the time step is determined based on the local noise level of the current image frame. The module also acquires an image quality index for the structurally enhanced image frame and compares the image quality index with a preset quality condition. If the image quality index does not meet the preset quality condition, a correction value for the image transformation parameters is determined based on the deviation between the image quality index and the preset quality condition. The image transformation parameters are updated based on the correction value, and the module returns to the previous state, where structural enhancement processing is performed on the current image frame using the image transformation parameters to obtain the structurally enhanced image frame. The lesion recognition module is used to input the structure-enhanced image frame into the lesion detection model and output the lesion boundary recognition result when the image quality index reaches the preset quality condition; The spatial mapping module is used to determine the pixel spacing based on the scanning depth and image resolution corresponding to the ultrasound image stream, and to convert the lesion boundary identification result from the pixel coordinate domain to the physical space coordinate domain based on the pixel spacing to obtain the spatial mapping result; The display module is used to establish a spatial correspondence between the lesion boundary recognition result and the current image frame based on the spatial mapping result, and to spatially align and overlay the lesion boundary recognition result and the current image frame based on the spatial correspondence. The ultrasound image acquisition module is further configured to, during the process of performing the structural enhancement processing, lesion boundary identification, spatial alignment, and overlay display on the current image frame, simultaneously acquire the next image frame in the ultrasound image stream as the current image frame, and return to extract the local spatial structural features of the current image frame from the ultrasound image stream, determine the image transformation parameters corresponding to the current image frame based on the local spatial structural features, and perform structural enhancement processing on the current image frame using the image transformation parameters to obtain a structurally enhanced image frame.

14. An electronic device, comprising: include: processor; as well as A memory in which executable instructions of the processor are stored; The processor is configured to execute the intraoperative navigation method of any one of claims 1 to 8 by executing the executable instructions.

15. A computer readable storage medium for storing a program, characterized in that, When the program is executed, it implements the intraoperative navigation method as described in any one of claims 1 to 8.