Is there a command that simulates ginput?
Ältere Kommentare anzeigen
My question here is that I want to use ginput to select 2 datapoint on a figure. But after the first figure, there are 19 more figures (who look alike) in my program that will pop up. So now I'm searching for a command that simulates 'ginput' so I don't need to click to select the starting and ending point for example.
Antworten (1)
Sean de Wolski
am 23 Dez. 2014
0 Stimmen
You could use the java.awt.Robot but this workflow sounds horrible. What are you trying to do? Can you give a minimal working example?
5 Kommentare
Sam
am 23 Dez. 2014
Image Analyst
am 23 Dez. 2014
You forgot to post an image. Perhaps there is something in your image that can be automatically found/identified and then you can record the coordinates that way. No way of telling until we see several photos that show the range of images you expect to encounter. For example, is the camera field of view fixed, or are your images of different scenes, or different viewpoints or zooms? Is the lighting consistent from image to image? Are any of the points to be found ever obstructed/occluded by the person climbing? These things need to be considered if you are to ever robustly find the marker points automatically.
Sam
am 26 Dez. 2014
Image Analyst
am 26 Dez. 2014
And what points on those get marked? The steep rising points? In the middle of the "sort of flat" points?
Sam
am 26 Dez. 2014
Kategorien
Mehr zu Data Exploration finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!