Help making interactive Image processing App

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

Did you try starting app designer and placing those controls on the window?
I started App Designer. I placed an Image component. It appears to need an image at design time, not run time. I want to be able to load any image in this tool.
I also see only one function under Callbacks : ImageClickedFcn. Ideally I need a function to be called just by hovering. I also need the callback function to get the cursor coordinates.
Thanks
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
Thanks Mohammad. So I 'll try using an "Axes" component instead of an "Image" component.

Sign in to comment.

Products

Asked:

on 26 May 2020

Answered:

on 28 May 2020

Community Treasure Hunt

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

Start Hunting!