Info

この質問は閉じられています。 編集または回答するには再度開いてください。

What is the error in the code?

3 ビュー (過去 30 日間)
Sumeet Badgujar
Sumeet Badgujar 2018 年 10 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
aa=input('image.jpg');
z=aa;
e=input ('Enter lower threshold value ');
f=input ('Enter higher threshold value ');
%Grey level with background
mask = (z>e) & (z<f);
z(mask)=255;
subplot(2,2,3);
imshow(z);
title ('Grey level sliced image with background');
%Grey level without background
mask = (z>e) & (z<f);
z(mask)=255;
mask1=(z<e) & (z>f);
z(mask1)=0;
subplot(2,2,4);
imshow(z);
title ('Grey level sliced image without background');
  1 件のコメント
Aquatris
Aquatris 2018 年 10 月 29 日
What error did you get?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by