A data security storage method for an intelligent traditional Chinese medicine rehabilitation management system
By analyzing the grayscale distribution and regional characteristics of medical images, correcting pixel distribution similarity, clustering and matching, the problem of low information hiding efficiency in the existing technology is solved and a more efficient information hiding process is achieved.
Patent Information
- Application Number
- CN202410888679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-04
AI Technical Summary
The application of existing histogram shift reversible information hiding algorithms in medical imaging images has high computational complexity and time cost, which reduces the efficiency of information hiding.
By analyzing the similarity of pixel grayscale distribution of medical images to be stored, the area is divided, the main distribution characteristics and tissue areas are screened, the pixel distribution similarity is corrected, cluster clustering and matching are performed, and embedding parameters are obtained for information hiding.
It improves the information hiding efficiency of medical imaging images, accurately determines matching similarity, and reduces the amount of information hiding calculations.
Smart Images

Figure CN118412102B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data protection, and in particular to a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system. Background Art
[0002] The intelligent TCM rehabilitation management system provides personalized and efficient treatment plans for TCM rehabilitation by integrating advanced data analysis and artificial intelligence algorithms. The intelligent TCM rehabilitation management system stores the patient's medical images. Since the medical images contain the patient's disease information, if the medical images are tampered with by unauthorized personnel, it will affect the doctor's diagnosis results and the accuracy of the treatment plan. Therefore, it is necessary to hide the information of the medical images in the intelligent TCM rehabilitation management system.
[0003] At present, medical images are usually subjected to histogram shift reversible information hiding to achieve the purpose of protecting the integrity of medical images. Since the existing histogram shift reversible information hiding algorithm involves complex calculation process and medical images have high resolution, the amount of calculation when calculating embedding parameters (i.e., embedding capacity and peak value) is large, and the calculation process has a high time cost, which reduces the information hiding efficiency of medical images. Summary of the invention
[0004] The present invention provides a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system to solve the existing problems.
[0005] The data security storage method of an intelligent traditional Chinese medicine rehabilitation management system of the present invention adopts the following technical scheme:
[0006] An embodiment of the present invention provides a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system, the method comprising the following steps:
[0007] Acquire a plurality of medical images to be stored, a plurality of stored medical images, and an embedding parameter of each stored medical image;
[0008] According to the grayscale distribution of pixels in each of the two medical images to be stored, the pixel distribution similarity of each of the two medical images to be stored is obtained;
[0009] Each medical image to be stored is divided into a number of area ranges; according to the difference of grayscale distribution characteristics between the area ranges in each medical image to be stored, the main distribution characteristics and main tissue areas of each medical image to be stored are screened;
[0010] According to the difference of the main distribution features of each two medical images to be stored and the position difference of the main tissue areas, the main distribution similarity of each two medical images to be stored is obtained; according to the main distribution similarity of each two medical images to be stored, the pixel distribution similarity is corrected to obtain the matching similarity of each two medical images to be stored;
[0011] According to the matching similarity of every two medical images to be stored, several clusters to be stored and the representative image of each cluster to be stored are obtained; several stored clusters and the representative image of each stored cluster are obtained; the representative image of each cluster to be stored is matched with the representative image of the stored cluster to obtain the embedding parameter of each medical image to be stored; and the information of each medical image to be stored is hidden and stored according to the embedding parameter of each medical image to be stored.
[0012] Furthermore, the pixel distribution similarity of each two medical images to be stored is obtained according to the grayscale distribution of pixels in each two medical images to be stored, and the specific steps include the following:
[0013] For any medical image to be stored, the grayscale level with the largest number of pixels in the medical image to be stored is recorded as the peak grayscale level of the medical image to be stored; and the grayscale characteristic value of the medical image to be stored is obtained according to the grayscale distribution of the pixels except the peak grayscale level in the medical image to be stored;
[0014] According to the difference in peak grayscale levels and grayscale characteristic values between every two medical images to be stored, the pixel distribution similarity between every two medical images to be stored is obtained.
[0015] Furthermore, the grayscale characteristic value of the medical image to be stored is obtained according to the grayscale distribution of the pixels except the peak grayscale level in the medical image to be stored, and the specific steps include the following:
[0016] The mean value of the number of pixel points of all gray levels except the peak gray level in the medical image to be stored is recorded as the gray level value of the medical image to be stored; the variance of the number of pixel points of all gray levels except the peak gray level is recorded as the gray discrete value of the medical image to be stored; the product of the gray level value and the gray discrete value of the medical image to be stored is recorded as the gray characteristic value of the medical image to be stored.
[0017] Furthermore, the method for acquiring the grayscale distribution characteristics of the region range includes:
[0018] For any region of any medical image to be stored, the gray level with the least number of pixels in the medical image to be stored is recorded as the zero-point gray level of the medical image to be stored; and the validity of the region is obtained according to the proportion of pixels other than the zero-point gray level in all pixels in the region;
[0019] Obtaining a distribution base value of the region according to a difference between a mean value of gray values of all pixels within the region except for the zero gray level and a peak gray level of the medical image to be stored;
[0020] The normalized result of the product of the effectiveness of the region and the distribution base value is recorded as the grayscale distribution feature of the region.
[0021] Furthermore, the method of obtaining the distribution base value of the region range according to the difference between the gray value mean of all pixels in the region range except the zero gray level and the peak gray level of the medical image to be stored includes the following specific steps:
[0022] The absolute value of the difference between the mean grayscale value of all pixels in the region except the zero grayscale and the peak grayscale of the medical image to be stored is calculated, and the inversely proportional normalized value of the result is recorded as the distribution base value of the region.
[0023] Furthermore, the method of screening and obtaining the main distribution characteristics and main tissue areas of each medical image to be stored according to the difference in grayscale distribution characteristics between the regional ranges in each medical image to be stored includes the following specific steps:
[0024] For any medical image to be stored, the maximum value of the grayscale distribution characteristics of all regional ranges in the medical image to be stored is obtained, and recorded as the standard characteristic value of the medical image to be stored; the grayscale distribution characteristics of all regional ranges in the medical image to be stored, whose absolute value of the difference with the standard characteristic value is less than a preset characteristic threshold, are recorded as reference characteristic values of the medical image to be stored; the mean value of all reference characteristic values of the medical image to be stored is recorded as the main distribution feature of the medical image to be stored; the regional range corresponding to the standard characteristic value and the regional range corresponding to each reference characteristic value are respectively recorded as a main tissue area of the medical image to be stored.
[0025] Furthermore, the main distribution similarity of each two medical images to be stored is obtained according to the difference in the main distribution features and the position difference of the main tissue regions of each two medical images to be stored, and the specific steps include the following:
[0026] For any two medical images to be stored, the inversely proportional normalized value of the absolute value of the difference between the main distribution features of the two medical images to be stored is recorded as the main similarity of the two medical images to be stored; the number of main tissue areas with the same position of the two medical images to be stored is recorded as the position similarity of the two medical images to be stored; the product of the main similarity and the position similarity of the two medical images to be stored is recorded as the main distribution similarity of the two medical images to be stored.
[0027] Furthermore, the pixel distribution similarity is corrected according to the main distribution similarity of each two medical images to be stored to obtain the matching similarity of each two medical images to be stored, and the specific steps include the following:
[0028] The product of the main distribution similarity and the pixel distribution similarity of any two medical images to be stored is recorded as the matching similarity of the two medical images to be stored.
[0029] Furthermore, the method of obtaining a plurality of clusters to be stored and a representative image of each cluster to be stored according to the matching similarity of each two medical images to be stored includes the following specific steps:
[0030] The inversely proportional normalized value of the matching similarity between every two medical images to be stored is recorded as the matching distance value of the corresponding two medical images to be stored; according to the matching distance value between the medical images to be stored, the silhouette coefficient method is used to obtain the optimal number of clustering clusters; the medical images to be stored are clustered by the K-means clustering algorithm using the optimal number of clustering clusters, and the distance measurement uses the matching distance value between the medical images to be stored to obtain a number of clusters to be stored; for any cluster to be stored, the medical image to be stored in the cluster to be stored that has the greatest matching similarity with the medical image to be stored in the cluster to be stored is recorded as the representative image of the cluster to be stored.
[0031] Furthermore, the matching of the representative image of each cluster to be stored with the representative image of the stored cluster to obtain the embedding parameters of each medical image to be stored includes the following specific steps:
[0032] According to the method for obtaining the matching similarity of every two medical images to be stored, the matching similarity between the representative image of each cluster to be stored and the representative image of each stored cluster is obtained; for any representative image of the cluster to be stored, the embedding parameters of the representative image of the stored cluster with the greatest matching similarity with the representative image are recorded as the embedding parameters of each medical image to be stored in the cluster to be stored.
[0033] The beneficial effects of the technical solution of the present invention are as follows: the present invention makes a preliminary judgment on the similarity of each two medical images to be stored by analyzing the similarity of the grayscale distribution of pixels in each two medical images to be stored; since the similarity of each two medical images to be stored is judged only based on the grayscale distribution of pixels, the similarity of the distribution positions of the main tissues in each two medical images to be stored is not judged, the medical images to be stored are divided into regional ranges, and each regional range is analyzed to obtain the grayscale distribution characteristics of each regional range, and the main distribution characteristics and main tissue areas of each medical image to be stored are obtained according to the differences in the grayscale distribution characteristics between the regional ranges in the medical images to be stored, so as to more accurately judge the distribution positions of the main tissues in each medical image to be stored; the pixel distribution similarity is corrected by using the differences in the main distribution characteristics and main tissue areas between the medical images to be stored to obtain the matching similarity between the medical images to be stored, so as to accurately judge the matching similarity between the medical images to be stored. The present invention clusters and matches the medical images to be stored by matching similarities, obtains the embedding parameters of each medical image to be stored, and then hides and stores the information of the medical images to be stored, thereby improving the information hiding efficiency of the medical images to be stored. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be 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.
[0035] Figure 1 The present invention is a flowchart of the steps of a data security storage method of an intelligent traditional Chinese medicine rehabilitation management system. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the data security storage method of an intelligent traditional Chinese medicine rehabilitation management system proposed by the present invention, its specific implementation method, structure, characteristics and effects are described in detail as follows 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.
[0037] 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.
[0038] The specific scheme of the data security storage method of the intelligent traditional Chinese medicine rehabilitation management system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0039] See also Figure 1 , which shows a flowchart of a data security storage method of an intelligent traditional Chinese medicine rehabilitation management system provided by an embodiment of the present invention, the method comprising the following steps:
[0040] Step S001: obtaining a plurality of medical images to be stored, a plurality of stored medical images, and an embedding parameter of each stored medical image.
[0041] It should be noted that the purpose of the embodiment is to match the medical image to be stored with the stored medical image by judging the similarity between the medical image to be stored and the stored medical image, and use the embedded parameters of the matched stored medical image to perform information hiding processing on the medical image to be stored, so as to achieve the purpose of reducing the amount of information hiding calculation and improving the efficiency of information hiding. Therefore, it is necessary to first obtain a number of medical images to be stored, a number of stored medical images, and the embedding parameters of each stored medical image, wherein the embedding parameters include the embedding capacity and the peak value.
[0042] Specifically, a number of medical images with hidden information are obtained in the intelligent traditional Chinese medicine rehabilitation management system, and each of the medical images with hidden information is restored to obtain a number of stored medical images, and the embedded parameters of each stored medical image are obtained; a number of medical images to be stored are obtained; among which, the method for restoring the medical images with hidden information and the method for obtaining the embedded parameters are well-known technologies, and the specific methods are not introduced here.
[0043] Step S002: according to the grayscale distribution of pixels in each two medical images to be stored, obtain the pixel distribution similarity of each two medical images to be stored.
[0044] It should be noted that due to the different acquisition methods and acquisition sites between the medical images to be stored, the pixels in the medical images to be stored have different distribution characteristics. When using histogram shift reversible information hiding, the embedding parameters of the medical images to be stored with similar distribution characteristics are relatively close. Based on this, this embodiment uses the embedding parameters of the stored medical images as the embedding parameters of the corresponding matching medical images to be stored, thereby reducing the amount of information hiding calculations. Therefore, it is necessary to judge the similarity of the distribution characteristics between the medical images to be stored to provide data basis for subsequent clustering, matching and information hiding operations. Therefore, it is first necessary to obtain the pixel distribution similarity of each two medical images to be stored based on the grayscale distribution of the pixels in each two medical images to be stored. That is, the pixel distribution similarity initially uses the grayscale distribution between the images to characterize the similarity.
[0045] Preferably, in one embodiment of the present invention, for any medical image to be stored, the grayscale level with the largest number of pixels in the medical image to be stored is recorded as the peak grayscale level of the medical image to be stored; and the grayscale characteristic value of the medical image to be stored is obtained according to the grayscale distribution of the pixels except the peak grayscale level in the medical image to be stored;
[0046] According to the difference in peak grayscale levels and grayscale characteristic values between every two medical images to be stored, the pixel distribution similarity between every two medical images to be stored is obtained.
[0047] It should be noted that by using the peak grayscale level and grayscale eigenvalue as important grayscale distribution basis, the pixel distribution similarity of each two medical images to be stored is calculated more accurately according to the similarity of the peak grayscale level and grayscale eigenvalue of each two medical images to be stored.
[0048] Preferably, the method for obtaining the grayscale feature value of any medical image to be stored includes:
[0049] The mean value of the number of pixel points of all gray levels except the peak gray level in the medical image to be stored is recorded as the gray level value of the medical image to be stored; the variance of the number of pixel points of all gray levels except the peak gray level is recorded as the gray discrete value of the medical image to be stored; the product of the gray level value and the gray discrete value of the medical image to be stored is recorded as the gray characteristic value of the medical image to be stored.
[0050] It should be noted that the grayscale level value of the medical image to be stored reflects the overall grayscale level of the medical image to be stored, and the grayscale discrete value of the medical image to be stored reflects the discrete degree of the grayscale distribution of the medical image to be stored. The grayscale level value and grayscale discrete value of the medical image to be stored are used as characteristic values of the grayscale distribution of the medical image to be stored.
[0051] Specifically, the method for obtaining the pixel distribution similarity of every two medical images to be stored includes:
[0052] For any two medical images to be stored, the inversely proportional normalized value of the absolute value of the difference in peak grayscale levels of the two medical images to be stored is recorded as the peak similarity of the two medical images to be stored; the inversely proportional normalized value of the absolute value of the difference in grayscale feature values of the two medical images to be stored is recorded as the grayscale similarity of the two medical images to be stored; the product of the peak similarity and grayscale similarity of the two medical images to be stored is recorded as the pixel distribution similarity of the two medical images to be stored.
[0053] As an example, pixel distribution similarity is formulated as:
[0054]
[0055] In the formula, For the The medical images to be stored and Similarity of pixel distribution of medical images to be stored; For the The peak gray level of the medical image to be stored; For the The peak gray level of the medical image to be stored; For the Grayscale feature values of medical images to be stored; For the Grayscale feature values of the medical images to be stored; is an exponential function with a natural constant as base; is the absolute value function.
[0056] It should be noted that Indicates The medical images to be stored and The peak similarity of the medical images to be stored is larger, The medical images to be stored and The higher the peak similarity of the medical images to be stored, the The medical images to be stored and The higher the similarity of pixel distribution of the medical images to be stored; Indicates The medical images to be stored and The grayscale similarity of the medical images to be stored is larger, The medical images to be stored and The closer the grayscale distribution of the pixels of the medical images to be stored is, the The medical images to be stored and The higher the similarity of pixel distribution of the medical images to be stored, the higher the similarity of pixel distribution of the medical images to be stored.
[0057] Step S003: Divide each medical image to be stored into a number of area ranges; and screen and obtain the main distribution characteristics and main tissue areas of each medical image to be stored according to the differences in grayscale distribution characteristics between the area ranges in each medical image to be stored.
[0058] It should be noted that after obtaining the pixel distribution similarity of each two medical images to be stored, the similarity of each two medical images to be stored is judged only based on the similarity of the grayscale distribution of the pixels in the medical images to be stored, and the distribution position of the main tissues in the medical images to be stored is not judged, resulting in a decrease in the accuracy of judging the similarity of each two medical images to be stored. Therefore, it is necessary to correct the pixel distribution similarity according to the distribution position characteristics of the main tissues in the medical images to be stored. Therefore, the embodiment of the present invention needs to further obtain the main tissue area in the medical images to be stored, so each medical image to be stored is divided into a regional range, and the main distribution characteristics and main tissue area of each medical image to be stored are screened according to the difference in grayscale distribution characteristics between the regional ranges in each medical image to be stored.
[0059] Specifically, each medical image to be stored is divided into Area range; among them, is the preset area range number, This embodiment is described using this as an example;
[0060] Preferably, an embodiment of the present invention takes into account that the histogram shift reversible information hiding algorithm is based on the peak grayscale level of each medical image to be stored to perform a histogram shift. Therefore, by calculating the difference between the grayscale value of the pixel point in each area and the peak grayscale level of the medical image to be stored, combined with the effectiveness of the area, the grayscale distribution characteristics of each area are judged.
[0061] For any area range of any medical image to be stored, the gray level with the least number of pixels in the medical image to be stored is recorded as the zero-point gray level of the medical image to be stored; the effectiveness of the area range is obtained according to the proportion of pixels other than the zero-point gray level in all pixels in the area range; that is, in an embodiment of the present invention, the effectiveness is the ratio of the number of all pixels in the area range except the zero-point gray level to the number of all pixels in the area range.
[0062] It should be noted that in the histogram shift reversible information hiding process, the zero-point grayscale is used to embed secret information in the subsequent information hiding process. The importance of all pixels of zero-point grayscale before information hiding is lower than that of pixels of other grayscales. Therefore, the higher the proportion of all pixels in the area except the zero-point grayscale in all pixels in the area, the greater the effectiveness of the area.
[0063] Obtaining a distribution base value of the region according to a difference between a mean value of gray values of all pixels within the region except for the zero gray level and a peak gray level of the medical image to be stored;
[0064] It should be noted that the closer the overall grayscale values of all pixels within the region except the zero grayscale are to the peak grayscale of the medical image to be stored, the larger the distribution base value of the region, and the greater the possibility that the region belongs to the main tissue area.
[0065] The result of linear normalization of the product of the effective degree of the area range and the distribution basic value is recorded as the grayscale distribution feature of the area range; wherein the object of linear normalization is the product of the effective degree of all area ranges and the distribution basic value.
[0066] It should be noted that the higher the effectiveness of the regional scope and the larger the distribution base value, the more major organizations are distributed within the regional scope.
[0067] Preferably, for any region range of any medical image to be stored, the method for obtaining the distribution base value of the region range includes:
[0068] The absolute value of the difference between the mean grayscale value of all pixels in the region except the zero grayscale and the peak grayscale of the medical image to be stored is calculated, and the inversely proportional normalized value of the result is recorded as the distribution base value of the region.
[0069] As an example, the distribution base value is formulated as:
[0070]
[0071] In the formula, For the The first medical image to be stored The distribution base value of the area range; For the The first medical image to be stored The mean gray value of all pixels except the zero gray level within the region; For the The peak gray level of the medical image to be stored; is the absolute value function; is an exponential function with a natural constant as its base.
[0072] Specifically, for any medical image to be stored, the maximum value of the grayscale distribution characteristics of all regional ranges in the medical image to be stored is obtained, and recorded as the standard characteristic value of the medical image to be stored; the grayscale distribution characteristics of all regional ranges in the medical image to be stored, whose absolute value of the difference with the standard characteristic value is less than a preset characteristic threshold, are recorded as reference characteristic values of the medical image to be stored; the mean value of all reference characteristic values of the medical image to be stored is recorded as the main distribution feature of the medical image to be stored; the regional range corresponding to the standard characteristic value and the regional range corresponding to each reference characteristic value are respectively recorded as a main tissue area of the medical image to be stored.
[0073] Step S004: obtaining the main distribution similarity of each two medical images to be stored based on the difference in main distribution features and the position difference of main tissue areas of each two medical images to be stored; correcting the pixel distribution similarity based on the main distribution similarity of each two medical images to be stored to obtain the matching similarity of each two medical images to be stored.
[0074] It should be noted that after obtaining the main tissue area and main distribution features of each medical image to be stored, it is necessary to judge the similarity of the distribution position of the main tissue in the medical image to be stored according to the similarity of the position of the main tissue area and the main distribution features between the medical images to be stored, and correct the pixel distribution similarity accordingly, so as to more accurately judge the similarity between the medical images to be stored. First, the main distribution similarity is obtained by using the similarity of the main distribution features and the main tissue area between the medical images to be stored, and then the pixel distribution similarity is corrected by using the main distribution similarity to obtain the matching similarity.
[0075] Specifically, for any two medical images to be stored, the inversely proportional normalized value of the absolute value of the difference between the main distribution features of the two medical images to be stored is recorded as the main similarity of the two medical images to be stored; the number of main tissue regions with the same position of the two medical images to be stored is recorded as the position similarity of the two medical images to be stored; the product of the main similarity and the position similarity of the two medical images to be stored is recorded as the main distribution similarity of the two medical images to be stored;
[0076] The product of the main distribution similarity and the pixel distribution similarity of the two medical images to be stored is recorded as the matching similarity of the two medical images to be stored.
[0077] It should be noted that when the main distribution similarity and the pixel distribution similarity of two medical images to be stored are both greater, the matching similarity of the two medical images to be stored is greater.
[0078] Step S005: obtaining a number of clusters to be stored and a representative image of each cluster to be stored according to the matching similarity of every two medical images to be stored; obtaining a number of stored clusters and a representative image of each stored cluster; matching the representative image of each cluster to be stored with the representative image of the stored cluster to obtain the embedding parameter of each medical image to be stored; hiding and storing the information of each medical image to be stored according to the embedding parameter of each medical image to be stored.
[0079] It should be noted that after obtaining the matching similarity of every two medical images to be stored, it is necessary to match the medical images to be stored with the stored medical images, and use the embedded parameters of the matched stored medical images to hide the information of the medical images to be stored. In order to further reduce the amount of calculation, the matching similarity is used to cluster the medical images to be stored and screen out the representative images of each cluster, and the representative images are used for matching. According to the embedded parameters of the matched stored medical images, the information of the medical images to be stored is hidden and stored. That is, by matching the representative images between clusters, the embedding parameters of all the medical images to be stored in the cluster can be obtained at the same time.
[0080] Preferably, the inversely proportional normalized value of the matching similarity between each two medical images to be stored is recorded as the matching distance value of the corresponding two medical images to be stored; according to the matching distance value between the medical images to be stored, the optimal number of clustering clusters is obtained by using the silhouette coefficient method; the medical images to be stored are clustered by the K-means clustering algorithm using the optimal number of clustering clusters, and the distance measurement adopts the matching distance value between the medical images to be stored to obtain a number of clusters to be stored; for any cluster to be stored, the medical image to be stored in the cluster to be stored that has the greatest matching similarity with the medical image to be stored in the cluster to be stored is recorded as the representative image of the cluster to be stored; wherein the silhouette coefficient method and the K-means clustering algorithm are well-known technologies, and the specific methods are not introduced here;
[0081] According to the method of obtaining each cluster to be stored and its representative image from all the medical images to be stored, a number of stored clusters and the representative image of each stored cluster are obtained from all the stored medical images; according to the method of obtaining the matching similarity of every two medical images to be stored, the matching similarity between the representative image of each cluster to be stored and the representative image of each stored cluster is obtained;
[0082] For any representative image of a cluster to be stored, the embedding parameters of the representative image of the stored cluster that has the greatest matching similarity with the representative image are recorded as the embedding parameters of each medical image to be stored in the cluster to be stored; information is hidden on each medical image to be stored using a histogram shift reversible information hiding algorithm based on the embedding parameters of each medical image to be stored to obtain an information hiding result for each medical image to be stored; the information hiding results of all medical images to be stored are stored; wherein, the histogram shift reversible information hiding algorithm is a well-known technology, and the specific method will not be introduced here.
[0083] This embodiment adopts Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.
[0084] So far, the present invention is completed.
[0085] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A data security storage method for an intelligent traditional Chinese medicine rehabilitation management system, characterized in that: The method comprises the following steps: Acquire a plurality of medical images to be stored, a plurality of stored medical images, and an embedding parameter of each stored medical image; According to the grayscale distribution of pixels in each of the two medical images to be stored, the pixel distribution similarity of each of the two medical images to be stored is obtained; Each medical image to be stored is divided into a number of area ranges; according to the difference of grayscale distribution characteristics between the area ranges in each medical image to be stored, the main distribution characteristics and main tissue areas of each medical image to be stored are screened; According to the difference of the main distribution features of each two medical images to be stored and the position difference of the main tissue areas, the main distribution similarity of each two medical images to be stored is obtained; according to the main distribution similarity of each two medical images to be stored, the pixel distribution similarity is corrected to obtain the matching similarity of each two medical images to be stored; According to the matching similarity of each two medical images to be stored, a number of clusters to be stored and a representative image of each cluster to be stored are obtained; a number of stored clusters and a representative image of each stored cluster are obtained; the representative image of each cluster to be stored is matched with the representative image of the stored cluster to obtain the embedding parameter of each medical image to be stored; information of each medical image to be stored is hidden and stored according to the embedding parameter of each medical image to be stored; The method of obtaining the pixel distribution similarity of each two medical images to be stored according to the grayscale distribution of the pixels in each two medical images to be stored comprises the following specific steps: For any medical image to be stored, the grayscale level with the largest number of pixels in the medical image to be stored is recorded as the peak grayscale level of the medical image to be stored; and the grayscale characteristic value of the medical image to be stored is obtained according to the grayscale distribution of the pixels except the peak grayscale level in the medical image to be stored; According to the difference between the peak grayscale levels and the grayscale characteristic values of each two medical images to be stored, the pixel distribution similarity of each two medical images to be stored is obtained; The step of obtaining the grayscale characteristic value of the medical image to be stored according to the grayscale distribution of the pixel points except the peak grayscale level in the medical image to be stored comprises the following specific steps: The mean value of the number of pixels of all gray levels except the peak gray level in the medical image to be stored is recorded as the gray level value of the medical image to be stored; the variance of the number of pixels of all gray levels except the peak gray level is recorded as the gray discrete value of the medical image to be stored; the product of the gray level value and the gray discrete value of the medical image to be stored is recorded as the gray characteristic value of the medical image to be stored; The method of screening and obtaining the main distribution characteristics and main tissue areas of each medical image to be stored according to the difference in grayscale distribution characteristics between the regional ranges in each medical image to be stored includes the following specific steps: For any medical image to be stored, the maximum value of the grayscale distribution characteristics of all regions in the medical image to be stored is obtained, and recorded as the standard characteristic value of the medical image to be stored; the grayscale distribution characteristics of all regions in the medical image to be stored, whose absolute value of the difference with the standard characteristic value is less than a preset characteristic threshold, are recorded as the reference characteristic value of the medical image to be stored; the mean value of all reference characteristic values of the medical image to be stored is recorded as the main distribution characteristic of the medical image to be stored; the region corresponding to the standard characteristic value and the region corresponding to each reference characteristic value are respectively recorded as a main tissue region of the medical image to be stored; The method of obtaining the main distribution similarity of each two medical images to be stored according to the difference in the main distribution features and the position difference of the main tissue regions of each two medical images to be stored includes the following specific steps: For any two medical images to be stored, the inversely proportional normalized value of the absolute value of the difference between the main distribution features of the two medical images to be stored is recorded as the main similarity of the two medical images to be stored; the number of main tissue regions with the same position of the two medical images to be stored is recorded as the position similarity of the two medical images to be stored; the product of the main similarity and the position similarity of the two medical images to be stored is recorded as the main distribution similarity of the two medical images to be stored; The method of correcting the pixel distribution similarity according to the main distribution similarity of each two medical images to be stored to obtain the matching similarity of each two medical images to be stored includes the following specific steps: The product of the main distribution similarity and the pixel distribution similarity of any two medical images to be stored is recorded as the matching similarity of the two medical images to be stored.
2. According to claim 1, a data security storage method of an intelligent traditional Chinese medicine rehabilitation management system is characterized in that: The method for acquiring the grayscale distribution characteristics of the regional range includes: For any region of any medical image to be stored, the gray level with the least number of pixels in the medical image to be stored is recorded as the zero-point gray level of the medical image to be stored; and the validity of the region is obtained according to the proportion of pixels other than the zero-point gray level in all pixels in the region; Obtaining a distribution base value of the region according to a difference between a mean value of gray values of all pixels within the region except for the zero gray level and a peak gray level of the medical image to be stored; The normalized result of the product of the effectiveness of the region and the distribution base value is recorded as the grayscale distribution feature of the region.
3. According to claim 2, a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system is characterized in that: The step of obtaining the distribution base value of the region range according to the difference between the mean grayscale value of all pixels in the region range except the zero grayscale and the peak grayscale of the medical image to be stored includes the following specific steps: The absolute value of the difference between the mean grayscale value of all pixels in the region except the zero grayscale and the peak grayscale of the medical image to be stored is calculated, and the inversely proportional normalized value of the result is recorded as the distribution base value of the region.
4. According to claim 1, a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system is characterized in that: The specific steps of obtaining a plurality of clusters to be stored and a representative image of each cluster to be stored according to the matching similarity of each two medical images to be stored are as follows: The inversely proportional normalized value of the matching similarity between every two medical images to be stored is recorded as the matching distance value of the corresponding two medical images to be stored; according to the matching distance value between the medical images to be stored, the silhouette coefficient method is used to obtain the optimal number of clustering clusters; the medical images to be stored are clustered by the K-means clustering algorithm using the optimal number of clustering clusters, and the distance measurement uses the matching distance value between the medical images to be stored to obtain a number of clusters to be stored; for any cluster to be stored, the medical image to be stored in the cluster to be stored that has the greatest matching similarity with the medical image to be stored in the cluster to be stored is recorded as the representative image of the cluster to be stored.
5. According to claim 1, a data security storage method for an intelligent traditional Chinese medicine rehabilitation management system is characterized in that: The method of matching the representative image of each cluster to be stored with the representative image of the stored cluster to obtain the embedding parameters of each medical image to be stored includes the following specific steps: According to the method for obtaining the matching similarity of every two medical images to be stored, the matching similarity between the representative image of each cluster to be stored and the representative image of each stored cluster is obtained; for any representative image of the cluster to be stored, the embedding parameters of the representative image of the stored cluster with the greatest matching similarity with the representative image are recorded as the embedding parameters of each medical image to be stored in the cluster to be stored.
