フィルターのクリア

Info

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

Software don't response after run this programme!

1 回表示 (過去 30 日間)
saravanakumar D
saravanakumar D 2013 年 12 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am trying to pure white pixel into black pixel in gray scale image. So i make this code. But it is not worked please anybody help
RGB = imread('E:\Working\mapping\first\map.png');
figure,
imshow(RGB),
title('Original Image');
GRAY = rgb2gray(RGB);
g=GRAY;
imtool(GRAY);
title('Gray Image');
[r c]=size(g);
for i=1:r
for j=1:c
if (impixel(g,j,i)>254)
g(i,j)=0;
end
end
end
imtool(GRAY);
  1 件のコメント
Image Analyst
Image Analyst 2013 年 12 月 29 日
I think you started a duplicate thread which is going on. Let's keep the answer to just that thread. It's best not to start multiple threads on the same question. I may delete this one later, if I remember.

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by