| Literature DB >> 36185323 |
Bin Zhang1,2, Bahbibi Rahmatullah1, Shir Li Wang1, Zhaoyan Liu3.
Abstract
Modern medical examinations have produced a large number of medical images. It is a great challenge to transmit and store them quickly and securely. Existing solutions mainly use medical image encryption algorithms, but these encryption algorithms, which were developed for ordinary images, are time-consuming and must cope with insufficient security considerations when encrypting medical images. Compared with ordinary images, medical images can be divided into the region of interest and the region of background. In this paper, based on this characteristic, a plain-image correlative semi-selective medical image encryption algorithm using the enhanced two dimensional Logistic map was proposed. First, the region of interest of a plain medical image is permuted at the pixel level, then for the whole medical image, substitution is performed pixel by pixel. An ideal compromise between encryption speed and security can be achieved by full-encrypting the region of interest and semi-encrypting the region of background. Several main types of medical images and some normal images were selected as the samples for simulation, and main image cryptanalysis methods were used to analyze the results. The results showed that the cipher-images have a good visual quality, high information entropy, low correlation between adjacent pixels, as well as uniformly distribute histogram. The algorithm is sensitive to the initial key and plain-image, and has a large keyspace and low time complexity. The time complexity is lower when compared with the current medical image full encryption algorithm, and the security performance is better when compared with the current medical image selective encryption algorithm.Entities:
Keywords: Chaotic map; Image encryption; Medical image; Partial encryption; SHA-256; Selective encryption
Year: 2022 PMID: 36185323 PMCID: PMC9510328 DOI: 10.1007/s11042-022-13744-9
Source DB: PubMed Journal: Multimed Tools Appl ISSN: 1380-7501 Impact factor: 2.577
Fig. 1The bifurcation diagram of the original 1-D Logistic chaotic map
Fig. 2The bifurcation diagram of the enhanced 2-D Logistic chaotic map (a: bifurcation diagram of component x, b: bifurcation diagram of component y)
Fig. 3Structure of the proposed plain-image correlative semi-selective medical image encryption algorithm
Fig. 4Structure of the decryption algorithm
The Software and hardware platform used in simulations
| Platform | Details |
|---|---|
| Software | The operating system: Window7 64bit |
| The simulation software: MATLAB r2016a | |
| Hardware | Platform: HP personal computer |
| CPU: Inter(R) Core(TM) i7-5500u 2.4GHZ | |
| Memory: 8GB |
Description of simulation images samples
| Image ID | Image type | Body part | Image size |
|---|---|---|---|
| a | X-ray | Foot | 512 × 512 |
| b | CT | Brain | 256 × 256 |
| c | MRI | Head | 256 × 256 |
| d | Ultrasound | Fetus | 512 × 512 |
| e | PET | Brain | 256 × 256 |
| f | Virus | COVID-19 | 512 × 512 |
| g | Normal image | Lena | 512 × 512 |
| h | Normal image | Peppers | 256 × 256 |
Fig. 5Simulation medical image and normal image samples (a: Foot X-ray; b: Brain CT; c: Head MRI; d: Fetus Ultrasound; e: Brain PET; f: COVID-19 virus; g: lena; h: peppers)
Fig. 6The visual quality of sample images (1st column: plain-image; 2nd column: permutation result; 3rd column: final encryption result; 4th column: decrypted image)
The chaotic control parameters and chaotic initial value
| Value | 3.889632578965258 | 2.895365874521023 | 0.723657891234568 | 0.589632147852589 |
Fig. 7The histogram of sample images (1st column: plain-image; 2nd column: histogram of plain-image; 3rd column: corresponding cipher-image; 4th column: histogram of cipher-image)
The information entropy of sample images
| Image ID and type | Color depth | Entropy of plain-image | Entropy of cipher-image |
|---|---|---|---|
| a X-ray | 8 | 4.9130 | 7.9967 |
| b CT | 8 | 6.5376 | 7.9969 |
| c MRI | 8 | 5.7123 | 7.9971 |
| d Ultrasound | 8 | 5.9887 | 7.9989 |
| e PET | 8 | 4.5179 | 7.9964 |
| f COVID-19 | 8 | 6.4010 | 7.9989 |
| g Lena | 8 | 7.4455 | 7.9994 |
| h Peppers | 8 | 7.5631 | 7.9975 |
The correlation of adjacent pixels of sample images
| Image ID | Plain-image | Cipher-image | ||||
|---|---|---|---|---|---|---|
| Horizontal | Vertical | Diagonal | Horizontal | Vertical | Diagonal | |
| a X-ray | 0.994781 | 0.998650 | 0.993848 | 0.002030 | −0.003348 | 0.002698 |
| b CT | 0.972369 | 0.977308 | 0.956139 | −0.004922 | −0.002507 | 0.002236 |
| c MRI | 0.935280 | 0.949021 | 0.896427 | 0.007122 | 0.000747 | −0.004353 |
| d Ultrasound | 0.991437 | 0.991388 | 0.987367 | 0.001844 | 0.000342 | 0.001188 |
| e Pet | 0.995131 | 0.979666 | 0.975197 | −0.010510 | −0.001414 | −0.003332 |
| f COVID-19 | 0.985368 | 0.987217 | 0.975460 | −0.002245 | 0.000035 | −0.000074 |
| g Lena | 0.971872 | 0.984984 | 0.959273 | 0.000149 | 0.001987 | 0.004100 |
| h Peppers | 0.961686 | 0.967918 | 0.932524 | 0.004197 | −0.002702 | −0.006579 |
Fig. 8a. The correlation of sample images a-d in different directions (1st column: plain-images and corresponding cipher-image; 2nd column: correlation diagram in horizontal; 3rd column: correlation diagram in vertical; 4th column: correlation diagram in diagonal). b. The correlation of sample images e-h in different directions (1st column: plain-images and corresponding cipher-image; 2nd column: correlation diagram in horizontal; 3rd column: correlation diagram in vertical; 4th column: correlation diagram in diagonal)
Several groups of slightly different chaotic control parameters and chaotic initial values
| Key ID | ||||
|---|---|---|---|---|
| Original | 3.889632578965258 | 2.895365874521023 | 0.723657891234568 | 0.589632147852589 |
3.889632578965258+ 0.000000000000001 | The same | The same | The same | |
| The same | 2.895365874521023+ 0.000000000000001 | The same | The same | |
| The same | The same | 0.723657891234568+ 0.000000000000001 | The same | |
| The same | The same | The same | 0.589632147852589+ 0.000000000000001 |
The NPCR value of Key sensitivity analysis
| Image ID and size | Changed key | NPCR | Critical values [ | |||
|---|---|---|---|---|---|---|
| *0.05 = 0.995693 | *0.01 = 0.995527 | *0.001 = 0.995347 | 256 × 256 | |||
| *0.05 = 0.995893 | *0.01 = 0.995810 | *0.001 = 0.995717 | 512 × 512 | |||
a 512 × 512 | 0.996136 | Pass | Pass | Pass | ||
| 0.995972 | Pass | Pass | Pass | |||
| 0.995960 | Pass | Pass | Pass | |||
| 0.996223 | Pass | Pass | Pass | |||
b 256 × 256 | 0.996353 | Pass | Pass | Pass | ||
| 0.995758 | Pass | Pass | Pass | |||
| 0.996231 | Pass | Pass | Pass | |||
| 0.996078 | Pass | Pass | Pass | |||
c 256 × 256 | 0.996277 | Pass | Pass | Pass | ||
| 0.995819 | Pass | Pass | Pass | |||
| 0.995926 | Pass | Pass | Pass | |||
| 0.995789 | Pass | Pass | Pass | |||
d 512 × 512 | 0.997238 | Pass | Pass | Pass | ||
| 0.997162 | Pass | Pass | Pass | |||
| 0.997058 | Pass | Pass | Pass | |||
| 0.997147 | Pass | Pass | Pass | |||
e 256 × 256 | 0.995911 | Pass | Pass | Pass | ||
| 0.996216 | Pass | Pass | Pass | |||
| 0.995834 | Pass | Pass | Pass | |||
| 0.996155 | Pass | Pass | Pass | |||
f 512 × 512 | 0.996750 | Pass | Pass | Pass | ||
| 0.996861 | Pass | Pass | Pass | |||
| 0.996750 | Pass | Pass | Pass | |||
| 0.996887 | Pass | Pass | Pass | |||
g 512 × 512 | 0.996231 | Pass | Pass | Pass | ||
| 0.996037 | Pass | Pass | Pass | |||
| 0.996372 | Pass | Pass | Pass | |||
| 0.996372 | Pass | Pass | Pass | |||
h 256 × 256 | 0.995751 | Pass | Pass | Pass | ||
| 0.995880 | Pass | Pass | Pass | |||
| 0.996063 | Pass | Pass | Pass | |||
| 0.996124 | Pass | Pass | Pass | |||
The UACI value of Key sensitivity analysis
| Image ID and size | Changed key | UACI | Critical values [ | |||
|---|---|---|---|---|---|---|
| *-0.05 = 0.332824 | *-0.01 = 0.332255 | *-0.001 = 0.331594 | 256 × 256 | |||
| *-0.05 = 0.333730 | *-0.01 = 0.333445 | *-0.001 = 0.333115 | 512 × 512 | |||
| a 512 × 512 | 0.333749 | Pass | Pass | Pass | ||
| 0.333877 | Pass | Pass | Pass | |||
| 0.333788 | Pass | Pass | Pass | |||
| 0.333504 | Pass | Pass | Pass | |||
| b 256 × 256 | 0.333648 | Pass | Pass | Pass | ||
| 0.334666 | Pass | Pass | Pass | |||
| 0.333258 | Pass | Pass | Pass | |||
| 0.333504 | Pass | Pass | Pass | |||
| c 256 × 256 | 0.334623 | Pass | Pass | Pass | ||
| 0.334442 | Pass | Pass | Pass | |||
| 0.333934 | Pass | Pass | Pass | |||
| 0.334917 | Pass | Pass | Pass | |||
| d 512 × 512 | 0.335067 | Pass | Pass | Pass | ||
| 0.334352 | Pass | Pass | Pass | |||
| 0.334508 | Pass | Pass | Pass | |||
| 0.334521 | Pass | Pass | Pass | |||
e 256 × 256 | 0.333669 | Pass | Pass | Pass | ||
| 0.334881 | Pass | Pass | Pass | |||
| 0.335564 | Pass | Pass | Pass | |||
| 0.333398 | Pass | Pass | Pass | |||
f 512 × 512 | 0.335360 | Pass | Pass | Pass | ||
| 0.334900 | Pass | Pass | Pass | |||
| 0.334591 | Pass | Pass | Pass | |||
| 0.334779 | Pass | Pass | Pass | |||
g 512 × 512 | 0.334721 | Pass | Pass | Pass | ||
| 0.334888 | Pass | Pass | Pass | |||
| 0.335187 | Pass | Pass | Pass | |||
| 0.335495 | Pass | Pass | Pass | |||
h 256 × 256 | 0.335523 | Pass | Pass | Pass | ||
| 0.336434 | Pass | Pass | Pass | |||
| 0.333963 | Pass | Pass | Pass | |||
| 0.333740 | Pass | Pass | Pass | |||
Fig. 9The correct decryption results and the incorrect decryption results with slightly different keys for image a, as well as their corresponding histograms
The statistical indicators of the incorrect decryption results
| Image | Correlation of adjacent pixels | Entropy | ||
|---|---|---|---|---|
| horizontal | vertical | diagonal | ||
| −0.000723 | 0.003149 | −0.001526 | 7.999329 | |
| −0.001093 | 0.002396 | −0.002192 | 7.999270 | |
| 0.001129 | −0.000431 | −0.001299 | 7.999258 | |
| −0.000825 | −0.001922 | −0.001250 | 7.999233 | |
Fig. 10Slightly different plain image, corresponding cipher-image, and the different between them (1st column: original plain-images; 2nd column: slightly changed images; 3rd column: cipher-images of original; 4th column: cipher-images of slightly changed images; 5th column: The difference between two sets of cipher-images; 6th column: histogram of the difference between two sets of cipher-images)
The NPCR values of differential analysis
| Image ID and size | NPCR | Critical values [ | |||
|---|---|---|---|---|---|
| *0.05 = 0.995693 | *0.01 = 0.995527 | *0.001 = 0.995347 | 256 × 256 | ||
| *0.05 = 0.995893 | *0.01 = 0.995810 | *0.001 = 0.995717 | 512 × 512 | ||
| a 512 × 512 | 0.996361 | Pass | Pass | Pass | |
| b 256 × 256 | 0.996109 | Pass | Pass | Pass | |
| c 256 × 256 | 0.996124 | Pass | Pass | Pass | |
| d 512 × 512 | 0.996197 | Pass | Pass | Pass | |
| e 256 × 256 | 0.996033 | Pass | Pass | Pass | |
| f 512 × 512 | 0.996113 | Pass | Pass | Pass | |
| g 512 × 512 | 0.996063 | Pass | Pass | Pass | |
| h 256 × 256 | 0.996399 | Pass | Pass | Pass | |
The UACI values of differential analysis
| Image ID and size | UACI | Critical values [ | |||
|---|---|---|---|---|---|
| *-0.05 = 0.332824 | *-0.01 = 0.332255 | *-0.001 = 0.331594 | 256 × 256 | ||
| *-0.05 = 0.333730 | *-0.01 = 0.333445 | *-0.001 = 0.333115 | 512 × 512 | ||
| a 512 × 512 | 0.333782 | Pass | Pass | Pass | |
| b 256 × 256 | 0.333385 | Pass | Pass | Pass | |
| c 256 × 256 | 0.334302 | Pass | Pass | Pass | |
| d 512 × 512 | 0.333965 | Pass | Pass | Pass | |
| e 256 × 256 | 0.332984 | Pass | Pass | Pass | |
| f 512 × 512 | 0.334728 | Pass | Pass | Pass | |
| g 512 × 512 | 0.335461 | Pass | Pass | Pass | |
| h 256 × 256 | 0.333319 | Pass | Pass | Pass | |
Fig. 11Black and white image encryption results and histogram analysis (1st column: original black and white images; 2nd column: Histograms of black and white images; 3rd column: cipher black and white images; 4th column: Histograms of cipher-images)
The statistical indicators of the black and white image
| Image | Correlation of adjacent pixels | Entropy | |||
|---|---|---|---|---|---|
| horizontal | vertical | diagonal | |||
| Plain-image | Black | 1.000000 | 1.000000 | 1.000000 | 0.0000 |
| White | 1.000000 | 1.000000 | 1.000000 | 0.0000 | |
| Cipher-image | Black | 0.001316 | −0.002754 | −0.002355 | 7.9922 |
| White | −0.003170 | −0.000321 | −0.000158 | 7.9914 | |
The actual running time and throughput of samples
| Image | Ratio of ROI | Encryption time | Decryption time | Throughput | ||
|---|---|---|---|---|---|---|
| Permutation | Substitution | Total | ||||
| a X-ray | 26% | 0.171 s | 0.344 s | 0.515 s | 0.749 s | 3.88Mbps |
| b CT | 72% | 0.134 s | 0.203 s | 0.337 s | 0.512 s | 1.48 Mbps |
| c MRI | 63% | 0.164 s | 0.215 s | 0.379 s | 0.506 s | 1.48 Mbps |
| d Ultrasound | 71% | 0.252 s | 0.376 s | 0.628 s | 0.604 s | 3.79 Mbps |
| e Pet | 48% | 0.151 s | 0.201 s | 0.352 s | 0.507 s | 1.42 Mbps |
| f COVID-19 | 65% | 0.210 s | 0.346 s | 0.556 s | 0.596 s | 3.60Mbps |
| g Lena | 100% | 0.323 s | 0.365 s | 0.687 s | 0.751 s | 2.91 Mbps |
| h Peppers | 100% | 0.262 s | 0.219 s | 0.481 s | 0.513 s | 1.04 Mbps |
The cipher-image visual quality comparative analyses
| Literature | Method | Cipher-Image Visual Quality |
|---|---|---|
| [ | Only the LL sub-band of the image transform domain is encrypted. | Poor, the more times transformation, the worse the cipher-image quality. |
| [ | Only the selected rectangular region in the center of medical image is encrypted. | Poor, there is no protection outside the rectangular region. |
| [ | Only the ROI of medical image is encrypted. | Poor, ROB is not encrypted and the shape of ROI can be easily seen. |
| [ | Only the edge map of medical image is encrypted. | Poor, the region outside the edge map is not being protected. |
| [ | The selective region is substituted first, and then the whole image is permuted. | Good, but did not change the statistical characteristics of the non-selected region. |
| [ | High information bit-plains are permuted first, and then the whole image is substituted. | Very good |
| [ | The selective region is permuted first, and then the whole image is substituted. | Very good |
| [ | Three level encryption. Permute high information 4 bit-plains, substitute the LL sub-band of the transform domain, permute high information 4 bit-plains. | Very good |
| [ | Three level encryption. Full encryption, using RC6 to encrypt the LL sub-band of the transform domain, full encryption. | Very good |
| Proposed | The selective region is permuted first, and then the whole image is substituted. | Very good |
Some main quantitative index values comparative analysis (Bold italics: not ideal value)
| Literature | Average correlation between adjacent pixels | Average NPCR | Average UACI | Average entropy | Key space | Time complexity | |
|---|---|---|---|---|---|---|---|
| O() | Throughput | ||||||
| [ | NA | 0.9961 | 0.3346 | NA | NA | ||
| [ | 0.001757 | 0.9998 | 0.3347 | 7.9998 | ≈2300 | O(2MN) | 1.75Mbps |
| [ | NA | 0.9965 | 0.3361 | 7.9983 | <O(3MN) | ||
| [ | 0.9962 | 0.3346 | 7.9990 | 21500 | |||
| [ | 0.002196 | 0.9986 | NA | ||||
| [ | 0.9987 | 0.3329 | 2399 | O(4MN) | |||
| Proposed | 0.002778 | 0.9962 | 0.3337 | 7.9974 | 2200 | <O(2MN) | 2.45Mbps |