suggest me suitable title for the following matlab code?
1 次查看(过去 30 天)
显示 更早的评论
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
2015-2-26
I'd probably call the function Threshold190() or Threshold140() or ThresholdImage() or something like that.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!