Detection Of water bodies from rest of the image
2 views (last 30 days)
Show older comments
I want to extract only water bodies from rest of the image..how can i do this efficiently? Can anyone help me?
2 Comments
Accepted Answer
Sean de Wolski
on 21 Mar 2012
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().
More Answers (1)
Gaurav
on 26 Mar 2012
2 Comments
Image Analyst
on 26 Mar 2012
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!