Giter VIP home page Giter VIP logo

e2evap's Introduction

E2EVAP: End-to-end vectorization of smallholder agricultural parcel boundaries from high-resolution remote sensing imagery

by Yang Pan,Xingyu Wang,Yanfei Zhong, and Liangpei Zhang

introduction This is an official implementation of E2EVAP in our ISPRS 2023 paper E2EVAP: End-to-end vectorization of smallholder agricultural parcel boundaries from high-resolution remote sensing imagery


Citation

If you use E2EVAP in your research, please cite the following paper:

@article{PAN2023246,
title = {E2EVAP: End-to-end vectorization of smallholder agricultural parcel boundaries from high-resolution remote sensing imagery},
journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
volume = {203},
pages = {246-264},
year = {2023},
issn = {0924-2716},
doi = {https://doi.org/10.1016/j.isprsjprs.2023.08.001},
url = {https://www.sciencedirect.com/science/article/pii/S0924271623002162},
author = {Yang Pan and Xinyu Wang and Liangpei Zhang and Yanfei Zhong},
}

Getting Started

Environment reference:E2EC

Prepare iflytek parcel Dataset

  • Dataset download

All images can be download from the top1 solution from iFLYTEK Challenge 2021

  • Dataset split

for training/valiate dataset, we follow cropping and split strategy from top1 solution from iFLYTEK Challenge 2021

for test dataset, we use same cropping strategy as for training but the images smaller than 512*512 are dropped.

python scripts/pre_for_train.py
python scripts/pre_for_test.py

Evaluate Model

1. download pretrained weight in this link

2. test the model

python test.py dla34_e2evap_ifly_parcel_test --checkpoint /xxxx/ckpt_ifly.pth --eval segm --device 0

3. overlapped inference on large size remote sensing imagery

we follow the similar strategy from top1 solution from iFLYTEK Challenge 2021

step1:clipping the large size imagery

python overlap_infer/cut_patch.py

The parameters patch size and stride can be adjusted according to the extraction result.

step2:infer the cutted images

add the metadata information about the cutted images in dataset/info.py

infer the cutted images

python overlap_infer/overlap_infer.py e2evap_ifly_parcel_test_CGDZ_8_768 --checkpoint /xxxx/ckpt_ifly.pth --with_nms True --eval segm --device 0

step3:merge the cutted results and converted them into shp format.

python overlap_infer/merge2shp.py

It is necessary to specify the inferred JSON path(segm_json), which is different from the original JSON path(poi_json_path). The main parameters for post-processing are: score_thr, nms_mode,NMS_iou_thr Result path: shp_single_path

ToDO list

  • training code
  • visualizaiton code

e2evap's People

Contributors

yangpanhzau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

e2evap's Issues

code

Congratulations, this is excellent work! The paper has been accepted, do you have plans to open source the code?I will look forward to it very much.

模型在无人机的适用性

我仔细研读了您的文章,我认为您的研究内容很有深度,对我启发良多,文章内容也是让我受益良多。请问您是否在无人机地块识别上进行了测试本算法,我是北京师范大学的遥感方向研究生,我的微信:17866839908,期待您的回复。

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.