Is there a command that simulates ginput?
古いコメントを表示
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.
回答 (1 件)
Sean de Wolski
2014 年 12 月 23 日
0 投票
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 件のコメント
Sam
2014 年 12 月 23 日
Image Analyst
2014 年 12 月 23 日
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
2014 年 12 月 26 日
Image Analyst
2014 年 12 月 26 日
And what points on those get marked? The steep rising points? In the middle of the "sort of flat" points?
Sam
2014 年 12 月 26 日
カテゴリ
ヘルプ センター および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!