필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

What is the error in the code?

조회 수: 2 (최근 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