Coder Social home page Coder Social logo

zhilyzhang / mecnet Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 2.0 3.49 MB

The network is to identify the outline of water-bodies accurately from very high resolution (VHR) remote sensing imagery, particularly for complicated and challenging water-body samples.

Python 100.00%

mecnet's Introduction

MECNet

This repo holds code for MECNet: Rich CNN features for water-body segmentation from very high resolution aerial and satellite imagery
The network is to identify the outline of water-bodies accurately from very high resolution (VHR) remote sensing imagery, particularly for complicated and challenging water-body samples.

MECNet.png

To understand the contribution of different modules we proposed in the accurate extraction of the water-bodies, we visualized the feature maps at the last layer of the decoder. This is because this layer consists of the MEC, DSFF, and MPF modules. We sequentially visualized the feature maps of FCN, "FCN + MEC", "MEC + MPF" and "MEC + MPF + DSFF", as shown in Figure 11. The feature maps were visualized by taking the maximum response value in the channel dimension of the feature maps, which represented the response of each convolutional kernel to the water body features at each spatial location.

img_1.png

Usage

1. Environment

Please prepare an environment with python=3.7, and then use the command "pip install -r requirements.txt" for the dependencies.

2. Prepare data

Please prepare data about water-body and specify the corresponding data path.

3. Train/Predict

  • Run the train script on Water-body dataset. The batch size can be reduced to 4.
python train.py
  • Run the predict script on Water-body dataset.
python predict.py 

Citations

@article{Alisirs2021MECNet,
  title={MECNet: Rich CNN features for water-body segmentation from very high resolution aerial and 
satellite imagery},
  author={Zhili Zhang, Meng Lu, Shunping Ji, Huafen Yu and Chenhui Nie},
  journal={remotesensing-1173355},
  year={2021}
}

mecnet's People

Contributors

earthvisionlab avatar zhilyzhang avatar

Stargazers

huangjingyuan avatar  avatar  avatar Pratinav Seth avatar Robin Cole avatar  avatar 狗焕  avatar  avatar YjSong avatar  avatar  avatar  avatar HopeSean avatar  avatar  avatar  avatar Vicky Liau avatar plufengs avatar M. Wesley - J. avatar  avatar  avatar  avatar jiangfan avatar

Watchers

James Cloos avatar Guo Rui avatar  avatar

mecnet's Issues

Hi, a question about metirc_cal.py

In metric_cal.py
FN = col_sum - TP
FP = raw_sum - TP�
precision = TP[1] / col_sum[1]
recall = TP[1] / raw_sum[1]�

but precision should be calculated by TP/TP+FP
and recall should be calculated by TP/TP+FN

it seems an error.

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.