adjacent pixel before and after encryption

5 views (last 30 days)
  • 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 Comments
Image Analyst
Image Analyst on 1 Jan 2021
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.

Sign in to comment.

Answers (1)

assaad el makhloufi
assaad el makhloufi on 1 Jan 2021
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 Comments
Image Analyst
Image Analyst on 2 Jan 2021
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 on 2 Jan 2021
thankyou verry much for both of you for this explication and idea , i will go throught this direction.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!