Giter Club home page Giter Club logo

lod2buildingmodel's Introduction

Automated LoD-2 Model Reconstruction from Satellite-derived Digital Surface Model and Orthophoto

This is a LoD-2 building model reconstruction approach with code, also the software version called "SAT2LoD2".

The journal paper Automated LoD-2 Model Reconstruction from Satellite-derived Digital Surface Model and Orthophoto is the technical description of the approach.

The conference paper Sat2LoD2: A Software For Automated Lod-2 Modeling From Satellite-Derived Orthophoto And Digital Surface Model describing the tools (SAT2LoD2) which achieve by Python, operations and with some slight updates.

Resources

[(PDF) Automated LoD-2 Model Reconstruction from Satellite-derived Digital Surface Model and Orthophoto]
[(PDF) Sat2lod2: A Software For Automated Lod-2 Modeling From Satellite-Derived Orthophoto And Digital Surface Model]

Abstract

Digital surface models (DSM) generated from multi-stereo satellite images are getting higher in quality owning to the improved data resolution and photogrammetric reconstruction algorithms. Satellite images effectively act as a unique data source for 3D building modeling, because it provides a much wider data coverage with lower cost than the traditionally used LiDAR and airborne photogrammetry data. Although 3D building modeling from point clouds has been intensively investigated, most of the methods are still ad-hoc to specific types of buildings and require high-quality and high-resolution data sources as input. Therefore, when applied to satellite-based point cloud or DSMs, these developed approaches are not readily applicable and more adaptive and robust methods are needed. As a result, most of the existing work on building modeling from satellite DSM achieves LoD-1 generation. In this paper, we propose a model-driven method that reconstructs LoD-2 building models following a "decomposition-optimization-fitting” paradigm. The proposed method starts building detection results through a deep learning-based detector and vectorizes individual segments into polygons using a “three-step” polygon extraction method, followed by a novel grid-based decomposition method that decompose the complex and irregularly shaped building polygons to tightly combined elementary building rectangles ready to fit elementary building models. We have optionally introduced OpenStreetMap (OSM) and Graph-Cut (GC) labeling to further refine the orientation of 2D building rectangle. The 3D modeling step takes building-specific parameters such as hip lines, as well as non-rigid and regularized transformations to optimize the flexibility for using a minimal set of elementary models. Finally, roof type of building models are refined and adjacent building models in one building segment are merged into the complex polygonal model. Our proposed method have addressed a few technical caveats over existing methods, resulting in practically high-quality results, based on our evaluation and comparative study on a diverse set of experimental dataset of cities with different urban patterns.

workflow decomposition result1e resultfigure1

TODO

  • Building LoD-2 generation via satellite data.

Usage

SAT2LoD2: LoD-2 building model reconstruction software

Please refer to the user manual in ./softawre/software_user_manual.pdf
The sampel input and output files are at ./softawre/example/
The executable file is at ./softawre/SAT2LoD2/SAT2LoD2.exe

Operation video is available in Youtube: SAT2LoD2 operation video

There are two individual version of SAT2LoD2 for PC with Nvidia CUDA 10 driver and CUDA 11 driver:
If your GPU is RTX 30 series, please download the version for CUDA 11:

If your GPU is in other situation, please download the version for CUDA 10:

Currently, a new version of SAT2LoD2 (Beta version) can detect and reconstruct circular building model, please download the version of CUDA 10:

Notice: SAT2LoD2 software and open-source has minor improvments compare with the pulished ISPRS Journal paper include: 1) building segmentation based on HRNetV2; 2) non-rectangular shape buildings mesh generation. Moreover, processing time for software and code is optimized as well.

Open source code of LoD-2 model reconstruction

Python is the only language for software and open-source codes.
Please refer to the code in ./code/;
./code/SAT2LoD2.py is the software GUI and main function of whole workflow;
./code/hrnet_seg.py corresponses to Building detection and segmentation;
./code/building_polygon.py corresponses to Initial 2D building polygon extraction;
./code/building_decomposition.py corresponses to Building rectangle decomposition;
./code/building_refinement.py corresponses to Building rectangle orientation refinement;
./code/building_modelfit.py corresponses to 3D model fitting;
./code/building_obj.py corresponses to Mesh generation.

The weight for building segmentation download here:

Reference

@article{gui2021automated,
  title={Automated LoD-2 model reconstruction from very-high-resolution satellite-derived digital surface model and orthophoto},
  author={Gui, Shengxi and Qin, Rongjun},
  journal={ISPRS Journal of Photogrammetry and Remote Sensing},
  volume={181},
  pages={1--19},
  year={2021},
  publisher={Elsevier}
}
@Article{isprs-archives-XLIII-B2-2022-379-2022,
  AUTHOR = {Gui, S. and Qin, R. and Tang, Y.},
  TITLE = {SAT2LOD2: A SOFTWARE FOR AUTOMATED LOD-2 BUILDING RECONSTRUCTION FROM SATELLITE-DERIVED ORTHOPHOTO AND DIGITAL SURFACE MODEL},
  JOURNAL = {The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
  VOLUME = {XLIII-B2-2022},
  YEAR = {2022},
  PAGES = {379--386},
  URL = {https://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/XLIII-B2-2022/379/2022/},
  DOI = {10.5194/isprs-archives-XLIII-B2-2022-379-2022}
}

lod2buildingmodel's People

Contributors

heavenswordg avatar ninglixu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lod2buildingmodel's Issues

关于运行程序报错

在按照youtube上的视频进行操作后一直出现图片上的几种错误,有什么解决办法吗,希望得到回复,谢谢!

codes

hi, when will the working codes be published

prediction

Hello, I'd like to ask about the code mentioned in your paper for using U-Net and Mask R-CNN for prediction. However, I only found HRNet in your code. Could you please guide me on where to find the code for using U-Net and Mask R-CNN for prediction? Thank you.

Roof Type Viewer

First of all, I would like to thank you for making good research results available to the community.
I want to visualize the Roof type, do you have any good ideas? 
If there is no visualization method, we will try to make a json viewer.

How to view the 3D Model?

Hi, this is excellent work! After running this on windows 10 64-bit with CUDA 10, these are the results I get:
Screenshot (95)

How can I have a 3D object from here or was there any other visualization that was supposed to be there?
Thank you

exe cannot find

Hello, thanks for release the awesome project. I am looking for the executable file at ./softawre/SAT2LoD2/SAT2LoD2.exe; however, I couldn't find the folder. Did I miss some instruction?

SAT2LoD2 crashes when building 3D Model - CUDA 11

Hello,

I have tried this evening running a version of SAT2LoD2 on my computer. I have Windows 10 with RTX 3070 CUDA 11.
During the process of building the 3D model the windows app crashed and no files were generated.
Your results look quite impressive so I am keen on getting this to work on my computer. Are you able to help?

License

This is great work! Thanks for sharing with the community. The GitHub repo does not mention the license under which the source code is released - can you please clarify that?

data

I would like to ask you about the data mentioned in your paper that is useful for Buenos Aires area-1, but I only found one in the github project. I would like to ask where can I find other data such as Buenos Aires area-1 and London area-2? Or you can provide it. thank you.

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.