suggest me suitable title for the following matlab code?

조회 수: 1 (최근 30일)
somasekar jalari
somasekar jalari 2015년 2월 25일
답변: Image Analyst 2015년 2월 26일
Suggest me suitable title for the following matlab code? here i am reading gray scale image and if the the intensity values more than 190 then initialized such pixel values as 140.
I=imread('image1.jpg'); % read gray scale image
[x,y]=size(I);
for i=1:x
for j=1:y
if (I(i,j)>190)
I(i,j)=140;
end
end
end
thanks in advance.

채택된 답변

Image Analyst
Image Analyst 2015년 2월 26일
I'd probably call the function Threshold190() or Threshold140() or ThresholdImage() or something like that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by