Help making interactive Image processing App

2 views (last 30 days)
I'm an experienced Matlab user but new to making GUI Apps in Matlab. I'm trying to make a tool for use in my Image processing work. I'm hoping someone can give me an outline of how to write this app in App Designer.
Here's a description of what I need:
A window showing an image. It should ideally be possible to zoom and pan in this window but not essential.
3 other small (11x11 pixel) image panels. When I hover the cursor over a point in the main image, it should call a function in which I'll generate the 3 small images. The 3 small image panels should be updated with these generated small images.
If someone can be generous enough to give me an outline, I'll research the details and make this app quickly.
Thanks
  4 Comments
Mohammad Sami
Mohammad Sami on 27 May 2020
Edited: Mohammad Sami on 27 May 2020
I dont see an option to have a callback on hover, but you would be able to get mouse click position.
To do this you can use the uiaxes imshow and buttondownfcn to get the clicked location.
app.image = imshow('abc.png',app.UIAxes);
app.image.ButtonDownFcn = @app.ImageClickedCallback
Mritunjay Singh
Mritunjay Singh on 27 May 2020
Thanks Mohammad. So I 'll try using an "Axes" component instead of an "Image" component.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 28 May 2020
Consider looking at this example app.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!