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!