suggest me suitable title for the following matlab code?

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 26 Feb. 2015
I'd probably call the function Threshold190() or Threshold140() or ThresholdImage() or something like that.

Weitere Antworten (0)

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by