A comprehensive management method for medical big data
By dividing medical images into similar image sets and using dictionary learning algorithms for compression, the problem that traditional image compression methods cannot meet the compression needs of medical big data is solved, and the compression efficiency and storage management efficiency are improved.
Patent Information
- Application Number
- CN202411104220.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Traditional image compression methods cannot effectively meet the compression needs of medical big data, especially in terms of computing time and resource consumption, and cannot meet the needs of rapid processing and access.
By acquiring medical big data, it is divided into medical images of the same body part collected by the same instrument, the peak change characteristics of the grayscale histogram are analyzed, the images are divided into similar image sets, and based on the gradient value of the pixel point and the local neighborhood distribution characteristics , the similar image set is divided into medical image groups to be compressed, and a dictionary learning algorithm is used for compression.
It improves the compression efficiency of medical images, reduces storage space requirements, facilitates management, adapts to the compression needs of medical big data, and ensures the high quality of images and the accuracy of diagnostic information.
Smart Images

Figure CN118646888B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image compression processing, and in particular to a comprehensive management method for medical big data. Background Art
[0002] With the development of medical technology, the amount of medical data generated is growing rapidly. These data include patients' clinical data, imaging data, genomic data, etc. Imaging data in particular requires large-scale storage and transmission facilities for processing, which brings challenges to the management of medical big data.
[0003] Traditional image compression methods are used to compress image data, generally targeting a single medical image as a separate entity for compression analysis and processing. The compression results still require a large storage space, increasing the cost of comprehensive management of medical big data. Moreover, when faced with large-scale medical image data, the computing time and resource consumption of traditional image compression methods are particularly prominent, and cannot meet the needs of fast processing and access. Summary of the invention
[0004] In order to solve the technical problem that traditional image compression methods cannot meet the compression requirements of medical big data, the purpose of the present invention is to provide a comprehensive management method for medical big data. The technical solutions adopted are as follows:
[0005] Obtaining medical big data; the medical big data at least includes medical image data; classifying all the medical images of the same body part collected by the same instrument into one category; selecting any one category of medical images as an initial image set;
[0006] Analyzing overall grayscale similarity characteristics between images in the initial image set according to peak value variation characteristics of the grayscale histogram, and dividing the medical images in the initial image set into similar image sets;
[0007] In each of the similar image sets, the pixels in the medical images are arranged in order according to the gradient values in the grayscale gradient image, and the medical images in the similar image set are divided into medical image groups to be compressed according to similar features of pixel distribution in a preset local neighborhood corresponding to pixels of the same order between the medical images;
[0008] The medical images of each of the medical image groups to be compressed are compressed and stored together.
[0009] Furthermore, the method for classifying the medical image includes:
[0010] All the medical images of the same body part acquired by the same instrument are classified into one category.
[0011] Furthermore, the method for obtaining the similar image set includes:
[0012] Obtaining the overall similarity between the corresponding two medical images according to similar features of peak value changes in a preset neighborhood of gray levels corresponding to the highest peaks of the grayscale histograms of any two of the medical images;
[0013] The medical images in the initial image set are divided into the similar image set according to the overall similarity.
[0014] Furthermore, the method for obtaining the overall similarity includes:
[0015] Based on the similar features of the number of pixels corresponding to each grayscale with the same serial number in a preset neighborhood of the grayscale corresponding to the highest peak in the grayscale histogram of any two of the medical images, combined with the similar features of the grayscale corresponding to the highest peak, the overall similarity between the corresponding two medical images is obtained.
[0016] Furthermore, the method of dividing the medical images in the initial image set into similar image sets according to the overall similarity includes:
[0017] From the current initial image set, any one of the medical images is selected as a main image, and the medical image whose overall similarity with the current main image is greater than a first preset threshold is used as a sub-image of the current main image, the current main image and all the sub-images constitute a similar image set, and the initial image set is reconstructed after removing the similar image set from the initial image set;
[0018] The process of separating the similar image set from the current initial image set is repeated to obtain all similar image sets.
[0019] Furthermore, the method for obtaining the medical image group to be compressed includes:
[0020] In each of the similar image sets, according to similar features of the distribution of pixels in a preset local neighborhood of pixels with the same sequence number in the arrangement sequence of each of the secondary images and the main image, a local similarity corresponding to each of the secondary images is obtained;
[0021] The medical images in the similar image set are divided into the medical image group to be compressed according to the local similarity.
[0022] Furthermore, the method for obtaining the local similarity includes:
[0023] In the pixel point sequence, a second preset number of pixel points are selected from large to small gradient values as the pixel points to be analyzed; in the preset local neighborhood of the pixel points to be analyzed, the pixel points whose grayscale value difference with the pixel points to be analyzed is greater than a third preset threshold are eliminated, and the remaining pixel points are taken as local similar pixel points;
[0024] According to the local density features of the local similar pixels corresponding to the pixels to be analyzed of the same sequence number in each of the sub-images and the main image, obtaining the local density parameter corresponding to each of the pixels to be analyzed in each of the sub-images;
[0025] According to the quantity similarity feature of the local similar pixels corresponding to the pixels to be analyzed of the same sequence number in each of the sub-images and the main image, obtaining the quantity similarity parameter corresponding to each of the pixels to be analyzed in each of the sub-images;
[0026] The local similarity corresponding to each of the sub-images is obtained according to all the local density parameters and the quantity similarity parameters corresponding to each of the sub-images; the local similarity is positively correlated with the local density parameter.
[0027] Furthermore, the method of dividing the medical images in the similar image set into the medical image group to be compressed according to the local similarity includes:
[0028] In each of the similar image sets, the secondary images and the main image whose local similarity is greater than a fourth preset threshold jointly form a medical image group to be compressed.
[0029] Furthermore, the compression algorithm used when compressing the medical image group to be compressed is a dictionary learning algorithm.
[0030] Furthermore, the medical images that are not in the group of medical images to be compressed are compressed one by one.
[0031] The present invention has the following beneficial effects:
[0032] The present invention first obtains medical big data to provide a data basis for subsequent analysis; further classifies medical images according to the acquisition method of medical images, selects any type of medical images as the initial image set, unifies the format of medical images in the initial image set, and facilitates the subsequent analysis of the similarity between images; further analyzes the similarity between images from the perspective of overall grayscale similarity, and divides the medical images in the initial image set into similar image sets, so as to facilitate the subsequent compression of similar medical images together and improve the compression effect; further captures the local details and edge information of the image through local gradient information, supplements the overall grayscale similarity angle, and can more accurately evaluate the similarity of the image at the local angle, and divides the medical images in the similar image set into medical image groups to be compressed, which is more conducive to improving the compression effect; finally, compresses and stores the medical images of each medical image group to be compressed together. The present invention evaluates the similarity between medical images from three perspectives: the acquisition method of medical images, the overall grayscale similarity feature, and the local gradient similarity feature. By compressing similar medical images together, the compression efficiency of medical images is improved, the storage space is reduced, and the management is convenient, so as to better meet the compression requirements of medical big data. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A flowchart of a comprehensive management method for medical big data provided by one embodiment of the present invention;
[0035] Figure 2 A flowchart of a method for obtaining a medical image group to be compressed provided by one embodiment of the present invention;
[0036] Figure 3 The present invention provides a flowchart of a method for obtaining local similarity according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, characteristics and effects of a medical big data comprehensive management method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0039] The specific scheme of the comprehensive management method of medical big data provided by the present invention is described in detail below with reference to the accompanying drawings.
[0040] See also Figure 1 , which shows a flow chart of a comprehensive management method of medical big data provided by an embodiment of the present invention, specifically comprising:
[0041] Step S1: Obtain medical big data; the medical big data at least includes medical image data; classify all medical images of the same body part collected by the same instrument into one category; select any category of medical images as the initial image set.
[0042] In the embodiment of the present invention, the medical big data that needs to be compressed is first obtained to provide a data basis for subsequent analysis.
[0043] In one embodiment of the present invention, medical big data includes case text data, physiological signal data and medical image data, among which the amount of medical image data is huge, such as MRI, CT scans and X-rays, which are usually high-resolution and contain rich detail information. These high-quality image files are often very large and require a large amount of storage space; and medical images are an important basis for clinical diagnosis. Doctors analyze images to identify diseases, monitor disease progression and evaluate treatment effects. The subtle differences in image data may have a significant impact on diagnosis and treatment decisions. Therefore, it is very important to ensure the high quality and integrity of the image. Therefore, focusing on the analysis of medical images will help improve the processing and management efficiency of image data and ensure the accuracy and reliability of key diagnostic information.
[0044] The present invention takes into account the existence of redundant data in similar parts between highly similar medical images, and improves the compression efficiency of medical images, reduces storage space and facilitates management by compressing similar medical images together.
[0045] It should be noted that the embodiments of the present invention only involve the compression management of medical big data and do not involve specific medical diagnosis behaviors.
[0046] Considering that different medical images have different formats, such as image resolution and image size, which are usually related to the way the medical images are acquired, the medical images are classified according to the way they are acquired to facilitate the subsequent analysis of the similarity between images.
[0047] Preferably, in one embodiment of the present invention, considering that when the same instrument acquires images of the same body part, the obtained images have the same format and there is a certain similarity between the images of the same body part, all medical images of the same body part acquired by the same instrument are classified into one category.
[0048] Step S2: Analyze the overall grayscale similarity characteristics between images in the initial image set according to the peak change characteristics of the grayscale histogram, and divide the medical images in the initial image set into similar image sets.
[0049] In order to facilitate the subsequent compression of similar medical images together, the similarity between images is first analyzed from the perspective of overall grayscale similarity. Considering that the grayscale histogram is based on the grayscale value statistics of each pixel in the image, it can comprehensively reflect the distribution of grayscale levels in the image. Therefore, analyzing the grayscale histogram can effectively compare the overall grayscale similarity of the image. The acquisition and processing of the grayscale histogram is simple and efficient, and is suitable for large-scale image processing and analysis tasks. Therefore, according to the peak change characteristics of the grayscale histogram, the medical images in the initial image set are divided into similar image sets.
[0050] Preferably, in one embodiment of the present invention, considering that the highest peak in the grayscale histogram represents the grayscale with the highest frequency in the image, this grayscale occupies a large number of pixels in the image and is an important part of the image. In medical images, it usually corresponds to the grayscale of the main bones, tissues or other main structures, which is particularly important for medical images. Therefore, analysis is performed in a preset neighborhood of the grayscale corresponding to the highest peak; at the same time, compared with analyzing the entire histogram, processing the grayscale corresponding to the highest peak and its neighborhood can significantly reduce the amount of calculation and improve the analysis efficiency;
[0051] Based on this: according to the similar characteristics of the peak change in the preset neighborhood of the grayscale level corresponding to the highest peak of the grayscale histogram of any two medical images, the overall similarity between the corresponding two medical images is obtained; according to the overall similarity, the medical images in the initial image set are divided into similar image sets.
[0052] Preferably, in one embodiment of the present invention, considering that the preset neighborhood of the highest peak value includes gray values close to the main gray level, the pixels corresponding to these gray values are often also important components of the image, and the number of pixels corresponding to the gray levels with the same serial number in the two images is similar, which means that their distribution at these gray levels is similar, reflecting the similar features of the images at these gray levels, which is an effective method for evaluating the overall similarity of medical images; considering that the more similar the gray levels corresponding to the highest peak values are, it means that a large number of pixels of the two medical images are distributed at similar gray levels, and the greater the overall similarity of the medical images;
[0053] Based on this, according to the similar features of the number of pixels corresponding to each grayscale with the same serial number in the preset neighborhood of the grayscale corresponding to the highest peak in the grayscale histogram of any two medical images, combined with the similar features of the grayscale corresponding to the highest peak, the overall similarity between the corresponding two medical images is obtained.
[0054] As an example, the calculation formula for the overall similarity includes:
[0055] ;
[0056] in, Indicates that the sequence number in the initial image set is and serial number The overall similarity between two medical images is ; Indicates the number of gray levels in a preset neighborhood; Indicates that the sequence number in the initial image set is and serial number The similarity parameter of the gray level corresponding to the highest peak in the gray level histogram between two medical images is , Indicates the serial number is The gray level corresponding to the highest peak in the gray histogram of the medical image, Indicates the serial number is The gray level corresponding to the highest peak in the gray histogram of the medical image, Represents the zero division parameter, used to prevent the denominator from being zero. , Indicates taking the absolute value; Indicates the serial number is In the grayscale histogram of the medical image, in the preset neighborhood of the grayscale level corresponding to the highest peak, The number of pixels corresponding to each gray level; Indicates the serial number is In the grayscale histogram of the medical image, in the preset neighborhood of the grayscale level corresponding to the highest peak, The number of pixels corresponding to each gray level; Represents the standard normalization function.
[0057] In the calculation formula of the overall similarity, the similarity characteristics of the number of pixels corresponding to the same gray level are analyzed by taking the reciprocal of the absolute value of the difference in the number of pixels corresponding to the same gray level. The larger it is, the more similar the number of pixels corresponding to the same gray level is. The larger the value is, the more similar the number of pixels corresponding to the grayscale of all the same serial numbers is, the more similar the overall grayscale features of the two medical images are, and the greater the overall similarity is. The similarity features of the grayscale corresponding to the highest peak are analyzed by taking the reciprocal of the absolute value of the difference in grayscale corresponding to the peak value. The larger it is, the more similar the grayscale levels corresponding to the highest peaks are, the more similar the overall grayscale features of the two medical images are, and the greater the overall similarity is. .
[0058] In other embodiments of the present invention, it is also possible to use Other negative correlation functions are used to substitute the absolute value of the difference in the number of pixels corresponding to the gray level of the same sequence number or the absolute value of the difference in the gray level corresponding to the peak value to obtain the overall similarity; Indicated by natural constant The exponential function of base .
[0059] In another embodiment of the present invention, it is also considered that the similarity characteristics between the average grayscale values of medical images can also reflect the overall grayscale similarity characteristics between the images, so the overall similarity can also be obtained by combining the similarity characteristics between the average grayscale values of two medical images. As an example, the reciprocal of the absolute value of the difference between the average grayscale values of the two medical images is taken as the overall grayscale similarity correction parameter, and the overall grayscale similarity correction parameter is added to The product of is normalized as the overall similarity.
[0060] It should be noted that, in one embodiment of the present invention, is an even number, , take the left and right sides of the gray level corresponding to the highest peak gray levels, these 10 gray levels constitute a preset neighborhood of the gray level of the highest peak, and the preset neighborhood does not include the gray level corresponding to the highest peak; in other embodiments of the present invention, It can also be an odd number, taking the gray level on both sides of the highest peak. gray levels, and the preset neighborhood contains the gray level corresponding to the highest peak; implementers can adjust it at their own discretion.
[0061] In another embodiment of the present invention, considering that the change characteristics of the grayscale histogram can also analyze the overall grayscale similarity characteristics between images, the grayscale level is used as the horizontal coordinate and the number of pixels is used as the vertical coordinate to obtain the change curve of the grayscale histogram. Using similarity methods such as the DTW algorithm or Euclidean distance, the similarity of the change curves of the grayscale histograms of the two medical images is obtained as the overall similarity. These are technical means well known to those skilled in the art and will not be described in detail here.
[0062] Preferably, in one embodiment of the present invention, considering that the greater the overall similarity between different images, the more similar the images are as a whole, and the more likely they are to be classified into a similar image set, any medical image is selected from the current initial image set as the main image, and the medical image with an overall similarity to the current main image greater than a first preset threshold is used as a sub-image of the current main image, the current main image and all sub-images constitute a similar image set, and the initial image set is reconstructed after the similar image set is removed from the initial image set;
[0063] The process of separating similar image sets from the current initial image set is repeated to obtain all similar image sets.
[0064] For example, there are now 100 medical images constituting an initial image set, and a medical image is selected as the main image. Assuming that the overall similarity between 23 medical images and the selected main image is higher than a first preset threshold value, such as 0.65, then these 23 images are used as sub-images, and together with the main image, they constitute a similar image set with 24 images. The remaining 76 images reconstitute the initial image set, reselect the main image and screen the corresponding sub-images to obtain the next similar image set; until the overall similarities between the remaining medical images in the latest initial image set are all less than or equal to the first preset threshold value.
[0065] It should be noted that, in one embodiment of the present invention, the first preset threshold is 0.65, and in other embodiments of the present invention, the implementer may adjust it by himself.
[0066] Step S3: In each similar image set, the pixels in the medical image are arranged in order according to the gradient values in the grayscale gradient image, and the medical images in the similar image set are divided into medical image groups to be compressed based on the similar characteristics of the pixel distribution in a preset local neighborhood corresponding to the pixels of the same order between the medical images.
[0067] Taking into account that the overall grayscale similarity can effectively screen out image sets that are similar in overall shape, but cannot capture the local details and edge information of the image, the local gradient similarity can further refine the analysis of the edges and detail structures in the image. The gradient information can be used to more accurately evaluate the similarity of the image at local angles. Taking into account the same gradient value order of different images, it reflects the same relative gradient strength of different images. The pixels may be pixels of the same tissue area. The local gradient similarity features of pixels of the same order are used to analyze the local gradient similarity features between medical images, which is more conducive to analyzing the consistency of medical images in local structure and detail features, thereby dividing the medical images in the similar image set into medical image groups to be compressed.
[0068] Preferably, in one embodiment of the present invention, the method for obtaining the medical image group to be compressed includes:
[0069] See also Figure 2 , which shows a flow chart of a method for obtaining a medical image group to be compressed provided by an embodiment of the present invention, specifically comprising:
[0070] Step S201: in each similar image set, the local similarity corresponding to each sub-image is obtained according to the similarity characteristics of the inner pixel distribution of the preset local neighborhood of the pixels with the same sequence number in the arrangement sequence of each sub-image and the main image.
[0071] Considering that the similar image set is obtained by analyzing the overall grayscale similarity between the secondary image and the main image, the overall grayscale similarity between the secondary image and the main image is relatively large, which is more conducive to analyzing the similarity between medical images. Therefore, the similarity features of the preset local neighborhood of pixels with the same serial number in the arrangement order of each secondary image and the main image are also compared. At the same time, the large amount of calculation generated by comparing all two medical images in the similar image set is avoided, thereby speeding up the analysis and improving the processing efficiency.
[0072] Step S202: Divide the medical images in the similar image set into a group of medical images to be compressed according to local similarity.
[0073] Classifying images with high local similarity into the same group can more effectively utilize the similarity during the compression process, reduce redundant data, and improve compression efficiency; it can also ensure that the compressed images retain important diagnostic information and detail features, thereby maintaining the high quality and practicality of medical images during storage and transmission.
[0074] It should be noted that the method of obtaining the grayscale gradient image is a technical means well known to those skilled in the art. In one embodiment of the present invention, the Sobel operator is used for implementation, which will not be described in detail here.
[0075] Preferably, in one embodiment of the present invention, the method for obtaining local similarity includes:
[0076] See also Figure 3 , which shows a flow chart of a method for obtaining local similarity provided by an embodiment of the present invention, specifically comprising:
[0077] Step S301: In the pixel sequence, select a second preset number of pixels from large to small according to the gradient value as the pixels to be analyzed; in the preset local neighborhood of the pixel to be analyzed, remove the pixels whose grayscale value difference with the pixel to be analyzed is greater than the third preset threshold, and the remaining pixels are taken as local similar pixels.
[0078] Considering that when medical images show disease states such as contusions and fractures, medical images will show significant differences. For example, contusions may cause swelling and bruising of soft tissues, resulting in changes in local density, while fractures may change the morphology and structure of bones. These changes will cause the grayscale image of the affected part to show an overall grayscale distribution and structural characteristics that are different from the normal state, and then show obvious gradient features on the image. The larger the gradient value, the smaller the pixel points are. Therefore, the pixel points are sorted from large to small according to the gradient value; considering that the analysis of all pixel points requires a large amount of calculation, the number of pixel points to be analyzed is limited by the second preset number value, and the pixel points to be analyzed are selected from large to small according to the gradient value.
[0079] Considering that within the preset local neighborhood of the pixel to be analyzed, the pixels with a large difference in grayscale value from the pixel to be analyzed may not belong to the same tissue area as the pixel to be analyzed and may belong to an irrelevant area, these pixels are excluded to avoid interference in the subsequent analysis of local similar features.
[0080] As an example, the second preset number value is 20, the third preset threshold value is 5%, the preset local neighborhood is a circle, the center of the circle is the pixel to be analyzed, and the radius is 5. The ratio of the absolute value of the grayscale value difference between the pixel in the preset local neighborhood and the pixel to be analyzed at the center to the total grayscale level 256 is used as the difference parameter corresponding to the pixel in the preset local neighborhood, and the pixels with difference parameters greater than or equal to 5% are eliminated.
[0081] In other embodiments of the present invention, implementers may set other second preset quantity values, third preset thresholds, and shapes and sizes of preset local neighborhoods.
[0082] Step S302: obtaining a local density parameter corresponding to each pixel to be analyzed in each sub-image according to the local density features of the local similar pixels corresponding to the pixel to be analyzed with the same serial number in each sub-image and the main image.
[0083] Taking into account the density changes of local similar pixels caused by symptoms such as tumors and inflammation in the lesion area, the local density characteristics of local similar pixels are analyzed to obtain the local density parameters corresponding to each pixel to be analyzed.
[0084] As an example, the calculation formula of the local density parameter includes: , Indicates that in the current similar image set, In the sub-picture The local density parameter corresponding to the pixel to be analyzed; Indicates that in the current similar image set, The number of local similar pixels in a preset local neighborhood of the pixel to be analyzed; Indicates that in the current similar image set, In the sub-picture The number of local similar pixels in a preset local neighborhood of the pixel to be analyzed; Represents the standard normalization function. In the formula, the local density feature is characterized by the number of local similar pixels corresponding to all the pixels to be analyzed with the same serial number. The more local similar pixels there are, the greater the density of pixels similar to the pixels to be analyzed at the center in the preset local neighborhood, the more likely it is to be a lesion area, the more important it is for medical images, the greater the weight to be given, and the larger the local density parameter.
[0085] In other embodiments of the present invention, implementers may also use other positive correlation mapping functions to adjust the sensitivity of the number of local similar pixels, such as , Indicated by natural constant The exponential function of base .
[0086] Step S303: according to the quantity similarity feature of the local similar pixels corresponding to the pixels to be analyzed with the same sequence number in each sub-image and the main image, obtain the quantity similarity parameter corresponding to each pixel to be analyzed in each sub-image.
[0087] Taking into account the similarity in the number of local similar pixels corresponding to the pixels to be analyzed with the same serial number in the secondary image and the main image, it reflects the local similarity of pixels with the same relative gradient intensity, so the similarity parameter of the number corresponding to each pixel to be analyzed is obtained.
[0088] As an example, in the current similar image set, the reciprocal of the absolute value of the difference in the number of locally similar pixels corresponding to the pixels to be analyzed with the same serial number in the sub-image and the main image is taken to obtain the quantity similarity parameter corresponding to each pixel to be analyzed in the sub-image, and the quantity similarity feature of the locally similar pixels is analyzed by taking the reciprocal of the absolute value of the difference in the number of locally similar pixels corresponding to the pixels to be analyzed with the same serial number in the sub-image and the main image.
[0089] As another example, in the current similar image set, the absolute value of the difference between the number of local similar pixels corresponding to the pixels to be analyzed with the same serial number in the secondary image and the main image is mapped to a negative correlation mapping function such as In the example, the quantitative similarity characteristics of local similar pixels are characterized, and the quantitative similarity parameters corresponding to each pixel to be analyzed in the sub-image are obtained.
[0090] Step S304: Obtain the local similarity corresponding to each sub-image according to all local density parameters and quantity similarity parameters corresponding to each sub-image.
[0091] The local density parameter reflects the attention paid to the pixel to be analyzed and its preset local neighborhood in the sub-image. The larger the local density parameter, the more attention the pixel to be analyzed receives and the higher the weight, so the local similarity is positively correlated with the local density parameter; the quantity similarity parameter reflects the similarity between the preset local neighborhood of the pixel to be analyzed in the sub-image and the local neighborhood of the pixel to be analyzed with the same sequence number in the main image. Therefore, according to all local density parameters and quantity similarity parameters corresponding to each sub-image, the similar characteristics of the pixel distribution in the preset local neighborhood corresponding to the pixels of the same sequence between medical images are analyzed from the two perspectives of distribution density and distribution quantity, and the local similarity corresponding to each sub-image is obtained.
[0092] As an example, the sum of the products of the local density parameter and the quantity similarity parameter corresponding to all the pixels to be analyzed in the sub-image is normalized and used as the local similarity corresponding to the sub-image.
[0093] It should be noted that, when there are multiple pixels with the same gradient value, they are sorted according to the Euclidean distance to the adjacent pixel with the larger gradient value.
[0094] In another embodiment of the present invention, it is also considered that the higher the overlap of local similar pixels of the pixels to be analyzed with the same serial number, the greater the local similarity. Therefore, the overlap can also be obtained according to the distribution position of the local similar pixels. In view of the possible differences in shooting angles, the local neighborhoods of the two pixels to be analyzed with the same serial number can be overlapped with the center of a circle and then rotated to obtain the ratio of the overlapping pixels to all local similar pixels when the overlap of local similar pixels is the highest. The position similarity parameter is obtained, and the similarity characteristics of the pixel distribution are analyzed from the perspective of the distribution position to replace the quantity similarity parameter in step S303, or to supplement it in step S304. The similarity characteristics of the pixel distribution in the preset local neighborhood corresponding to the pixels of the same order between medical images are analyzed in a variety of ways.
[0095] Preferably, in one embodiment of the present invention, considering that the greater the local similarity, the stronger the local similarity between the secondary image and the main image, in each similar image set, the secondary image and the main image whose local similarity is greater than the fourth preset threshold together constitute a medical image group to be compressed. As an example, the fourth preset threshold is 0.45.
[0096] Step S4: compress and store the medical images of each medical image group to be compressed together.
[0097] Traverse all initial image sets to obtain all medical image groups to be compressed; compress the medical images of each medical image group to be compressed together. Due to the presence of a large amount of identical information, a higher compression efficiency can be achieved under the processing of the compression algorithm. This method helps to reduce storage space requirements, improve data transmission efficiency, and will not lose important medical information.
[0098] Preferably, in one embodiment of the present invention, the compression algorithm used when compressing the medical image group to be compressed is a dictionary learning algorithm. In other embodiments of the present invention, the implementer may also use a compression algorithm based on block matching and compensation, which are both technical means well known to those skilled in the art and will not be described in detail here.
[0099] It should be noted that the medical images that are not in the group of medical images to be compressed are still compressed one by one using traditional image compression algorithms, such as the JPEG algorithm.
[0100] It should be noted that for non-image medical data, such as case text data, physiological signal data, etc., Hough coding can be used for compression to complete the comprehensive management of medical big data, thereby reducing storage costs and making medical big data easier to manage, back up or transmit. Hough coding is a technical means well known to those skilled in the art and will not be described in detail here.
[0101] In summary, the present invention aims at the technical problem that traditional image compression methods cannot meet the compression requirements of medical big data, and the present invention provides a comprehensive management method for medical big data. The present invention first obtains medical big data containing medical images and classifies the medical images, and selects any type of medical images as the initial image set; further, according to the overall grayscale similarity features between the images in the initial image set, the medical images in the initial image set are divided into similar image sets; further, according to the local gradient similarity features of the medical images in each similar image set, the medical images in the similar image set are divided into medical image groups to be compressed; finally, the medical images in each medical image group to be compressed are compressed and stored together. The present invention evaluates the similarity between medical images from three perspectives: the acquisition method of medical images, the overall grayscale similarity features, and the local gradient similarity features. By compressing similar medical images together, the compression efficiency of medical images is improved, the storage space is reduced and management is facilitated, and the compression requirements of medical big data are better met.
[0102] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0103] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A comprehensive management method for medical big data, characterized in that: The method comprises: Obtaining medical big data; the medical big data at least includes medical image data; classifying all the medical images of the same body part collected by the same instrument into one category; selecting any one category of medical images as an initial image set; Analyzing overall grayscale similarity characteristics between images in the initial image set according to peak value variation characteristics of the grayscale histogram, and dividing the medical images in the initial image set into similar image sets; In each of the similar image sets, the pixels in the medical images are arranged in order according to the gradient values in the grayscale gradient image, and the medical images in the similar image set are divided into medical image groups to be compressed according to similar features of pixel distribution in a preset local neighborhood corresponding to pixels of the same order between the medical images; Compressing and storing the medical images of each of the medical image groups to be compressed respectively; The method for obtaining the similar image set includes: According to the similarity characteristics of the peak value change in the preset neighborhood of the grayscale level corresponding to the highest peak value of the grayscale histogram of any two of the medical images, the overall similarity between the corresponding two medical images is obtained; according to the similarity characteristics of the number of pixels corresponding to each grayscale level with the same serial number in the preset neighborhood of the grayscale level corresponding to the highest peak value in the grayscale histogram of any two of the medical images, combined with the similarity characteristics of the grayscale level corresponding to the highest peak value, the overall similarity between the corresponding two medical images is obtained; dividing the medical images in the initial image set into the similar image set according to the overall similarity; The method for dividing the medical images in the initial image set into similar image sets according to the overall similarity comprises: From the current initial image set, any one of the medical images is selected as a main image, and the medical image whose overall similarity with the current main image is greater than a first preset threshold is used as a sub-image of the current main image, the current main image and all the sub-images constitute a similar image set, and the initial image set is reconstructed after removing the similar image set from the initial image set; Repeat the process of separating the similar image set from the current initial image set to obtain all similar image sets; The method for obtaining the medical image group to be compressed comprises: In each of the similar image sets, according to similar features of the distribution of pixels in a preset local neighborhood of pixels with the same sequence number in the arrangement sequence of each of the secondary images and the main image, a local similarity corresponding to each of the secondary images is obtained; Dividing the medical images in the similar image set into the medical image group to be compressed according to the local similarity; The method for obtaining the local similarity includes: In the pixel point sequence, a second preset number of pixel points are selected from large to small gradient values as the pixel points to be analyzed; in the preset local neighborhood of the pixel points to be analyzed, the pixel points whose grayscale value difference with the pixel points to be analyzed is greater than a third preset threshold are eliminated, and the remaining pixel points are taken as local similar pixel points; According to the local density features of the local similar pixels corresponding to the pixels to be analyzed of the same serial number in each of the sub-images and the main image, the local density parameter corresponding to each pixel to be analyzed in each of the sub-images is obtained; the local density features are characterized by the number of local similar pixels corresponding to all the pixels to be analyzed of the same serial number, and the greater the number of local similar pixels, the greater the density of pixels similar to the pixel to be analyzed at the center in the preset local neighborhood, and the greater the local density parameter; According to the quantity similarity feature of the local similar pixels corresponding to the pixels to be analyzed of the same sequence number in each of the sub-images and the main image, a quantity similarity parameter corresponding to each of the pixels to be analyzed in each of the sub-images is obtained; the quantity similarity feature is the quantity similarity parameter; According to all the local density parameters and the quantity similarity parameters corresponding to each sub-image, the local similarity corresponding to each sub-image is obtained; the local similarity is positively correlated with the local density parameter; the sum of the products of the local density parameters and the quantity similarity parameters corresponding to all the pixels to be analyzed in the sub-image is normalized and used as the local similarity corresponding to the sub-image.
2. A comprehensive management method for medical big data according to claim 1, characterized in that: The method for dividing the medical images in the similar image set into the medical image group to be compressed according to the local similarity comprises: In each of the similar image sets, the secondary images and the main image whose local similarity is greater than a fourth preset threshold jointly form a medical image group to be compressed.
3. A comprehensive management method for medical big data according to claim 1, characterized in that: The compression algorithm used when compressing the medical image group to be compressed is a dictionary learning algorithm.
4. A comprehensive management method for medical big data according to claim 1, characterized in that: The medical images that are not in the group of medical images to be compressed are compressed one by one.
Citation Information
Patent Citations
Neurology image compression transmission method for telemedicine
CN117640932A
Histogram-based iris image enhancement method, apparatus and device, and storage medium
WO2019223069A1
