Convert a mosaic picture to xy coordinate
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello!
I have a mosaic picture. I would like to have a xy coordinate on it to indicate the location of each tiles. How can I do that ??
I am new to matlab image analysis. I really have no idea on it. Please help! Thank you very much.
Here is a sample of the mosaic picture with around 2500 tiles.
5 comentarios
Mohammad Sami
el 13 de Mzo. de 2020
Editada: Mohammad Sami
el 13 de Mzo. de 2020
You want to insert the text into the picture ?
The computer vision toolbox have a function to add text into the picture
https://www.mathworks.com/help/vision/ref/inserttext.html
https://www.mathworks.com/help/vision/ref/insertobjectannotation.html
Respuestas (1)
Pranjal Kaura
el 29 de Sept. de 2021
Editada: Pranjal Kaura
el 29 de Sept. de 2021
Hey Ivan,
You can use the 'xticks' and 'yticks' function to add custom ticks to an axes. You could set the axes labels to '1:num_Columns' and '1:num_Rows' according your mosaic plot.
If you're using imshow to display your image, you could create a custom axes obect and set it as the parent axis of the image object. You could refer to the following code snippet for this.
imshow(image,'Parent',custom_Axes);
Hope this helps!
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!