How can I create dots on a blank image created using zeros?

2 visualizaciones (últimos 30 días)
Fidessa Isiko
Fidessa Isiko el 22 de Ag. de 2020
Comentada: Image Analyst el 23 de Ag. de 2020
I want to creat a black image with white circular spots on it, where I can edit the size of the spots.

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Ag. de 2020
zeros() would create the black image for you. You would then use one of the techniques for creating circles that you would set to 1 (white).
Alternately you could use insertShape from Computer Vision Toolbox.
  1 comentario
Image Analyst
Image Analyst el 23 de Ag. de 2020
Or you could call "hold on" and call plot() then call exportgraphics() to save the image with spot on it to disk.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by