How can I mask the ocean?
3 次查看(过去 30 天)
显示 更早的评论
As in the figure(from online),how to mask the offshore, and only save the open ocean?
3 个评论
Image Analyst
2017-6-10
This seems to be the only question that shows up now, despite the popup saying he asked 2 questions. So, which colors do you consider to be "offshore"? I'm seeing quite a few colors offshore (right next to the black land masses) - white, blue, green, yellow. So which color(s) do you want?
Please give a desired output image because even if you said the white pixels were the colors offshore that you wanted to mask out, I don't know what you want the masking color to be (e.g. black or white), and if "only save the open ocean" means that you will crop something from the image. Recall images must remain rectangular.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oceanography and Hydrology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!