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

조회 수: 4 (최근 30일)
here is the file
  댓글 수: 2
Amal Raj
Amal Raj 2022년 12월 5일
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
jana
jana 2022년 12월 5일
thank yo so much for responding ,so as you can see the left interface where the import image buttons and the other buttons you can find a button for low pass filter and another one for periodic noise , what i meant by they didnt work is that after i imported whatever image and i hit the periodic noise button or the lpf one the modified image doesnt show in the modified image box it shows a black screen thingy so what can i do ti fix those codes .iil attach the app designer file here

댓글을 달려면 로그인하십시오.

답변 (1개)

Amal Raj
Amal Raj 2022년 12월 6일
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.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by