App Desginer, Select point in image to update Value Changing variable

1 次查看(过去 30 天)
Hi, im trying to desgin an app that show slices of a 3D image in app Designer. Using three Spinners I am able to change the value for the variable holding the number of the slice. I would like to be able to use the mouse to click on the first image and get the coordinates to update the other variables
after looking at other answers i have tried creating a mouseClick function using get and 'Current Point' but i can't seem to get the values to change
My code is attached
  1 个评论
Jon
Jon 2023-5-4
I was unable to try out your app, because I don't have the Image Processing toolbox, which is needed to generate data using test.m. Would it be possible for you to make a standalone example, that doesn't require the Image Processing Toolbox? Perhaps you could just attach a .mat file with the needed variables.

请先登录,再进行评论。

回答(1 个)

Kevin Holly
Kevin Holly 2023-5-4
I made an app that used a listener to retrieve the current point on an axes and update a uilabel with the value in a response to a question here:

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by