this is the app designer file im working on the right interface works but the left interface of after importing the image isnt working can anyone plz help me fix it
1 view (last 30 days)
Show older comments
here is the file
2 Comments
Amal Raj
on 5 Dec 2022
Hi Jana,
I had a look into your code. Can you give some clarity on which functionalities in your app is not working. It can help me have a better understanding of the issue
Glad
Amal
Answers (1)
Amal Raj
on 6 Dec 2022
Hello Jana,
a=(app.Image);
f1=fspecial('average',[5,5]);
% N-D filtering of multidimensional images
i2=imfilter(a,f1)
I=imshow(i2,'parent',app.UIAxes2,...
'XData',[1 app.UIAxes2.Position(3)],...
'YData',[1 app.UIAxes2.Position(4)]);
app.UIAxes2.XLim=[0 I.XData(2)];
app.UIAxes2.YLim=[0 I.YData(2)];
Please try the above code for the "function lowpassfilterButton_2Pushed(app, event)". And do let me know if it worked.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!