adjacent pixel before and after encryption

2 次查看(过去 30 天)
  • 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 个评论
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
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
thankyou verry much for both of you for this explication and idea , i will go throught this direction.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by