adjacent pixel before and after encryption

조회 수: 2 (최근 30일)
assaad el makhloufi
assaad el makhloufi 2020년 12월 31일
댓글: assaad el makhloufi 2021년 1월 2일
  • I wonder if my result of the adjacent pixel is correct before and after encryption for vertical, horizontal. I'm also including the histograms of my encryption image, with the image results.
  댓글 수: 17
Walter Roberson
Walter Roberson 2021년 1월 1일
Yes, use png or bmp images.
Image Analyst
Image Analyst 2021년 1월 1일
Yes, in general, but then like I said you wouldn't use GLCM I don't think, but maybe you would. Try it and see. But with a binary image like you have the difference between adjacent pixels will always be 0 or some other single number (the gray level difference). Still not sure what you're after because you didn't explain any of me questions in the last paragraph.

댓글을 달려면 로그인하십시오.

답변 (1개)

assaad el makhloufi
assaad el makhloufi 2021년 1월 1일
For bmp and png they give the same results . I have need to plot this 3 type of adjacent pixel for my image ( image is generated by envi software map) .
1- histograme of orig image (map)
2- adjacent pixel for orig image( vertical, horizon, diagonal)
3-histograme of encrypted image ( the encryption image was generated by vhdl with text file) , for that i need to converted to encrypted image and display the histogram
4-adjacent pixel for encryption image( vertical, horizon, diagonal)
5- Comparaison between orig and encrypted image.
  댓글 수: 6
Image Analyst
Image Analyst 2021년 1월 2일
If you really want to know how many times graylevel1 occurs next to graylevel2, in each direction, then you can use graycomatrix(), like the attached example.
assaad el makhloufi
assaad el makhloufi 2021년 1월 2일
thankyou verry much for both of you for this explication and idea , i will go throught this direction.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by