Code Monkey home page Code Monkey logo

python-sar-sea-land--segmentation's Introduction

Python-SAR-Sea-Land-segmentation-

本项目是使用高精度的海岸线shapefile文件,制作SAR图像的陆地掩膜,在Python上使用Gdal库批量实现SAR图像的海陆分割

用到的海岸线文件是German FOSSGIS小组(https://www.fossgis.de/) 从OSM海岸线中制作了shapefile格式的文件,下载地址为https://osmdata.openstreetmap.de/data/land-polygons.html

使用QGIS软件打开下载好的陆地掩膜文件land-polygons.shp image

SAR图像海陆分割的实现主要分为3步

第一步:根据原始SAR图像的tiff文件,提取SAR图像的地理坐标范围,再依据这个坐标范围制作SAR图像的范围掩膜shp文件 image

第二步:使用第一步制作好的范围掩膜shp文件,裁剪全球海岸线land-polygons.shp文件,得到SAR图像范围内的陆地掩膜shp文件 image image

第三步:使用第二步裁剪下来的陆地掩膜文件,用gdal.Warp函数裁剪原始的SAR图像,实现SAR图像的海陆分割

最终效果图 image

python-sar-sea-land--segmentation's People

Contributors

sakura-han avatar

Stargazers

 avatar

Watchers

 avatar

python-sar-sea-land--segmentation's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.