Is it possible to create imdistance line on a mouse click and trace the line as seen with the distance tool in imtool?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mark Lepage
el 22 de Feb. de 2019
Respondida: Walter Roberson
el 22 de Feb. de 2019
So, I have an image, I would like to be able to trace a line (snap from point to point) like how is down with imtool and the distance tool?
I can create a line object using imdistance, but the line is created automatically in the middle of the image, I would like it to be created at the pointer of the mouse.
Any ideas??
0 comentarios
Respuesta aceptada
Walter Roberson
el 22 de Feb. de 2019
imdistline() with three parameters creates a distance tool with endpoints at the given x y position.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Explore and Edit Images with Image Viewer App en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!