App Designer UIAxes Mouse Click Registration

30 ビュー (過去 30 日間)
Nando Käslin
Nando Käslin 2019 年 10 月 25 日
回答済み: Hope Q 2019 年 10 月 30 日
I want to display a .jpg image in the UIAxes of the App Designer and then be able to click on certain pixels and save the coordinates to select a region on the image.
I know that this feature was missing in early 2018 but I couldn't find anything else on the topic.
Can anyone tell me, if it's possible to do and how?
Thanks.

採用された回答

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2019 年 10 月 30 日
You can use getpts to get the coordinates of the selected points but it is not recommended.
In order to select a region from an image you can use on of the techniques present in “Region Of Interest”
The techniques can be found at the below link
For more information in getpts refer to
Hope this helps!

その他の回答 (1 件)

Hope Q
Hope Q 2019 年 10 月 30 日
App Designer supports Window button up, down and motion functions. See the "Window Functions" section here:
This post shows how to get the coordinates in the axes coordinate space

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by