Medical image recognition method and system based on deep learning
By generating voxel-level attention maps and access heat fields through deep learning, the segmentation and storage methods of liver CT 3D volumetric data are optimized, solving the problem of low reading efficiency in existing technologies and achieving efficient data access and management.
Patent Information
- Application Number
- CN202611644463.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
Existing medical image processing systems use a uniform block storage method when processing liver CT 3D volume data, resulting in low reading efficiency. It is difficult to differentiate the block storage according to the degree of attention of different spatial regions, leading to the reading of non-target voxel data or reloading of data blocks.
A deep learning-based approach is used to generate voxel-level attention maps and access heat fields. High-heat regions are divided by high-heat envelope surfaces, and fine-grained and coarse-grained partitioning is performed. Data blocks are allocated to the cache layer or persistent storage layer according to access heat values to optimize data block management.
It improves the efficiency of reading three-dimensional volumetric data of liver CT, reduces the reading of non-target voxel data, optimizes data block management overhead, and increases the possibility of reading local data.
Smart Images

Figure CN123141998A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to a medical image recognition method and system based on deep learning. Background Technology
[0002] Liver CT 3D volumetric data is the data foundation for medical image recognition, 3D volume rendering, multiplanar reconstruction, and image registration. As the spatial resolution of CT equipment increases, the number of voxels contained in liver CT 3D volumetric data increases accordingly. When performing local image analysis, switching observation positions, or adjusting sections, medical image processing systems need to read volumetric data within the corresponding spatial range between the storage medium and the data processing unit according to the current processing area.
[0003] Existing medical image processing systems typically store liver CT 3D volumetric data using a uniform block partitioning approach. This involves dividing the liver CT 3D volumetric data into multiple data blocks with fixed block side lengths and employing a uniform cache management method for each block. Because different spatial regions use the same data block size and storage priority, this existing approach may struggle to differentiate block partitioning and storage based on the level of importance of different spatial regions during image analysis. When a data access request corresponds only to a local spatial region, the system may read voxel data unrelated to the target voxel range or require reloading the required data blocks from persistent storage. Therefore, the existing uniform block partitioning and unified caching method suffers from low efficiency in reading liver CT 3D volumetric data. Summary of the Invention
[0004] This application provides a deep learning-based medical image recognition method and system that can improve the possibility of reading frequently accessed data blocks from the cache level.
[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:
[0006] Firstly, a deep learning-based medical image recognition method, the method comprising:
[0007] Three-dimensional volumetric data of liver CT is acquired, and the three-dimensional volumetric data of liver CT is input into a deep learning image analysis model to obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process.
[0008] Based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, the access popularity value of each voxel is determined, and the access popularity field is obtained.
[0009] The heat threshold is determined based on the heat peak of the heat field, and the isosurfaces in the heat field where the heat value is equal to the heat threshold are extracted to obtain the high heat envelope surface. The voxel region enclosed by the high heat envelope surface is defined as the high heat region.
[0010] A reference envelope is constructed based on the spatial range of the high-temperature envelope surface in the three coordinate axes. The envelope fit is determined based on the ratio between the volume of the high-temperature region and the volume of the reference envelope. The minimum block side length is determined based on the envelope fit.
[0011] The high-temperature region is divided into fine-grained segments based on the minimum block side length, and the voxel region outside the high-temperature region is divided into coarse-grained segments based on the maximum block side length which is greater than the minimum block side length, resulting in a block division result consisting of multiple data blocks.
[0012] Based on the average access frequency of each data block, each data block is allocated to the corresponding cache level or persistent storage layer to obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, the target voxel range is determined, and the target data block intersecting with the target voxel range is read from the storage result and output.
[0013] Secondly, deep learning-based medical image recognition systems include:
[0014] The attention determination module is used to acquire liver CT three-dimensional volume data, input the liver CT three-dimensional volume data into a deep learning image analysis model, and obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process.
[0015] The heat field generation module is used to determine the access heat value of each voxel based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, and obtain the access heat field.
[0016] The region determination module is used to determine the heat threshold based on the heat peak of the access heat field, and extract the isosurfaces in the access heat field where the access heat value is equal to the heat threshold to obtain the high heat envelope surface, and determine the voxel region enclosed by the high heat envelope surface as the high heat region.
[0017] The block processing module is used to construct a reference envelope based on the spatial range of the high-heat envelope surface in the three coordinate axis directions, determine the envelope fit degree based on the ratio between the volume of the high-heat region and the volume of the reference envelope, and determine the minimum block side length based on the envelope fit degree.
[0018] The storage management module is used to perform fine-grained partitioning of the high-heat region based on the minimum block side length, and coarse-grained partitioning of the voxel region outside the high-heat region based on the maximum block side length which is greater than the minimum block side length, to obtain a block result consisting of multiple data blocks.
[0019] The access response module is used to allocate each data block to the corresponding cache level or persistent storage layer based on the average access popularity value of each data block, and obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, it determines the target voxel range, reads the target data block that intersects with the target voxel range from the storage result and outputs it.
[0020] The above-mentioned solution in this application includes at least the following beneficial effects:
[0021] This application inputs liver CT 3D volumetric data into a deep learning image analysis model to obtain a voxel-level attention map, and generates an access heat field based on the attention value of each voxel and the distance between each voxel and the peak attention voxel. Since the access heat field reflects both the degree of attention a voxel receives during image analysis and the spatial position of the voxel relative to the peak attention voxel, it can form an access heat distribution corresponding to the voxel position of the liver CT 3D volumetric data, providing a processing basis for subsequent differentiated segmentation and hierarchical storage.
[0022] This application determines the high-heat envelope and high-heat region based on the access heat field, determines the envelope fit based on the ratio between the volume of the high-heat region and the volume of the reference envelope, and determines the minimum block edge length based on the envelope fit. Since the minimum block edge length is used to perform fine-grained subdivision of the high-heat region and a larger maximum block edge length is used to perform coarse-grained subdivision of the voxel region outside the high-heat region, when reading local data within the high-heat region, it can reduce the amount of non-target voxel data read along with the target data block, and at the same time reduce the number of data blocks outside the high-heat region, thus balancing the granularity of local data reading and the overhead of data block management.
[0023] This application allocates each data block to a corresponding cache level or persistent storage level based on the average access popularity value of each data block, and reads the target data block that intersects with the target voxel range when a data access request is received. Since data blocks with different average access popularity values can be allocated to different storage levels, and the data reading range is determined by the target voxel range, the possibility of reading high-access-population data blocks from the cache level can be increased, and the reading of data unrelated to the target voxel range can be reduced, thereby improving the reading efficiency of liver CT three-dimensional volume data. Attached Figure Description
[0024] Figure 1 This is a flowchart illustrating a deep learning-based medical image recognition method provided in an embodiment of the present invention.
[0025] Figure 2 This is a schematic diagram of a deep learning-based medical image recognition system provided in an embodiment of the present invention. Detailed Implementation
[0026] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0027] like Figure 1 As shown, embodiments of the present invention propose a deep learning-based medical image recognition method, the method comprising the following steps:
[0028] Three-dimensional volumetric data of liver CT is acquired, and the three-dimensional volumetric data of liver CT is input into a deep learning image analysis model to obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process.
[0029] Based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, the access popularity value of each voxel is determined, and the access popularity field is obtained.
[0030] The heat threshold is determined based on the heat peak of the heat field, and the isosurfaces in the heat field where the heat value is equal to the heat threshold are extracted to obtain the high heat envelope surface. The voxel region enclosed by the high heat envelope surface is defined as the high heat region.
[0031] A reference envelope is constructed based on the spatial range of the high-temperature envelope surface in the three coordinate axes. The envelope fit is determined based on the ratio between the volume of the high-temperature region and the volume of the reference envelope. The minimum block side length is determined based on the envelope fit.
[0032] The high-temperature region is divided into fine-grained segments based on the minimum block side length, and the voxel region outside the high-temperature region is divided into coarse-grained segments based on the maximum block side length which is greater than the minimum block side length, resulting in a block division result consisting of multiple data blocks.
[0033] Based on the average access frequency of each data block, each data block is allocated to the corresponding cache level or persistent storage layer to obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, the target voxel range is determined, and the target data block intersecting with the target voxel range is read from the storage result and output.
[0034] The liver CT three-dimensional volumetric data referred to in this application embodiment is CT image data formed by the same scan or multiple scans after spatial registration, arranged according to three-dimensional voxel coordinates. Each voxel has a gray value and a spatial location defined by slice number, row number, and column number. This spatial location can also be converted to physical coordinates in the patient coordinate system in millimeters. The voxel spacing is defined as the actual distance (in millimeters) between the centers of adjacent voxels in the three coordinate axes. The voxel spacing in the three directions can be the same or different because the resampling accuracy of the CT equipment in the intra-slice (XY plane) and inter-slice (Z-axis direction) directions is usually determined by different physical parameters. That is, the intra-slice spacing depends on the reconstruction matrix size and the scanning field of view, while the inter-slice spacing depends on the scanning slice thickness and the inter-slice interval. The two are set by different clinical scanning protocols and are not necessarily equal. Before performing any calculations involving spatial distance, area, or volume, the processor converts the voxel index (slice number, row number, column number) to a unified three-dimensional physical coordinate system according to the voxel spacing in the corresponding direction. The specific conversion process is described in detail below to ensure that the spatial scales in different directions are comparable.
[0035] The deep learning image analysis model described in this application is a three-dimensional neural network used to extract spatial features from three-dimensional volumetric data of liver CT scans. Its output is voxel-level attention data corresponding to the spatial dimensions of the input volumetric data. The medical image recognition tasks that this model can perform include liver region recognition, intrahepatic abnormality region recognition, and providing candidate regions for subsequent image analysis. The voxel-level attention value represents the degree of contribution of the corresponding voxel to the model's current recognition result, or the model's response intensity at that voxel location. All attention values are normalized and mapped to a uniform value range; a larger value indicates a higher degree of attention the model pays to that voxel.
[0036] The access popularity value referred to in this application embodiment is obtained by attenuating the voxel-level attention value through spatial distance. The access popularity field is composed of the access popularity value of each voxel and its spatial position in the three-dimensional physical coordinate system. The high-popularity envelope surface is defined as a closed surface formed by connecting all points in the access popularity field where the access popularity value is equal to the popularity threshold. The high-popularity region refers to the set of voxels within the space enclosed by this closed surface where all access popularity values are not lower than the popularity threshold. The reference envelope is an axis-aligned cuboid whose boundary exactly encloses the entire high-popularity region. Envelope fit is used to measure the proportion of the volume of the high-popularity region to the volume of its reference envelope.
[0037] The cache layer, as referred to in this application embodiment, refers to multiple storage layers that the data processing unit can read data at different access distances. These storage layers include volatile storage layers and non-volatile storage layers. The access distance is used to characterize the total number of interfaces, buses, and storage nodes that the data processing unit needs to pass through to obtain data from the storage layer. The persistent storage layer refers to the storage medium that can retain liver CT three-dimensional volume data blocks even after power failure. The cache layer and the persistent storage layer jointly maintain an index table. This index records for each data block its unique identifier (composed of dataset ID and block number), the range of voxel coordinates it covers (represented by minimum and maximum layer, row, and column numbers), data size (bytes), current storage location (cache address or persistent object identifier), and the data validity status of the copy (readable, invalid, or under verification).
[0038] The system architecture and execution entity specifically include the following:
[0039] In one embodiment, the medical image processing system includes a data acquisition unit, a processor, at least one cache level, and a persistent storage layer. The data acquisition unit obtains liver CT sequences from a CT device, a medical image archiving and communication system, or a local storage device, and reconstructs three-dimensional volumetric data of the liver CT according to the spatial location of the slices and the inter-slice order (the size is, for example, 512×512×N slices, where N is determined according to the scanning range). The processor performs deep learning model inference, access heat field generation, high-heat region extraction, block edge length determination, heterogeneous granularity segmentation, hierarchical storage, and request retrieval. The above processing stages correspond to the system's attention determination module, heat field generation module, region determination module, segmentation processing module, storage management module, and access response module, respectively. The processor executes the processing of the corresponding stage by calling the program instructions corresponding to each module. The cache level is connected to the processor through a memory bus, on-chip interconnect, or high-speed peripheral interface. The persistent storage layer can be set in a local storage device, a network storage node (such as network attached storage), or a cloud storage node (such as object storage service).
[0040] When reconstructing the three-dimensional volumetric data of liver CT, the data acquisition unit reads the pixel spacing, slice thickness, slice spacing, image position, and image orientation information carried by each CT slice. It then multiplies the slice pixel coordinates (row and column numbers) by the pixel spacing and adds the image position to convert them into voxel coordinates in a unified three-dimensional physical coordinate system. For the specific conversion process, please refer to the conversion process from voxel index to physical coordinates and the inverse transformation process from physical coordinates to voxel index below. When a slice is missing, the spatial orientation is inconsistent, or the spacing between adjacent slices exceeds the allowable range (e.g., the spacing change exceeds 5%), the data acquisition unit marks the corresponding volumetric data as data to be verified and does not directly enter the block storage process. The data to be verified can be manually confirmed or re-enter the processing process after the slice is completed or spatial registration is finished. This ensures that subsequent distance, area, and volume processing are based on a consistent spatial reference.
[0041] The processor assigns a dataset identifier to each liver CT 3D volumetric data set and saves version information for each processing stage. The version information is associated with at least the original volumetric data, model version, resampling parameters (target voxel spacing, in millimeters), attention map, access heat field, block results, and storage location. When the original volumetric data, model version, or block parameters change, the processor generates a new processing version (e.g., timestamp plus version number). The old version data blocks are released according to the storage management strategy after the new storage results are verified to be readable. For specific storage management strategies, please refer to the description of cache hierarchy allocation and replacement strategies below. This avoids data access requests reading inconsistent data blocks during model updates or re-blocking.
[0042] The construction and training of deep learning image analysis models specifically include the following:
[0043] In one embodiment, the model input data (i.e., the volume data to be analyzed after resampling and gray-level normalization, a three-dimensional floating-point matrix) is input into the encoder of the deep learning image analysis model; the encoder includes multiple three-dimensional feature extraction layers and downsampling layers connected in sequence. Each three-dimensional feature extraction layer receives the three-dimensional feature map output from the previous layer, performs a weighted summation of voxel gray values within a local three-dimensional neighborhood (e.g., a 3×3×3 spatial range), and then outputs feature values through a nonlinear transformation (ReLU activation function) to extract spatial patterns such as local edges and textures. The convolutional kernel weights are initialized using He and sampled from a normal distribution with a mean of 0 and a variance of 2 / fanin, with the bias initialized to 0, where fanin is the number of input channels. The downsampling layer halves the spatial size of the three-dimensional feature map while progressively doubling the number of feature channels (e.g., increasing from 32 channels to 64, 128, 256, and 512 channels), ultimately obtaining a high-dimensional three-dimensional feature map. The decoder receives the 3D feature map, recovers the spatial size step by step through upsampling layers, and concatenates the encoded features and decoded features at the same spatial scale along the channel dimension to fuse high and low resolution information. Finally, the decoder passes through a 1×1×1 convolutional layer, which uses a convolutional kernel containing a multi-channel weight vector. The value of each channel at each spatial location is multiplied by the corresponding weight and accumulated, and a bias value is added to map the high-dimensional feature map into a single channel. Then, the output value of each spatial location is mapped to the (0,1) interval by the Sigmoid activation function to obtain attention data (a floating-point number between 0 and 1 for each voxel) that has a spatial positional correspondence with the data to be analyzed.
[0044] Deep learning image analysis models can be pre-trained and parameterized 3D encoder and decoder models. Model parameters include the weight matrices and bias vectors of each convolutional layer, and the scaling coefficients and offsets of the batch normalization layers. As a training implementation, the processor acquires training volume data (i.e., liver CT 3D volume data that has been resampled and normalized) and voxel-level labeled data (i.e., floating-point 3D matrices of the same size as the volume data, where each voxel is labeled with a different value according to the specific analysis task, e.g., liver region labeled as 1, background labeled as 0). The training volume data is input into the encoder and decoder to obtain predicted attention data. Based on the difference between the predicted attention data and the voxel-level labeled data at the same voxel position, binary cross-entropy loss and Dice loss are calculated, and the weighted sum of the two is used as the training loss. The processor uses a gradient descent algorithm to update the model parameters in the direction that reduces the training loss. Specifically, in each iteration, the parameters are updated as follows: the gradient value of the current training loss with respect to each parameter is calculated; the preset learning rate (initially set to 10) is applied. -4Multiply the current parameter value by the gradient value to obtain the adjustment; subtract the adjustment from the current parameter value to obtain the updated parameter value. Gradually reduce the training loss according to the above procedure. Stop updating when the training epochs reach a preset maximum value (e.g., 100 epochs); or stop updating when the Dice coefficient on the validation set does not exceed the previous highest value in a consecutive preset number of epochs (e.g., 15 epochs). After stopping the update, save the model parameters, target voxel spacing, grayscale upper and lower limits, and model version. After training is complete, a deep learning image analysis model that can be used for inference deployment is obtained.
[0045] Acquire three-dimensional volumetric data of the liver from CT scans and generate voxel-level attention maps, specifically including the following:
[0046] After acquiring the 3D volumetric data of the liver CT scan, the processor first reads the raw voxel spacing (the actual distance between the centers of adjacent voxels in the slice, row, and column directions, all in millimeters) along the three coordinate axes. For each voxel in the volumetric data, the processor converts its index (composed of slice number, row number, and column number) to physical coordinates in millimeters as follows: multiply the voxel's slice number by the raw voxel spacing in the slice direction to obtain the slice offset; multiply the voxel's row number by the raw voxel spacing in the row direction to obtain the row offset; multiply the voxel's column number by the raw voxel spacing in the column direction to obtain the column offset; add the slice offset to the offset of the volumetric data's slice origin in the patient coordinate system to obtain the voxel's slice physical coordinates; add the row offset to the offset of the volumetric data's row origin in the patient coordinate system to obtain the voxel's row physical coordinates; add the column offset to the offset of the volumetric data's column origin in the patient coordinate system to obtain the voxel's column physical coordinates.
[0047] The aforementioned origin offsets (slice direction, row direction, column direction) originate from the image position field in the header file of the corresponding medical digital imaging and communication standard for this CT volume data. This field records the origin coordinates of the volume data in the patient coordinate system. The processor reads the origin offsets in the slice direction, row direction, and column direction from this field, respectively.
[0048] Through the above process, the position of the voxel in a unified three-dimensional physical coordinate system (all units are millimeters) is obtained. Since the scanning accuracy of CT equipment is usually different in the intra-slice direction and the inter-slice direction, the voxel spacing in the three directions may not be equal. The above conversion unifies the voxel index to the physical coordinate system, ensuring that all subsequent calculations involving distance, area and volume are comparable in different directions.
[0049] The processor resamples the original liver CT 3D volumetric data according to a preset voxel spacing (i.e., the target voxel spacing saved during model training, such as 1.5 mm isotropic) to obtain the volumetric data to be analyzed. The specific resampling method is as follows: using the voxel coordinate origin of the original liver CT 3D volumetric data (the position where the layer number, row number, and column number are all 0) as the reference origin of the resampling grid, starting from this origin, target grid points are generated layer by layer, row by row, and column by column in three directions according to the preset voxel spacing. Each target grid point corresponds to a target voxel position, and the physical coordinates of this position are obtained by adding the product of the target voxel index and the preset voxel spacing to the physical coordinates of the reference origin. During resampling, for each target voxel position in the volumetric data to be analyzed (whose physical coordinates are known), the processor needs to determine the corresponding continuous voxel index in the original liver CT 3D volumetric data. This is specifically achieved through the following method:
[0050] Calculate the layer direction value of the physical coordinate and subtract the original volume data layer direction origin offset to obtain the layer direction difference; divide the layer direction difference by the original voxel spacing of the layer direction to obtain the continuous layer index; calculate the row direction value of the physical coordinate and subtract the original volume data row direction origin offset to obtain the row direction difference; divide the row direction difference by the original voxel spacing of the row direction to obtain the continuous row index; calculate the column direction value of the physical coordinate and subtract the original volume data column direction origin offset to obtain the column direction difference; divide the column direction difference by the original voxel spacing of the column direction to obtain the continuous column index.
[0051] The aforementioned continuous layer index, continuous row index, and continuous column index are all floating-point numbers. Based on the values of these three continuous indices, the processor determines the eight nearest-neighbor reference voxels surrounding the target location (i.e., combinations of integer indices obtained by rounding down and up the continuous coordinates in each direction, two for each direction, for a total of eight voxels). The processor calculates the contribution weights of the eight reference voxels based on these continuous indices. Specifically, the target location in the original volume data consists of values in three directions: the position in the layer direction, the position in the row direction, and the position in the column direction. Each value contains an integer part and a fractional part. For example, if the precise position in a certain direction is 2.3, then the integer part is 2 and the fractional part is 0.3. For any one of the eight reference voxels, its integer index in the three directions is either the integer part of the position in that direction (i.e., rounded down) or the integer part plus 1 (i.e., rounded up). The weight of the reference voxel is obtained by multiplying the distance coefficients in three directions: if the reference voxel is located at the position of the target position in the original volume data in a certain direction (including the integer part and the decimal part rounded down), then the distance coefficient in that direction is equal to 1 minus the decimal part in that direction; if the reference voxel is located at the position of the target position rounded up in a certain direction, then the distance coefficient in that direction is equal to the decimal part in that direction.
[0052] Multiplying the distance coefficients in the three directions yields the contribution weight of the reference voxel. After calculating the contribution weights of the eight reference voxels, the grayscale values of each reference voxel are weighted and summed. The weighted sum is then divided by the sum of all contribution weights, and the quotient is the grayscale value of the target voxel (in HU). When the target location is close to the edge of the original volume data, for example, if the rounded integer index of a certain direction exceeds the maximum valid index value in that direction, then there is no reference voxel in that direction. The processor only uses reference voxels that exist within the valid range for calculation, and re-normalizes the weights of these valid reference voxels (i.e., divides them by the sum of their weights), and then performs a weighted sum of the grayscale values of the valid reference voxels. When the target location exceeds the valid range of the original volume data, the processor copies the grayscale value of the boundary voxel closest to the target location as the grayscale value of the target location.
[0053] The processor normalizes the voxel grayscale values in the data to be analyzed by truncating the grayscale value of each voxel to the range of -200HU to 300HU. Specifically, voxel grayscale values less than -200HU are set to -200HU, and those greater than 300HU are set to 300HU. Then, 200HU is added to each truncated voxel grayscale value to obtain a first intermediate value. The second intermediate value is obtained by adding 300HU to the first intermediate value. The quotient of the first intermediate value and the second intermediate value is used as the normalized grayscale value of that voxel, located in the interval [0,1]. The effective grayscale range is determined by the training samples and is saved along with the model version. If the two endpoints of the range are the same, the configuration is considered invalid, the processor stops inference, and returns an error.
[0054] The processor inputs the normalized data to be analyzed into the trained encoder and decoder, and outputs single-channel attention data (a floating-point 3D matrix with a value range of 0 to 1) with the same spatial size as the data to be analyzed. The value of each voxel in this attention data represents the degree of attention the model pays to that voxel; the larger the value, the higher the contribution of that voxel to the model's recognition result.
[0055] The processor maps the attention data from the coordinate system of the volumetric data to be analyzed back to the voxel coordinates of the original liver CT 3D volumetric data. For each voxel in the original volumetric data (identified by its slice number, row number, and column number), the processor first calculates its physical coordinates using the same conversion method as described above (calculating the slice offset, row offset, and column offset in sequence, and adding the corresponding origin offset for each direction). Then, the physical coordinates are converted into continuous indices in the volumetric data to be analyzed. The processor selects the nearest attention data position for this continuous index (i.e., the position obtained by rounding the three continuous indices to the nearest integer), and uses the value at this position directly as the attention value corresponding to that original voxel. If the continuous index falls outside the boundary, the value at the nearest boundary position is used. The values are then constrained according to the attention normalization rules used during model training (values less than 0 are set to 0, values greater than 1 are set to 1), resulting in a voxel-level attention map (a floating-point 3D matrix with a value range of 0 to 1) of the same size as the original volumetric data.
[0056] Since the voxel-level attention map and the original liver CT 3D volume data use the same voxel coordinates, subsequent heat calculation, block division and request range determination can directly use the original voxel positions, reducing spatial misalignment caused by multiple coordinate conversions, and also enabling the attention map to accurately correspond to each voxel of the original volume data.
[0057] A visitor popularity field is generated based on attention value and spatial distance, specifically including the following:
[0058] The processor traverses the voxel-level attention map and identifies the voxel with the highest attention value as the peak attention voxel. If multiple voxels have the same maximum value, the geometric center of the region formed by these voxels (the average of the physical coordinates in all directions) is calculated first, and then the voxel closest to this geometric center is selected as the peak attention voxel. If they are still tied, they are compared in ascending order of layer number, row number, and column number, and the voxel with the first position in the coordinate sequence is selected to ensure unique output.
[0059] After determining the peak voxel, for each voxel, the processor converts its index into physical coordinates (in millimeters) using the same conversion method as described above (calculating the offset in each direction and adding the corresponding origin offset). The peak voxel is also converted to its physical coordinates using the same method. The difference between the physical coordinates of this voxel and the peak voxel in each direction is calculated, the squares of the differences in each direction are summed, and finally the square root of the sum is taken to obtain the Euclidean distance between them.
[0060] The processor calculates the distance attenuation value (a floating-point number between 0 and 1) based on the Euclidean distance. The distance attenuation relationship is a linear attenuation function. When the Euclidean distance between the voxel and the peak voxel of interest does not exceed the maximum effective distance, the distance attenuation value = 1 - Euclidean distance / maximum effective distance; when the Euclidean distance exceeds the maximum effective distance, the distance attenuation value is 0. The maximum effective distance is determined as follows: the processor calculates the physical span of the liver CT 3D volume data in the slice direction, row direction, and column direction (i.e., the maximum coordinate value minus the minimum coordinate value in each direction), takes the maximum value among the three spans, and sets half of the maximum value as the maximum effective distance. If the calculated result is less than 40 mm, the maximum effective distance is set to 40 mm; if the calculated result is greater than 200 mm, the maximum effective distance is set to 200 mm. This upper limit is set based on the typical size range of an adult liver in 3D space to ensure that the maximum effective distance is not too large due to individual extreme volume data, and to avoid the distance attenuation approaching the same value on all voxels, thus losing the spatial differentiation effect. When the Euclidean distance between the voxel and the peak voxel does not exceed the maximum effective distance, the distance attenuation value is 1 - Euclidean distance / maximum effective distance, and the result is a floating-point number between 0 and 1; when the Euclidean distance is greater than the maximum effective distance, the distance attenuation value is 0.
[0061] The processor multiplies the attention value (0 to 1) of each voxel by its corresponding distance decay value (0 to 1) to obtain the access heat value (0 to 1 floating-point number) for that voxel. The heat values of all voxels are arranged according to their original voxel coordinates to form an access heat field. If the attention map is all 0, it is marked that there are no valid peaks in the heat field, and a uniform block and conventional caching strategy is used as a fallback.
[0062] Determining the heat threshold and extracting the high-heat envelope includes the following:
[0063] The processor identifies the highest heat value from the access heat field as the heat peak. The processor obtains a candidate first ratio set, which contains multiple candidate ratio values (i.e., 0.10, 0.15, 0.20, ..., 0.85, 0.90) increasing in increments of 0.05 from 0.1 to 0.9. During the offline verification phase, for each candidate ratio value, a set of voxels with heat values greater than or equal to the candidate ratio value multiplied by the peak value is generated as a candidate high-heat region. The coverage rate of this candidate high-heat region to known high-frequency access voxels and its proportion of the overall data volume are calculated. The coverage rate is the percentage obtained by dividing the number of voxels in the intersection of the candidate high-heat region and the known high-frequency access voxel set by the total number of voxels in the known high-frequency access voxel set, where the known high-frequency access voxel set is derived from the top 10% of voxels accessed most frequently in historical viewing records. The volume proportion is the percentage obtained by dividing the total number of voxels in the candidate high-heat region by the total number of voxels in the entire data volume. Candidate ratios that satisfy a coverage rate greater than 90% are selected, and the candidate ratio with the smallest volume ratio is chosen as the initial first ratio. If there are multiple candidate ratios that satisfy a coverage rate greater than 90% and have the same volume ratio, the ratio with the largest value is chosen as the initial first ratio, so that the volume of the high-heat area is as small as possible while ensuring coverage.
[0064] During runtime, the processor determines the heat threshold by multiplying the heat peak value by the initial first ratio. This threshold divides the access heat field into two parts: voxels with heat values not lower than the threshold are high-heat voxels, and voxels with heat values lower than the threshold are low-heat voxels.
[0065] Next, the boundary between high-temperature voxels and low-temperature voxels, i.e., the isosurface, needs to be determined. The processor traverses and visits adjacent voxel pairs along the layer, row, and column directions in the heat field. For each pair of adjacent voxels, if the heat value of one voxel is below the heat threshold and the heat value of the other voxel is above the heat threshold, then the voxel pair crosses the heat threshold boundary. The processor marks the voxel with the lower heat value as the low-temperature voxel and the voxel with the higher heat value as the high-temperature voxel. Subsequent interpolation calculations all use the direction from the low-temperature voxel to the high-temperature voxel as the positive direction. If the heat value of a voxel is exactly equal to the heat threshold, then the center position of that voxel is directly taken as the isopoint, and no interpolation is required.
[0066] For a pair of adjacent voxels that cross a threshold, linear interpolation is used to determine the precise location of the isopleth point. Specifically, the heat threshold is denoted as the first parameter, the heat value of the first voxel is denoted as the second parameter (which is less than the first parameter), the heat value of the second voxel is denoted as the third parameter (which is greater than the first parameter), and the Euclidean distance between the centers of the first and second voxels is denoted as the fourth parameter. Subtracting the second parameter from the first parameter yields the first difference, and subtracting the second parameter from the third parameter yields the second difference. Dividing the first difference by the second difference yields the interpolation ratio, which is between 0 and 1. Multiplying the interpolation ratio by the fourth parameter yields the offset of the isopleth point relative to the center of the first voxel, with the offset direction from the lower heat voxel to the higher heat voxel, i.e., from the first voxel to the second voxel. Moving the physical coordinates of the first voxel along this offset direction yields the physical coordinates of the isopleth point.
[0067] After traversing all adjacent voxel pairs, several isopleths are obtained on the edges of each voxel unit in the access thermal field. Each voxel unit is a small cube in space, bounded by two adjacent layers in the layer direction, two adjacent rows in the row direction, and two adjacent columns in the column direction. The eight corner points of this small cube are the eight vertices of the voxel unit, and the twelve edges are the twelve sides of the voxel unit. The processor needs to connect these discrete isopleths into a continuous triangular mesh, which serves as the basis for the subsequent high-thermal envelope surface.
[0068] The specific connection process is as follows: The processor processes each voxel unit one by one. For the current voxel unit, the processor counts the number and position of the edges with isomorphic points on its 12 edges. If an isomorphic point exists on a certain edge, its 3D physical coordinates are recorded. The processor connects the isomorphic points according to their positional relationship on the voxel unit edges: if there are only 3 edges with isomorphic points, these 3 isomorphic points are directly connected to form a triangular facet, and the three vertices of the triangle are the positions of these 3 isomorphic points. If there are 4 edges with isomorphic points, these 4 isomorphic points are first connected end to end according to their spatial order on the voxel unit edges to form a polygon composed of 4 vertices. Then, the polygon is split into two triangular faces from any diagonal, so that both triangles are located inside the voxel unit. If there are equipotential points on 6 edges, connect the 6 equipotential points in their spatial order on the voxel unit edges to form a polygon, and then split the polygon into 4 triangular facets. When splitting, ensure that the vertex of each triangle is an equipotential point on the edge, and that the triangles are only adjacent at the edges or vertices and do not overlap.
[0069] For the same set of isopleths, there may be more than one way to connect them into triangles. For example, if there are four isopleths on a face of a voxel element, and these four points are all on the four edges of that face, then they can be connected along either of the two diagonals of that face. Connecting along one diagonal will result in two triangles in different positions; connecting along the other diagonal will result in two triangles in different positions. The triangles obtained by these two connection methods cover different in-plane areas, which will lead to different shapes of the final isopleth surface at that location. Therefore, the processor needs to choose one of the several feasible connection methods.
[0070] The selection rules are as follows: First, calculate the arithmetic mean of the access heat values of the eight corner voxels of the voxel unit, and use this average value as the center representative value of the voxel unit. If the center representative value is not lower than the heat threshold, the voxel unit is determined to be biased towards the high heat side; if it is lower than the heat threshold, it is determined to be biased towards the low heat side. The processor selects the connection method that keeps the high heat side connected, that is, selects a scheme that will not cause the high heat region to be split into multiple unconnected blocks inside the voxel unit after connection. For example, if there are four equal points on the surface of a voxel unit, if they are connected along the first diagonal, the high heat region is divided into two independent small regions inside the unit, which are not connected to each other; if they are connected along the second diagonal, the high heat region is still connected inside the unit. In this case, the processor will choose the second connection method.
[0071] When a voxel cell contains a large number of isopleths (e.g., 6 or 8), multiple triangles need to be generated simultaneously. When multiple triangles are combined, they must not overlap. If overlap is detected, the following adjustments are made: Starting from all isopleths of the current voxel cell, all possible triangle connection combinations are listed. For example, if there are 6 isopleths, they can be combined into 4 triangles, and the connection relationships between these triangles can have various pairings; the processor lists these methods one by one. From all listed combinations, the following priority order is used for selection: the scheme that maintains connectivity on the high-heat side is selected; if multiple schemes satisfy connectivity, the scheme with the smallest total area of all triangles (making the triangle-covered area most compact) is selected. The selected candidate schemes are checked to confirm that all triangle pairs do not overlap. The criteria for overlap are: the interior regions of two triangles intersect in 3D space, or the edge of one triangle penetrates the interior region of another triangle. If all triangles in a candidate scheme do not overlap, the scheme is accepted. If overlapping candidate solutions still exist, record the overlapping triangle pairs, split these triangles, and recombine them with the remaining isopleths to form new triangles. Repeat the above filtering and checking steps. If, after trying all possible connection combinations for the voxel unit, a set of non-overlapping triangle combinations cannot be found, then abandon the generation of any triangle patches in that voxel unit and do not output any patches. The gaps in this local region are naturally filled by triangles generated from adjacent voxel units during subsequent stitching.
[0072] Adjacent voxel elements share the same isomorphic point on a common edge. Therefore, the sides of a triangle in one voxel element coincide spatially with the sides of triangles in adjacent voxel elements. The processor stitches adjacent triangles together according to these shared edges to form a complete isomorphic mesh. Vertices with overlapping positions are merged according to a preset tolerance, which is set to 0.1 times the minimum voxel spacing. For example, if the minimum voxel spacing in the three directions is 1 mm, the tolerance is 0.1 mm. Two vertices less than 0.1 mm apart are considered the same point. Only one of the overlapping faces with opposite orientations is retained.
[0073] After stitching, the processor checks the connectivity and closure of the entire isosurface mesh. The connectivity check confirms whether all triangular faces are interconnected via shared edges; the closure check confirms whether each edge of each triangular face is shared by two adjacent triangular faces. If an edge is shared by only one triangular face, it is an open edge. The location of an open edge corresponds to the unclosed boundary of the isosurface. If the open edge is located on the volume data boundary, the processor adds closed faces along the volume data boundary to close the isosurface; if the open edge is located inside the volume data and cannot be repaired, the isosurface branch is marked as invalid, and the processor regenerates the heat threshold by taking adjacent candidate ratio values according to the aforementioned fine-tuning rules (with a step size of 0.05, no more than two steps upwards or downwards near the initial first ratio), and re-extracts the isosurface until a closed isosurface is obtained or all available candidate values are exhausted.
[0074] The set of all closed isosurfaces constitutes a high-heat envelope. The processor marks voxels that meet the following two conditions as high-heat voxels: first, the access heat value of the voxel is not lower than the heat threshold; second, the center of the voxel is located inside the space enclosed by at least one closed isosurface. The processor marks high-heat voxels as connected components according to the six adjacency relationship (adjacent in six directions: up, down, left, right, front, and back), grouping interconnected high-heat voxels into the same sub-region, thereby independently numbering multiple non-connected sub-regions that may exist within a continuous high-heat envelope.
[0075] Constructing a reference envelope and determining the envelope fit includes the following:
[0076] The high-heat envelope is an irregularly shaped closed surface in three-dimensional space. Directly using this surface for subsequent decisions on block edge lengths and caching strategies presents challenges, namely, the shape parameters of irregular surfaces are difficult to quantify and compare, and the envelope shapes generated by different volume data vary, lacking a unified comparison benchmark. Therefore, this application uses an axis-aligned cuboid to approximate the high-heat envelope. This cuboid is called the reference envelope, and its boundaries are aligned with the outermost edge of the envelope in the three coordinate axis directions. By constructing the reference envelope, the problem of irregular envelope shape can be transformed into a problem of regular cuboid geometric parameters.
[0077] The specific method for constructing the reference envelope is as follows: All vertices of the triangular facets on the high-temperature envelope surface (i.e., isopleths, all expressed in millimeters in physical coordinates) are projected onto the three coordinate axes: layer direction, row direction, and column direction. For each direction, the minimum and maximum values are found from all projected coordinates; the difference between the two is the axial length of that direction. The processor constructs an axis-aligned cuboid with the three axial lengths as edge lengths, within the spatial range defined by the three minimum and three maximum values. The edges of this cuboid are parallel to the layer direction, row direction, and column direction, respectively; this is the reference envelope.
[0078] After obtaining the reference envelope, it is necessary to evaluate the efficiency of the high-thermal regions in occupying the internal space of the reference envelope, i.e., whether the high-thermal regions tightly fill the reference envelope or are only distributed in a few corners of the reference envelope. This evaluation is measured by the envelope fit. The envelope fit is calculated as follows: Count the total number of high-thermal voxels contained in the high-thermal region; this number is an integer. It is known that the volume of a single voxel in three-dimensional space is equal to the product of the voxel spacing in the three directions (in cubic millimeters). Multiply the total number of high-thermal voxels by the volume of a single voxel to obtain the total volume of the high-thermal region. For voxels located at the boundary of the high-thermal envelope surface, if the voxel center is located inside the envelope surface, it is included in the high-thermal region volume; otherwise, it is not included. Multiply the three axial lengths of the reference envelope to obtain the volume of the reference envelope. Divide the volume of the high-thermal region by the volume of the reference envelope; the quotient is the envelope fit, with a value ranging from 0 to 1.
[0079] Envelope fit reflects the degree to which the high-heat region occupies the internal space of the reference envelope. When the envelope fit is close to 1, it means that the high-heat region almost completely fills the reference envelope, indicating that the shape of the high-heat region is close to an axis-aligned cuboid, with a regular and compact shape. When the envelope fit is small (e.g., less than 0.3), it means that the high-heat region occupies only a small part of the space of the reference envelope, and there are a large number of blank areas in the reference envelope, indicating that the shape of the high-heat region may be sheet-like, strip-like, or scattered, with a high degree of irregularity.
[0080] If the length of an axial direction becomes zero due to the degradation of the high-temperature region (e.g., all high-temperature voxels are coplanar or collinear), the reference envelope degenerates into a plane or line segment, making volume calculation impossible. In this case, the processor extends the length in that direction to one voxel spacing and recalculates. If an effective volume cannot be formed after extension, the high-temperature region extraction is marked as invalid, and a rollback block method is used (described in subsequent sections on parameter updates, exception handling, and rollback methods). The calculation result of the envelope fit will be used as one of the inputs to the subsequent 2D block edge length mapping table, together with the axial consistency, to determine the minimum block edge length, thereby avoiding ignoring the actual shape characteristics of the high-temperature region by relying solely on the size of the reference envelope.
[0081] Determining axial consistency and minimum block side length includes the following:
[0082] The processor first performs a connectivity traversal on high-hot voxels according to their face adjacency (6-connectivity, i.e., adjacent in all directions). Voxels that can be reached through adjacent high-hot voxels are assigned to the same high-hot sub-region. The specific assignment method is as follows: The processor generates an empty marker matrix of the same size as the volume data to record the sub-region number to which each voxel belongs. Initially, all voxels have a marker value of 0 (indicating they have not yet been marked). A sub-region number counter is also set, initially with a value of 1. The processor traverses all voxels in ascending order of layer number, row number, and column number. When a high-hot voxel is encountered with a value of 0 in the marker matrix, this voxel is used as the seed voxel for the current sub-region, and the value of the current sub-region number counter is assigned to the corresponding position of this voxel in the marker matrix. Then, starting from the seed voxel, check its adjacent voxels in six directions (i.e., adjacent in all directions). If an adjacent voxel is a high-temperature voxel and has not yet been marked, mark it with the same sub-region number as the seed voxel and add it to the check queue. Take a voxel from the check queue and continue checking its adjacent voxels in six directions, repeating the marking and enqueueing operations until the check queue is empty, meaning all voxels that can be reached from adjacent high-temperature voxels have been marked with the same sub-region number. At this point, the marking of a connected sub-region is complete.
[0083] The sub-region number counter is incremented, and the process continues to traverse the next unmarked high-heat voxel in the volume data, repeating the marking process to obtain the second connected sub-region. This cycle is repeated until all high-heat voxels are marked. After all high-heat voxels have been traversed, the marking matrix contains several distinct positive integer numbers, each corresponding to a connected high-heat sub-region. If only one number exists in the entire volume data, it indicates that the high-heat region is a single connected region, and the processor determines the axial consistency according to the single connected region method. If two or more distinct numbers exist, it indicates that the high-heat region contains multiple unconnected high-heat sub-regions, and the processor determines the axial consistency according to the multi-connected region method.
[0084] The determination of the axial consistency of a single connected region includes the following:
[0085] When the hot region is a single connected region, the processor identifies the two hot voxels with the largest physical Euclidean distance from the hot voxels, and designates them as the first and second feature voxels, respectively. For any two hot voxels, their physical coordinates are converted from the voxel index using the same conversion method as described above (in millimeters), and the Euclidean distance is calculated by the difference between the two physical coordinates. To reduce computation, the processor first forms a candidate voxel set based on the extreme positions of the hot region in the three coordinate axes (i.e., voxels with minimum / maximum positions along the layer direction, along the row direction, and along the column direction, up to 6 candidate voxels), and then calculates the Euclidean distance between these candidate voxels to quickly find the voxel pair with the largest distance. When the candidate selection results cannot guarantee coverage of the voxel pair with the largest distance, the processor can use the hierarchical spatial index to continue searching the uncovered region until the global maximum distance pair is confirmed.
[0086] When multiple pairs of high-heat voxels with the same Euclidean distance exist, the processor adds the attention values of the two voxels in each pair to obtain the sum of the attention values for the corresponding voxel pairs, and selects the pair with the largest sum of attention values as the first and second feature voxels. When the sum of attention values is still the same, the processor sorts the two voxels according to their coordinate sequences and selects the pair with the earliest coordinate sequence combination. The processor connects the voxel centers of the first and second feature voxels to obtain the main extension segment. Let the absolute values of the physical coordinate differences of the two voxels in the three directions be the layer direction projection length, row direction projection length, and column direction projection length (all in millimeters). The length of the main extension segment is obtained by taking the square root of the sum of the squares of the projection lengths in the three directions (in millimeters). The processor determines the maximum projection length from the three projection lengths. The processor divides the maximum projection length by the length of the main extension segment, and the quotient is the axial alignment (a floating-point number, between 0 and 1). The closer this value is to 1, the more aligned the main extension direction is with a certain coordinate axis.
[0087] When the high-temperature region includes only one high-temperature voxel, or when the first feature voxel coincides with the second feature voxel, the length of the main extension segment is zero. The processor does not perform ratio calculations, can set the axial consistency to a preset backoff value of 0 (floating point), and limit the minimum block side length to no greater than the effective edge length of the reference envelope of the isolated region (take the smallest positive value among the three edge lengths, in millimeters).
[0088] The determination of axial consistency of a multi-connected region includes the following:
[0089] When a high-heat region comprises multiple unconnected high-heat sub-regions, the processor sums the access heat values of each high-heat voxel within that sub-region and divides this sum by the number of high-heat voxels contained in that sub-region to obtain an average access heat value (a floating-point number, 0 to 1). The processor sorts the high-heat sub-regions from highest to lowest average access heat value and selects the two highest-ranking high-heat sub-regions. When average access heat values are the same, the sub-region with the larger volume is selected first. If the volumes are still the same, the sub-regions are sorted according to their centroid coordinates. The processor determines the centroids of the two high-heat sub-regions. For each high-heat sub-region, the processor sums the coordinates of the centers of each high-heat voxel in the layer, row, and column directions, and divides this sum by the number of voxels in that sub-region to obtain the centroid coordinates (in millimeters) in the three directions, which together form the feature points of the corresponding high-heat sub-region.
[0090] The processor determines the anchor point by identifying the location (physical coordinates, in millimeters) of the peak attention voxel and then selects the direction of the longest edge from the three edges of the reference envelope. When multiple edge lengths are the same, the direction of the longest edge is determined according to a preset priority order: layer direction, row direction, and column direction. The processor needs to determine which side the anchor point should shift towards along this direction. To do this, it first measures the distance from the anchor point to the boundary of the reference envelope in both the positive and negative directions of this direction. The side with the larger distance is selected as the shift direction, i.e., the anchor point shifts towards the side with the greater distance; if the distances in the positive and negative directions are the same, the direction with the increasing corresponding coordinate value is selected as the shift direction.
[0091] The processor offsets the anchor point along the offset direction by half the longest edge length, obtaining candidate offset points (physical coordinates, in millimeters). When the candidate offset point is inside or on the surface of the reference envelope, it is designated as the offset point; when it is outside the reference envelope, the first intersection point of the ray extending from the anchor point along the offset direction and the surface of the reference envelope is determined, and this intersection point is designated as the offset point. The processor connects the offset point, the first feature point, and the second feature point to construct a reference triangle and determines its area. Specifically, the processor determines two direction vectors pointing from the offset point to the first and second feature points, and calculates their cross product. The magnitude of the cross product is equal to the area of the parallelogram formed by the two direction vectors as adjacent sides, and the area of the reference triangle is exactly half the area of this parallelogram. Therefore, dividing the magnitude of the cross product by 2 gives the area of the reference triangle (in square millimeters). If the magnitude of the cross product of the two direction vectors is less than a preset minimum value (e.g., 10), the processor will not accept the cross product. -6If the offset point, the first feature point, and the second feature point are approximately collinear or coincident, the reference triangle degenerates into a line segment or point. In this case, the processor does not perform subsequent ratio calculations, sets the axial dispersion to a preset upper limit (e.g., 2.0), and determines the axial consistency to 0.
[0092] The processor determines the two edge lengths of the reference envelope perpendicular to the longest edge length. The product of these two edge lengths is used to determine the corresponding cross-sectional area (in square millimeters). The area of the reference triangle is divided by this cross-sectional area; the quotient is the axial dispersion (a floating-point number). When the cross-sectional area is zero, the processor does not perform the ratio operation, marks the multi-connected region as a degenerate region, and uses a backsliding block method. When the axial dispersion is not greater than 1, 1 is subtracted from the axial dispersion; the difference is the axial consistency (a floating-point number, 0 to 1). When the axial dispersion is greater than 1, the axial consistency is set to zero. The area of the reference triangle reflects the degree of lateral dispersion of the two high-temperature sub-regions relative to the longest edge length direction. The smaller the axial dispersion, the closer the two sub-regions are to being concentrated along the longest edge length direction, and the greater the axial consistency; conversely, the larger the axial dispersion, the smaller the axial consistency.
[0093] The construction and querying of the two-dimensional block edge length mapping table specifically includes the following:
[0094] The processor determines the fit interval containing the envelope fit and the consistency interval containing the axial consistency, respectively. Using the fit interval as the row index and the consistency interval as the column index, it queries the two-dimensional block side length mapping table to obtain the minimum block side length (in millimeters). Both the fit interval and the consistency interval cover their respective complete valid value range [0,1]. Adjacent intervals use a boundary form with one side closed and the other open (e.g., [0,0.3), [0.3,0.7), [0.7,1.0]). When the input is located at the common boundary of adjacent intervals, it is assigned to the interval with the larger value. Table 1 shows a specific mapping table, with block side lengths in millimeters.
[0095] Table 1: Mapping Table of 2D Block Side Lengths (Block side length unit: millimeters)
[0096] The table is constructed using the following logic:
[0097] The processor first determines the block alignment unit supported by the storage system (e.g., 4 kilobytes), then determines the number of bytes occupied by a single voxel (e.g., 2 bytes), and calculates the upper limit of the number of voxels that a single data block can hold. For example, based on the maximum amount of data allowed in a single input / output operation and the number of bytes occupied by each voxel, the maximum number of voxels that a single data block can contain can be calculated. Under the assumption of isotropic voxel spacing (i.e., 1 mm in all three directions), the theoretical side length of the data block is equal to the cube root of this maximum number of voxels multiplied by the voxel spacing. Using typical parameters (maximum data size of 1 megabyte, 2 bytes per voxel), this theoretical side length is assumed to be approximately 80.7 mm. From a preset candidate value (e.g., 8 mm, 12 mm, 16 mm, 24 mm, 32 mm, 48 mm, 64 mm), values greater than the minimum block side length but not exceeding 80.7 mm are selected to form a candidate block side length set.
[0098] For each combination of (fit interval, consistency interval) in Table 1, the processor uses each candidate block side length generated above to perform simulated block partitioning and simulated reading tests on the validation dataset. The dataset used for simulation validation comes from historical liver CT examination data, containing at least 50 different patients' liver CT 3D volume data, each containing corresponding historical image access records. The processor randomly selects 80% of the cases from all historical data as the validation dataset, and the remaining 20% as the test dataset. The simulation validation only uses the validation dataset; the test dataset does not participate in the simulation validation process. During simulated reading, several local access requests are randomly selected from the validation data, and two indicators are calculated: the first indicator is the redundancy ratio, which is the percentage of non-target voxel data read along with the target data block divided by the actual amount of target voxel data needed. The lower this value, the better the data block granularity matches the access requirements. The second indicator is the number of blocks, which is the total number of data blocks divided into the entire volume data under the candidate side length. The lower this value, the smaller the index management and reading overhead.
[0099] Determine the block edge length for each interval combination. For each (fit interval, consistency interval) combination, the processor eliminates candidate block edge lengths with a redundancy ratio higher than 20% from all candidate block edge lengths. Then, from the remaining candidate values, select the edge length that minimizes the number of blocks as the block edge length for that combination. If multiple edge lengths among the remaining candidates produce the same number of blocks and all of them are the minimum, select the edge length with the largest value to reduce block management overhead.
[0100] The processor checks the three block side lengths in each row (i.e., within the same fit interval) to ensure that the block side length does not decrease as the axial consistency gradually increases from the first interval to the third interval. If an inversion occurs, for example, the block side length determined for the second interval of the row is 48 mm, but the third interval is only 32 mm (smaller), it indicates that the simulation verification result needs adjustment. At this time, the processor finds the two adjacent items that are inverted, and adjusts the smaller of the two inverted block side lengths by one step in the larger direction from the candidate side length value set (for example, adjusting 32 mm to 48 mm). After adjustment, the simulation verification and decision for that interval are re-executed. If the new block side length of the interval after adjustment still causes an inversion, the other item is adjusted by one step in the larger direction. This process is repeated until the block side lengths of the three intervals in the row satisfy the condition of not decreasing from left to right. If an interval cannot find a side length that meets the condition under the constraint of not exceeding the maximum allowable data volume of a single input and output during the adjustment process, the block side length of the interval is determined to be consistent with the determined block side lengths of the adjacent intervals in the row to ensure monotonicity.
[0101] If all candidate side lengths for a combination of (fit interval, consistency interval) fail to meet the condition that the redundancy ratio is less than 20%, then the combination is marked as having no valid mapping. At runtime, if this combination is found, the processor does not use the values in Table 1, but instead takes the value of the column with the nearest valid mapping in the row containing the fit interval, and uses this value as a safe fallback value.
[0102] After the processor obtains the minimum block side length from Table 1 based on the envelope fit and axial consistency, it needs to perform two corrections. If the side length is less than the voxel spacing in any of the three directions of the volume data, it is increased to the maximum value of the voxel spacing in the three directions to ensure that each data block contains at least one complete voxel. If the side length is greater than the axial length of the high-heat region in a certain direction, the block span in that direction is shortened to the axial length of the high-heat region, while the other two directions are still divided according to the obtained side length to avoid generating empty data blocks that do not contain any high-heat voxels.
[0103] Heterogeneous granularity classification was performed on the three-dimensional volumetric data of liver CT, specifically including the following:
[0104] The processor determines candidate values for the maximum block side length. Based on the maximum data volume allowed in a single input / output operation of the storage system (e.g., 1 megabyte) and the number of bytes occupied by each voxel (e.g., 2 bytes for an unsigned 16-bit integer), the maximum total number of voxels that a single data block can contain is calculated, i.e., 1 megabyte divided by 2 bytes. Theoretically, the upper limit of the side length of a coarse-grained data block is determined by the maximum data volume allowed in a single input / output operation, the number of bytes occupied by each voxel, and the voxel spacing in the three directions. Specifically, the maximum number of voxels that a single data block can contain is calculated based on the maximum data volume and the number of bytes per voxel. This number is then multiplied by the geometric mean of the voxel spacing in the three directions; the product is the upper limit of the side length. For example, this upper limit is approximately 80.7 millimeters, meaning the side length of a coarse-grained data block cannot exceed this value. The processor selects the largest candidate edge length (in millimeters) from a preset pool of candidate edge lengths (e.g., 8 mm, 12 mm, 16 mm, 24 mm, 32 mm, 48 mm, 64 mm) that is greater than the queried smallest block edge length (e.g., 32 mm) but does not exceed 80 mm. If no candidate value meets the condition (e.g., the smallest block edge length is already 64 mm, and the only candidate value greater than 64 mm is 80 mm, but 80 mm exceeds the 80.7 mm upper limit), the processor does not force the formation of a coarse-grained block, sets the largest block edge length to be the same as the smallest block edge length, and records a degraded status flag.
[0105] The processor obtains the voxel coordinate range covered by the high-heat region, specifically the minimum and maximum values of layer number, row number, and column number among all high-heat voxels. Using the starting layer number, starting row number, and starting column number of this range as the reference origin for the fine-grained grid, the number of voxels in each direction is calculated based on the minimum block side length (minimum block side length divided by the voxel spacing in the corresponding direction, rounded up), and the grid cells are divided accordingly. Grid cells located at the boundary of the high-heat region are truncated according to the remaining voxel count. If a grid cell contains at least one high-heat voxel, the entire cell is marked as a fine-grained data block, and its actual voxel coordinate range is recorded.
[0106] For grid cells located at the boundary of the high-heat envelope (i.e., grid cells that contain both high-heat voxels and non-high-heat voxels), the processor treats the entire cell as a fine-grained data block and does not split the non-high-heat voxels into coarse-grained blocks, thereby maintaining the regular shape of the data blocks and avoiding duplicate storage.
[0107] After fine-grained partitioning, voxels already covered by the fine-grained blocks are subtracted from the entire volume data, leaving the remaining voxel regions as the areas to be coarse-partitioned. The processor converts the maximum block side length into the number of voxels (maximum block side length divided by the voxel spacing in the corresponding direction, rounded up), and establishes a coarse-grained grid starting from the voxel coordinate origin. When a coarse-grained grid cell overlaps with a fine-grained data block, the processor subtracts the voxel range already covered by the fine-grained block from that coarse-grained cell, retaining only the unallocated continuous voxel regions as one or more coarse-grained data blocks.
[0108] A unique identifier is generated for each data block, recording the dataset identifier, processing version, block type (fine-grained or coarse-grained), voxel coordinate start and end points, number of voxels in three directions, data volume (bytes), and verification information. The generation method is as follows: all voxel grayscale values contained in the data block are arranged in voxel coordinate order (first by layer number, then by row number, then by column number) into a continuous byte sequence, denoted as B[0], B[1], ..., B[n-1], where n is the total number of bytes. H is set to a 32-bit checksum, initially set to H=0. For each byte B[i] (i=0,1,…,n-1), the value of H is updated sequentially: H←(H×131+B[i])mod 2 32 After all bytes have been processed, H is converted into an 8-bit hexadecimal string as the verification information, where each byte of H is arranged in descending order of its most significant bit. This verification information is used to verify the integrity and correctness of the data block during subsequent readings. The processor checks whether the voxel coordinate ranges of all data blocks do not overlap, and whether the sum of the voxel counts of all data blocks equals the total number of valid voxels in the original volume data. If overlap, omission, or out-of-bounds error is found, the current block split is canceled, and boundary splitting is re-executed.
[0109] In this embodiment, smaller data blocks are used in the inner region of the high-heat envelope, so that when a local access request falls into this region, the amount of non-target voxels read along with the data block is reduced; larger data blocks are used in the outer region of the high-heat envelope, which reduces the overall number of data blocks and indexing overhead, and makes the block granularity match the access heat distribution.
[0110] Data access requests are stored and responded to in tiers based on average access frequency, specifically including the following:
[0111] For each data block (including fine-grained and coarse-grained data blocks), the processor reads the access heat values of all voxels contained in the data block from the access heat field, adds the access heat values to obtain the block heat sum (a floating-point number), and divides the block heat sum by the number of voxels contained in the data block (a positive integer) to obtain the average access heat value (a floating-point number, between 0 and 1). When a data block does not contain any valid voxels, the processor marks the data block as invalid and removes it from the allocation sequence. When the access heat values of some voxels are missing, the processor first rereads them from the access heat field based on the voxel coordinates. If the voxel coordinates still cannot be obtained, the processor directly allocates the data block to the persistent storage layer and records the abnormal status (error log).
[0112] The processor sorts the data blocks from highest to lowest average access frequency, resulting in a data block sequence. The sorting rules are as follows: data blocks are arranged in descending order of average access frequency. If multiple data blocks have the same average access frequency, fine-grained data blocks are placed before coarse-grained data blocks. If fine-grained attributes are also the same, smaller data blocks are placed first. If all of the above are the same, data blocks are arranged in ascending order of voxel coordinate origin, layer number, row number, and column number. This sorting rule ensures that the sorting result is unique and that high-frequency local blocks are preferentially entered into the cache layer with the closest access distance.
[0113] The processor traverses the cache levels in ascending order of access distance between each cache level and the data processing unit. It searches for the data block identifier and processing version sequentially: last-level cache, dynamic random access memory (DRAM), solid-state drive (SSD), and hard disk drive (HDD). For the currently traversed cache level, the processor obtains its currently available storage capacity (in bytes). Available storage capacity = total physical cache capacity - system reserved capacity - capacity already occupied by other valid data. The system reserved capacity is determined during deployment based on cache metadata, concurrent request buffering, and space required for fault recovery (e.g., when the total capacity of the last-level cache is 2 megabytes, the system reserved capacity is 256 kilobytes).
[0114] The processor starts with the unallocated data blocks in the data block sequence and attempts to allocate data blocks to the current cache level in order of priority. The processor sets the initial value of the cumulative allocated data size in the current cache level to 0 (in bytes). It iterates from the first unallocated data block in the data block sequence. For each data block encountered, it checks whether the sum of the data size of the current data block and the cumulative allocated data size in the current cache level does not exceed the upper limit of the available storage capacity of that cache level. If it does not, the data block is allocated to the current cache level, its data size is added to the cumulative allocated data size, and the data block is marked as allocated. If it exceeds the limit, the data block is skipped, its unallocated state is retained, and the processor continues to check subsequent data blocks in the data block sequence. After completing one round of traversal, if any data block has been allocated in this round, the processor returns to the beginning of the data block sequence and re-traverses the unallocated data blocks, attempting to fill the remaining space. If no data block can be allocated in this round (i.e., the data size of all unallocated data blocks is greater than the remaining available space in the current cache level), the allocation for the current cache level ends. Once all data blocks have been allocated, the allocation for the current cache level ends. The processor then moves to the next cache level with a greater access distance, resets the cumulative allocated data amount for that new level to 0, and repeats the allocation process.
[0115] If the available capacity of the current cache level is insufficient to accommodate any of the unallocated data blocks (i.e., the amount of data in all unallocated data blocks is greater than the remaining available space in the current cache level), the processor ends the allocation in the current level, does not delete existing valid data to forcibly accommodate the new data block, and directly enters the next cache level to continue allocation.
[0116] The processor writes unallocated data blocks after traversing all cache levels to persistent storage (such as hard disk drives or cloud storage), and records the correspondence between the voxel coordinate range and storage location for each data block in an index table. The storage location includes: cache level identifier, cache address (or memory pointer or offset if in the cache), persistent object identifier (file path or object key), and object offset (byte offset). After data is written, the processor reads this verification information and compares it with the verification information generated during the block partitioning stage; if they match, the data block status is updated to readable; if they do not match, the data block is rewritten or transferred to another location in the persistent storage layer; if multiple failures occur, it is marked as corrupted and an error log is recorded.
[0117] When the processor receives a data access request for three-dimensional volumetric data of a liver CT scan, it parses the dataset identifier, processing version, and spatial range in the request. The spatial range can be given directly by the voxel start and end coordinates (slice number range, row number range, column number range, all non-negative integers), or it can be given by physical coordinates. When the request uses physical coordinates, for example, a request sent by a viewing terminal includes the physical coordinates of the observation center point (in millimeters, e.g., 75.0 mm in the slice direction, 150.0 mm in the row direction, and 120.0 mm in the column direction) and the observation radius (in millimeters, e.g., 30.0 mm), indicating a request to obtain voxel data within a spherical area with that center point as the center and a radius of 30.0 mm. The processor converts the physical coordinates to voxel coordinates using the same conversion method as described above. If the request specifies a spatial range (such as the spherical region mentioned above), the processor converts the physical coordinates of the sphere's center (75.0 mm, 150.0 mm, 120.0 mm) into voxel indices. Then, combining this with the voxel spacing, the radius of 30.0 mm is converted into voxel offsets in each direction (layer offset = 30.0 mm / layer-direction voxel spacing, row offset = 30.0 mm / row-direction voxel spacing, column offset = 30.0 mm / column-direction voxel spacing, all rounded to the nearest integer). This determines the target voxel range (layer range, row range, column range). The processor then clips any portion exceeding the valid volume data range to the boundary.
[0118] The processor determines the target voxel range (three integer intervals) based on the parsed voxel coordinate range and queries the data block index table (stored in memory). Data blocks whose voxel coordinate ranges overlap with the target voxel range in the layer, row, and column directions are identified as target data blocks (i.e., the intersection is not empty). If the requested range is empty, the starting point of the coordinates is greater than the ending point, or the dataset identifier does not exist, the processor returns a request parameter error and does not perform a storage read. The data block index table uses a key-value pair structure, where the key is the data block identifier and the value is the storage information for that data block. Table 2 shows a record of a data block index table:
[0119] Table 2: Data Block Index Table
[0120] When the processor queries the data block index table, it traverses all records in the table. For each record, it compares the range defined by the start and end points of the voxel coordinates of the record with the range of the target voxel. If there is an intersection in all three directions, the data block corresponding to the record is determined as the target data block.
[0121] For each target data block, the processor searches for the data block identifier and processing version sequentially in the order of the last-level cache, dynamic random access memory, solid-state drive (SSD), and hard disk drive (HDD). If a readable target data block is found in a certain storage level, the data is read from that storage level, and the search for further levels is stopped. If the target data block is not stored in any cache level, the processor reads the target data block from the persistent storage layer (HDD) according to the index record. After reading, the processor can compare the average access heat value of the data block with the average access heat values of other data blocks already stored in the current cache level. If the average access heat value of the data block is higher than that of the data block with the lowest average access heat value in the current cache level, and the remaining space in the current cache level is insufficient to store the data block, the data block is written to the cache level, and the data block with the lowest average access heat value is removed to free up space. If the remaining space in the current cache level is sufficient, the data block is written directly to the cache level. If the average access heat value of the data block is lower than the average access heat value of all data blocks already stored in the current cache level, it is not written to the cache level.
[0122] The processor sorts and outputs the reading results according to the voxel coordinates of the target data block in the liver CT 3D volumetric data (first in ascending order of slice number, then row number, then column number). In one implementation, the processor outputs the complete target data block and its coordinate range, allowing the requesting party to extract the required voxels according to the target voxel range. In another implementation, before outputting, the processor directly trims the voxels overlapping with the target voxel range from the target data block (i.e., extracting only the intersection), and reassembles them according to the original 3D coordinates before outputting, thereby further reducing the amount of non-target voxel data transmitted to subsequent image analysis units.
[0123] When a target data block exists as a copy in multiple cache levels (e.g., copies exist in both DRAM and SSD), the processor prioritizes reading from the level with the closest access distance (e.g., DRAM). If a cache copy fails verification (e.g., checksum mismatch), the processor marks that copy as invalid and continues reading from the next level. If the target data block in the persistent storage layer also fails verification, the processor returns a data read failure and records the error location, without using other data blocks to fill the error area.
[0124] Parameter update, exception handling, and rollback methods include the following:
[0125] The model version, initial first scale, distance decay relationship, fit interval, consistency interval, 2D block side length mapping table, and maximum block side length configuration all have configuration versions. The processor only uses matching configuration versions within the same processing flow. When the configuration is updated, the processor first completes offline verification using independent verification data, then selects some non-critical data for trial operation. Only when the read integrity, data block coverage relationship, and storage capacity constraints all meet the requirements will the new configuration be set as the current configuration.
[0126] When the actual data access distribution changes from the access distribution used for calibration, the processor can compare the actual access frequency and access popularity ranking of different spatial regions according to a preset statistical period (e.g., every 24 hours). If the deviation exceeds the recalibration condition for multiple consecutive statistical periods (e.g., 7 consecutive days) (e.g., Spearman rank correlation coefficient is less than 0.8), then the candidate distance decay parameter, candidate first proportion, or two-dimensional block side length mapping table is regenerated, and the aforementioned verification and parallel selection rules are used. The recalibration condition is determined by the system's allowed cache miss situation and the upper limit of non-target data read volume, and is not triggered by a single occasional request to replace the configuration.
[0127] When model inference fails, all attention values are invalid, the heat peak is zero, the isosurface cannot be closed, the reference envelope volume is invalid, the 2D mapping table is missed, or the block integrity check fails, the processor writes the corresponding error to the processing record (including timestamp and error code) and uniformly divides the liver CT 3D volume data into blocks with a fixed block side length (e.g., 32 mm). The divided data (i.e., all fine-grained data blocks and coarse-grained data blocks) are allocated to the cache level (last-level cache, dynamic random access memory, solid-state drive) and persistent storage level (hard disk drive) according to the writing order, so that the volume data remains readable even when adaptive processing conditions are insufficient.
[0128] When cache capacity changes during runtime (e.g., other applications occupy or release memory), the processor does not modify the voxel range of data blocks already written. Instead, it readjusts the data block's hierarchy based on the average access frequency of the data block and the current available capacity (e.g., migrating blocks with low average access frequency from DRAM to SSD). The migration process performs the following: writes a copy of the data block to the target hierarchy; reads the copy and compares it with the source data to verify that the write is correct; updates the index table with atomic operations, pointing the data block's storage location to the target hierarchy; and releases the source hierarchy copy. If the migration process is interrupted (e.g., a system restart), the most recently verified copy is retained, thus preventing cache adjustments from disrupting the correspondence between block partitioning results and coordinate indices.
[0129] like Figure 2 As shown, embodiments of the present invention also provide a deep learning-based medical image recognition system, comprising:
[0130] The attention determination module is used to acquire liver CT three-dimensional volume data, input the liver CT three-dimensional volume data into a deep learning image analysis model, and obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process.
[0131] The heat field generation module is used to determine the access heat value of each voxel based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, and obtain the access heat field.
[0132] The region determination module is used to determine the heat threshold based on the heat peak of the access heat field, and extract the isosurfaces in the access heat field where the access heat value is equal to the heat threshold to obtain the high heat envelope surface, and determine the voxel region enclosed by the high heat envelope surface as the high heat region.
[0133] The block processing module is used to construct a reference envelope based on the spatial range of the high-heat envelope surface in the three coordinate axis directions, determine the envelope fit degree based on the ratio between the volume of the high-heat region and the volume of the reference envelope, and determine the minimum block side length based on the envelope fit degree.
[0134] The storage management module is used to perform fine-grained partitioning of the high-heat region based on the minimum block side length, and coarse-grained partitioning of the voxel region outside the high-heat region based on the maximum block side length which is greater than the minimum block side length, to obtain a block result consisting of multiple data blocks.
[0135] The access response module is used to allocate each data block to the corresponding cache level or persistent storage layer based on the average access popularity value of each data block, and obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, it determines the target voxel range, reads the target data block that intersects with the target voxel range from the storage result and outputs it.
[0136] It should be noted that this system is a system corresponding to the above method. All implementation methods in the above method embodiments are applicable to this embodiment and can achieve the same technical effect.
[0137] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A deep learning-based medical image recognition method, characterized in that, The method includes: Three-dimensional volumetric data of liver CT is acquired, and the three-dimensional volumetric data of liver CT is input into a deep learning image analysis model to obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process. Based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, the access popularity value of each voxel is determined, and the access popularity field is obtained. The heat threshold is determined based on the heat peak of the heat field, and the isosurfaces in the heat field where the heat value is equal to the heat threshold are extracted to obtain the high heat envelope surface. The voxel region enclosed by the high heat envelope surface is defined as the high heat region. A reference envelope is constructed based on the spatial range of the high-temperature envelope surface in the three coordinate axes. The envelope fit is determined based on the ratio between the volume of the high-temperature region and the volume of the reference envelope. The minimum block side length is determined based on the envelope fit. The high-temperature region is divided into fine-grained segments based on the minimum block side length, and the voxel region outside the high-temperature region is divided into coarse-grained segments based on the maximum block side length which is greater than the minimum block side length, resulting in a block division result consisting of multiple data blocks. Based on the average access frequency of each data block, each data block is allocated to the corresponding cache level or persistent storage layer to obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, the target voxel range is determined, and the target data block intersecting with the target voxel range is read from the storage result and output.
2. The deep learning-based medical image recognition method according to claim 1, characterized in that, The step of inputting liver CT three-dimensional volume data into a deep learning image analysis model to obtain a voxel-level attention map includes: The liver CT 3D volume data is resampled according to the preset voxel spacing to obtain the volume data to be analyzed; the voxel gray values in the volume data to be analyzed are normalized to obtain the model input data. The model input data is fed into the encoder of the deep learning image analysis model to obtain a 3D feature map; the 3D feature map is fed into the decoder of the deep learning image analysis model to obtain attention data that has a spatial positional correspondence with the data of the object to be analyzed. The attention data is mapped to the voxel coordinates of the three-dimensional volumetric data of liver CT to obtain a voxel-level attention map.
3. The deep learning-based medical image recognition method according to claim 1, characterized in that, The process of determining the access popularity value of each voxel based on its attention value and the distance between each voxel and the peak attention voxel, thus obtaining the access popularity field, includes: The voxel with the highest attention value in the voxel-level attention graph is identified as the peak attention voxel; for each voxel in the voxel-level attention graph, the Euclidean distance between the corresponding voxel and the peak attention voxel in a unified three-dimensional coordinate system is determined. The distance decay relationship is queried based on the Euclidean distance to obtain the distance decay value of the corresponding voxel. The distance decay relationship is a preset monotonically decreasing function. The monotonically decreasing function takes the value of 1 when the Euclidean distance is zero and takes the value of 0 when the Euclidean distance reaches or exceeds the maximum effective distance. The function value monotonically decreases as the Euclidean distance increases from zero to the maximum effective distance. The product of the attention value and the distance decay value of the corresponding voxel is determined as the access heat value of the corresponding voxel; based on the access heat value of each voxel and the position of each voxel in a unified three-dimensional coordinate system, an access heat field is generated.
4. The deep learning-based medical image recognition method according to claim 3, characterized in that, The step of determining the heat threshold based on the heat peak value of the visit heat field and extracting the isosurfaces in the visit heat field where the visit heat value is equal to the heat threshold to obtain the high heat envelope surface includes: The maximum access popularity value is determined from the access popularity values in the access popularity field, and the maximum access popularity value is determined as the peak popularity value; Obtain an initial first proportion with a value greater than 0 and less than 1, and determine the heat threshold by multiplying the heat peak value by the initial first proportion; Identify the adjacent voxels whose access popularity values are located on both sides of the popularity threshold, and determine the equivalent positions where the access popularity value is equal to the popularity threshold based on the spatial position of the adjacent voxels and the access popularity value; connect the adjacent equivalent positions according to the voxel adjacency relationship to obtain the high popularity envelope. Voxels with access popularity values not less than the popularity threshold and located within the space enclosed by the high popularity envelope are defined as high popularity voxels, and high popularity regions are formed by high popularity voxels.
5. The deep learning-based medical image recognition method according to claim 4, characterized in that, The construction of the reference envelope based on the spatial range of the high-temperature envelope surface in the three coordinate axis directions includes: Project the envelope points on the high-temperature envelope surface onto the three coordinate axes respectively; for each coordinate axis, determine the minimum coordinate position and the maximum coordinate position from the projection positions on the corresponding coordinate axis, and determine the distance between the minimum coordinate position and the maximum coordinate position as the axial length in the direction of the corresponding coordinate axis; Using the axial lengths along the three coordinate axes as edge lengths, construct an axis-aligned cuboid that surrounds the high-heat region; The axis-aligned cuboid is defined as the reference envelope.
6. The deep learning-based medical image recognition method according to claim 5, characterized in that, The process of determining the envelope fit based on the ratio between the volume of the high-temperature region and the volume of the reference envelope, and determining the minimum block side length based on the envelope fit, includes: The volume of the hyperthermal region is determined based on the number of hyperthermal voxels contained within the hyperthermal region and the volume of a single hyperthermal voxel. The volume of the reference envelope is determined based on the three edge lengths of the reference envelope; the ratio between the volume of the high-temperature region and the volume of the reference envelope is determined as the envelope fit. Determine the axial consistency of the high-heat region, which characterizes the degree to which the high-heat region extends concentratedly along one of the three coordinate axes; Determine the consistency interval where the axial consistency is located; use the fit interval where the envelope fit is located as the row index and the consistency interval where the axial consistency is located as the column index to query the two-dimensional block side length mapping table to obtain the minimum block side length; Specifically, when the axial consistency increases, the minimum block side length corresponding to the two-dimensional block side length mapping table does not decrease; when the axial consistency is located at the common boundary of adjacent consistency intervals, the axial consistency is assigned to the consistency interval with the larger value.
7. The deep learning-based medical image recognition method according to claim 6, characterized in that, Determining the axial consistency of the high-heat region includes: When the high-temperature region is a single connected region, the two high-temperature voxels with the largest Euclidean distance are identified from the high-temperature voxels and designated as the first feature voxel and the second feature voxel, respectively; the first feature voxel and the second feature voxel are connected to obtain the main extension segment; the projection length of the main extension segment on the three coordinate axes is determined respectively; the ratio between the maximum projection length among the three projection lengths and the length of the main extension segment is determined as the axial consistency. When there are multiple pairs of high-temperature voxels with the same Euclidean distance, the sum of attention values for each pair of high-temperature voxels is determined, and the pair of high-temperature voxels with the largest sum of attention values is determined as the first and second characteristic voxels.
8. The deep learning-based medical image recognition method according to claim 6, characterized in that, The determination of the axial consistency of the high-heat region also includes: When a high-heat region includes multiple unconnected high-heat sub-regions, the average access heat value of each of the high-heat sub-regions is determined, and the two high-heat sub-regions with the largest average access heat value are determined from the multiple high-heat sub-regions. The centroids of the two high-heat sub-regions are determined to obtain the first feature point and the second feature point; the location of the peak voxel of interest is determined as the anchor point, and the anchor point is offset by half the longest edge length along the longest edge length of the reference envelope to obtain the offset point; when the offset position is outside the reference envelope, the intersection of the offset direction and the surface of the reference envelope is determined as the offset point. Construct a reference triangle based on the offset point, the first feature point, and the second feature point, and determine the area of the reference triangle. The axial dispersion is defined as the ratio between the area of the reference triangular face and the cross-sectional area of the reference envelope in the direction perpendicular to the longest edge. When the axial dispersion is not greater than 1, the difference between 1 and the axial dispersion is determined as the axial consistency; when the axial dispersion is greater than 1, the axial consistency is determined as zero.
9. The deep learning-based medical image recognition method according to claim 8, characterized in that, The process involves allocating each data block to its corresponding cache level or persistent storage layer based on the average access frequency value of each data block, thus obtaining a storage result; in response to a data access request for liver CT three-dimensional volume data, determining the target voxel range, reading the target data block intersecting with the target voxel range from the storage result, and outputting it, including: Calculate the average access popularity value of each data block by averaging the access popularity values of the voxels contained in each data block. The data blocks are sorted in descending order of average access popularity to obtain a data block sequence; The cache levels are traversed sequentially according to the access distance between each cache level and the data processing unit, from closest to furthest. For the current cache level, data blocks are selected from the unallocated data blocks in the data block sequence in sorted order until the total amount of allocated data blocks in the current cache level reaches the upper limit of the available storage capacity of the current cache level or all unallocated data blocks in the data block sequence are allocated. The selected data blocks are then allocated to the current cache level. After all cache levels have been allocated, the data blocks that have not yet been allocated are stored in the persistent storage layer, and the correspondence between the voxel coordinate range of each data block and the storage location is recorded to obtain the storage result; Parse the data access request to obtain the target voxel range, and determine the data block where the voxel coordinate range intersects with the target voxel range as the target data block; The target data block is searched in order of the nearest to the furthest cache level; if the target data block is not stored in any cache level, it is read from the persistent storage layer. Output the target data block according to its voxel coordinates in the three-dimensional volumetric data of liver CT.
10. A deep learning-based medical image recognition system, characterized in that, include: The attention determination module is used to acquire liver CT three-dimensional volume data, input the liver CT three-dimensional volume data into a deep learning image analysis model, and obtain a voxel-level attention map. The attention value of each voxel in the voxel-level attention map is used to characterize the degree of attention of the corresponding voxel in the image analysis process. The heat field generation module is used to determine the access heat value of each voxel based on the attention value of each voxel and the distance between each voxel and the peak attention voxel, and obtain the access heat field. The region determination module is used to determine the heat threshold based on the heat peak of the access heat field, and extract the isosurfaces in the access heat field where the access heat value is equal to the heat threshold to obtain the high heat envelope surface, and determine the voxel region enclosed by the high heat envelope surface as the high heat region. The block processing module is used to construct a reference envelope based on the spatial range of the high-heat envelope surface in the three coordinate axis directions, determine the envelope fit degree based on the ratio between the volume of the high-heat region and the volume of the reference envelope, and determine the minimum block side length based on the envelope fit degree. The storage management module is used to perform fine-grained partitioning of the high-heat region based on the minimum block side length, and coarse-grained partitioning of the voxel region outside the high-heat region based on the maximum block side length which is greater than the minimum block side length, to obtain a block result consisting of multiple data blocks. The access response module is used to allocate each data block to the corresponding cache level or persistent storage layer based on the average access popularity value of each data block, and obtain the storage result; in response to the data access request for liver CT three-dimensional volume data, it determines the target voxel range, reads the target data block that intersects with the target voxel range from the storage result and outputs it.
