permutation of a watermark image
1 次查看(过去 30 天)
显示 更早的评论
i have taken a watermark image and assign -1 value to black and 1 to white to whole watermark now i want permutation of this image. whats would b the efficient method for permuation process of this image.. if anyone have matlab code for this send me and please help me...
regards siyab
采纳的回答
Walter Roberson
2011-11-24
reshape(Image(randperm(numel(Image))),size(Image))
6 个评论
Walter Roberson
2020-10-11
You cannot get back to the original image by reshaping the result of the above. The order of the pixels has been randomized. You would need to know (or be able to recreate) the random order that was used.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!