Swapping of neighborhood pixel values of an image

2 views (last 30 days)
Hello Everyone,
How to swap neighborhood pixel values of a RGB image?
  9 Comments
marie lasz
marie lasz on 25 Sep 2020
Edited: marie lasz on 25 Sep 2020
It's an attack on an encrypted image,I got as a task. Just to swap or shift pixel values of an image and then to see it's strength against this attack. That is how I got this.
Rik
Rik on 25 Sep 2020
Then I would suggest blockproc to apply a function to each tile of your image. Within a small tile (e.g. 8x8 pixels) you could shuffle the positions with randperm.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox 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!