perform diffusion of image pixels

1 view (last 30 days)
0 down vote favorite I have an image say I, I apply a transformation called Multi resolution Singular value decomposition on it. By this, I decompose the images into 4 parts. The first parts are the approximation part that has floating point values, and the other three are the detailed part. I need to implement an encryption scheme on this detailed part. For this purpose, I need to perform diffusion of pixel by some chaotic map. But the main problem is that need an in-between step that requires bit-Xor of values in the approximation part. Is there some process by which I can convert these floating values in the range [0,255] and then perform my bit-xoring with the constraint that after inverse diffusion i get back the same floating point values or PSNR of the reconstructed image should be as high as possible, i.e data loss should be minimal.

Answers (1)

Image Analyst
Image Analyst on 7 Aug 2018
There is a bitxor() function that you can use.

Community Treasure Hunt

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

Start Hunting!