NPCR and UACI measures for image encryption

Compute the NPCR and UACI measures for two encrypted images
107 Downloads
Aktualisiert 10. Jan 2024

Lizenz anzeigen

The following code computes the Number of Pixels Change Rate (NPCR) and Unified Average Changing Intensity (UACI) measures between two encrypted versions of the same image, different only by one pixel.
So the plaintext image was first encrypted.
Then, one pixel of the plaintext was changed, and the image was encrypted again.
The NPCR and UACI measures for these two images are computed.
If the encryption is plaintext dependent, the meaasures should be the ideal ones.
Video:
Reference:

Zitieren als

Lazaros Moysis (2024). NPCR and UACI measures for image encryption (https://www.mathworks.com/matlabcentral/fileexchange/155712-npcr-and-uaci-measures-for-image-encryption), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2023b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.2

fixed video links

1.0.1

added a video link

1.0.0