Detection Of water bodies from rest of the image

I want to extract only water bodies from rest of the image..how can i do this efficiently? Can anyone help me?

댓글 수: 2

Where did you upload your image to?
Gaurav
Gaurav 2012년 3월 28일
Sir i want to extract only the water part as shown in the following image..
http://www.freemalaysiatoday.com/wp-content/uploads/2011/01/No-water-electricity-roads-in-Jabus-constituency-1.jpg
Please help me to achieve this efficiently...

댓글을 달려면 로그인하십시오.

 채택된 답변

Sean de Wolski
Sean de Wolski 2012년 3월 21일

5 개 추천

I = your_image;
for ii = size(I,1):-1:1
for jj = size(I,2):-1:1);
water(ii,jj) = isWet(I(ii,jj,:))
end
end
Now you just need to write isWet().

댓글 수: 1

Gaurav
Gaurav 2012년 3월 23일
Thanks for your reply...
But I am confused about what to write in isWet.Is this a threshold function for pixel values corresponding to water color? or anything else?
Please help me as i m very new to image processing and matlab...
Thank u.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Gaurav
Gaurav 2012년 3월 26일

0 개 추천

Thanks for your reply... But I am confused about what to write in isWet.Is this a threshold function for pixel values corresponding to water color? or anything else? Please help me as i m very new to image processing and matlab... Thank u.

댓글 수: 2

It looks like Sean's joke went over your head. But you still have a chance to respond to my comment about posting your image.
Gaurav
Gaurav 2012년 3월 28일
Sir i want to extract only the water part as shown in the following image..
http://www.freemalaysiatoday.com/wp-content/uploads/2011/01/No-water-electricity-roads-in-Jabus-constituency-1.jpg
Please help me to achieve this efficiently...

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by