jieeeeeeeeeee / Blender-Addon-Photogrammetry-Importer

Addon to import different photogrammetry formats into Blender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blender-Photogrammetry-Importer

This repository contains a Blender addon to import reconstruction results of several libraries.

Supported libraries (data formats):

In addition, the addon supports some common point cloud data formats:

1 Requires Pillow to read image sizes from disk. 2 Requires Pillow for point color computation.
3 Requires Pyntcloud for parsing. 4 Requires Pylas for parsing. 5 Requires Lazrs for parsing.

Compatible with Blender 2.80 onwards. There is an older version of the addon available for Blender 2.79 that allows to import NVM files - see the 2.79 branch.

Getting Started

Paper

If you use this library for scientific purposes, please consider to cite the following paper.

[paper]  [arxiv]
@article{PhotogrammetryForModeling2021,
 title={A Photogrammetry-based Framework to Facilitate Image-based Modeling and Automatic Camera Tracking},
 author={Bullinger, Sebastian and Bodensteiner, Christoph and Arens, Michael},
 booktitle={International Conference on Computer Graphics Theory and Applications},
 year={2021}
}

Example

This repository contains an example Colmap model. The following image shows the imported camera poses, image planes and point cloud in Blender's 3D view. alt text The input images of the Colmap model are located here: https://github.com/openMVG/ImageDataset_SceauxCastle.

The addon computes an animated camera with corresponding background images from the reconstructed camera poses. alt text

There is also an import option that allows to interpolate the reconstructed camera poses. alt text

In addition, the addon allows to import meshes contained in the workspaces of specific libraries. Manually imported meshes can also be aligned with the corresponding reconstruction by following the instructions here. alt text

In addition, the addon allows to visualize depth maps (reconstructed with Colmap or MVE) as point clouds.

The addon offers an option to draw big point clouds with OpenGL to reduce computational requirements. The addon provides a panel to export these OpenGL point clouds renderings - see Point Cloud Visualization and Rendering. alt text

About

Addon to import different photogrammetry formats into Blender

License:MIT License


Languages

Language:Python 99.8%Language:Shell 0.2%Language:Batchfile 0.1%