![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1744786/image.png)
Way of Calculating NPCR and UACI
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
Saurabh
2024년 8월 1일
편집: Saurabh
2024년 8월 1일
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1744786/image.png)
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
Umar
2024년 8월 3일
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.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!