フィルターのクリア

permutation of a watermark image

1 回表示 (過去 30 日間)
umar siyab
umar siyab 2011 年 11 月 24 日
コメント済み: Walter Roberson 2020 年 10 月 11 日
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
  1 件のコメント
umar siyab
umar siyab 2011 年 11 月 24 日
the watermark image only contain black and white colour

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2011 年 11 月 24 日
reshape(Image(randperm(numel(Image))),size(Image))
  6 件のコメント
arwa allubani
arwa allubani 2020 年 10 月 11 日
How to reshape the Image again to the Original Image?
Walter Roberson
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!

Translated by