Way of Calculating NPCR and UACI
2 views (last 30 days)
Show older comments
Can someone clear the doubt about way to calculate NPCR and UACI as some suggests to change one or more bits of each pixel value in image while otther prefers to change single pixel value in whole image and also some do by a change of single bit in key, Which is the correct way to evaluate these values?
0 Comments
Accepted Answer
Saurabh
on 1 Aug 2024
Edited: Saurabh
on 1 Aug 2024
Hi Kajal,
I found one IEEE research paper that speaks about NPCR and UACI. The paper states that the NPCR and UACI tests changing pixels and the number of averaged intensities between plaintext images is subtle that is usually a single pixel.
The link to the official documentation page of the IEEE research paper:
If you want information on how to calculate NPCR and UACI between two encrypted versions of the same image, different only by one pixel, You can refer to the below file exchange post, which is written by one of the community member:
I hope this was helpful.
6 Comments
Umar
on 3 Aug 2024
Hi @ Kajal Chawla, no problem, glad to help out. Please let us know if you have any further questions. We will be more happy to help you.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!