How to replicate picture?
Mostrar comentarios más antiguos
Hiya,
I would like to replicate the following plot:

I have an n x n binary matrix, the ones indicate where the road should be and the 0s where nothing should be. Ignore the red dot.
Thanks!
13 comentarios
jonas
el 21 de Sept. de 2018
imshow?
Walter Roberson
el 21 de Sept. de 2018
imshow(~YourData)
to get the 1s to show up dark.
Saurabh Patel
el 21 de Sept. de 2018
Use edge detection. It will identify the road boundaries.
s z
el 21 de Sept. de 2018
Walter Roberson
el 21 de Sept. de 2018
Is your concern that the background is showing up in white instead of in light gray ?
Image Analyst
el 21 de Sept. de 2018
Read this link first, then tell us what "replicate" means to you. Like make copies of, like the repmat() function does? We really have no idea what you're thinking.
Walter Roberson
el 21 de Sept. de 2018
... We still do not understand what you are asking for, so we cannot advise you if there is a way to do what you want.
Image Analyst
el 21 de Sept. de 2018
There might be, but since we don't know what you want, we don't know what to tell you. We don't know if it's a display/visualization problem, a line detection or segmentation problem, a replication/copying/pasting problem or something else.
s z
el 21 de Sept. de 2018
Image Analyst
el 21 de Sept. de 2018
What is ML? Do you have coordinates of the road boundaries and of the red spot/car location?
s z
el 21 de Sept. de 2018
Respuestas (0)
Categorías
Más información sobre Graphics Performance en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
