i want to resize a binary image which is a result of some prior operations

hi i have a code which implements a halftone visual cryptography. a binary secret image is embedded in a gray scale image. the result this of is a binary image which is 4 times larger than the original secret image. how can i re size it back to its original size? thanks

Respuestas (1)

doc imresize
?

2 comentarios

Be careful with imresize, though. It will definitely make your image the same size as the original, but will do so through pixel interpolation. This means your hidden binary image will likely be affected or totally destroyed. The different methods of interpolation will have different effects.
thanks for the answer i tried it but my image became much darker and m unable to c whatever was there in the image any other solution plz thanks

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 7 de Ag. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by