Missing samples in image

Can any body guide me how to convert image and its DFT like the above one using MATLAB. The region in black means that the value of these pixels is 0.

Respuestas (1)

Image Analyst
Image Analyst el 9 de En. de 2014

0 votos

Make a binary image which is true where there is supposed to be black pixels and false where there is the gray. Then just zero out your image at the true locations
yourImage(binaryImage) = 0;

3 comentarios

rest12
rest12 el 10 de En. de 2014
Editada: rest12 el 10 de En. de 2014
No actually I want to convert below right image (which is my input image) in to left image which is my output. How can I do that?
rest12
rest12 el 10 de En. de 2014
I find the solution.
Image Analyst
Image Analyst el 10 de En. de 2014
It should look exactly like mine, except that your variable names may be different.

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Preguntada:

el 9 de En. de 2014

Comentada:

el 10 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by