Giter Club home page Giter Club logo

ern's Introduction

ERN

This repository contains the implementation of our paper, "ERN: Edge Loss Reinforced Semantic Segmentation Network for Remote Sensing Images".

In this repository you will find:

  • ERN prototxt and caffemodel;
  • Python codes for training and testing;
  • C++ code (VS2013 + OpenCV3.0) for simple shadow detection;

Requirement and Usage

2. Train

  • Prepare the data;
  • Make sure the file path in solver.prototxt & train.prototxt & run_training.py is correct;
  • Run python run_training.py in terminal.

3. Test(inference)

  • Prepare the data;(In our experiments, we first splited the original image into 256*256 )
  • Make sure the file path in infer.prototxt & VH_infer.py & UAV_infer.py is correct;
  • Run python VH_infer.py in terminal.

4. Stitch the patches

5. Evaluate the semantic segmentation performance in shadow-affected regions

  • Shadow detection for ISPRS Vaihingen Dataset (Windows)
    • VS2013 + OpenCV3.0
    • The contrast preserving decolorization has been used.
  • Evaluation (Linux)
    • Make sure the file path in testperformance.py (def xf_set_test_vh())is correct;
    • Run python testperformance.py (def xf_set_test_vh()) in terminal.

License and Citation

Please cite the following paper if you find the project helpful to your research.

@article{Liu2018ERN,
title={ERN: Edge Loss Reinforced Semantic Segmentation Network for Remote Sensing Images},
author={Liu, Shuo and Ding, Wenrui and Liu, Chunhui and Liu, Yu and Li, Hongguang},
journal={Remote Sensing},
volume={10},
number={9},
pages={1339},
year={2018}
}

This code is shared under a Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) Creative Commons licensing.

You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial — You may not use the material for commercial purposes.
  • No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

ern's People

Contributors

liushuo2018 avatar

Watchers

James Cloos avatar

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.