Help making interactive Image processing App

2 visualizzazioni (ultimi 30 giorni)
Mritunjay Singh
Mritunjay Singh il 26 Mag 2020
Risposto: Cris LaPierre il 28 Mag 2020
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 Commenti
Mohammad Sami
Mohammad Sami il 27 Mag 2020
Modificato: Mohammad Sami il 27 Mag 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 il 27 Mag 2020
Thanks Mohammad. So I 'll try using an "Axes" component instead of an "Image" component.

Accedi per commentare.

Risposte (1)

Cris LaPierre
Cris LaPierre il 28 Mag 2020
Consider looking at this example app.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by