Borrar filtros
Borrar filtros

permutation of a watermark image

1 visualización (últimos 30 días)
umar siyab
umar siyab el 24 de Nov. de 2011
Comentada: Walter Roberson el 11 de Oct. de 2020
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 comentario
umar siyab
umar siyab el 24 de Nov. de 2011
the watermark image only contain black and white colour

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Nov. de 2011
reshape(Image(randperm(numel(Image))),size(Image))
  6 comentarios
arwa allubani
arwa allubani el 11 de Oct. de 2020
How to reshape the Image again to the Original Image?
Walter Roberson
Walter Roberson el 11 de Oct. de 2020
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.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by