This repository contains code and sample data for creating virtual scanning simulations like the ones below. The code produces point clouds with realistic characteristics such as non-uniformity and missing data from self-occlusions. It is mainly meant for visualising the scanning process.
Simply run install.sh
to install a conda environment named scan
and you are ready to use the library.
sc=Scanner(model="bunny",steps=360)
sc.scan(n_rays=100)
sc.scanVisualize(texture=True)
sc.pointsVisualize(with_mesh=True)
sc=Scanner(model="airplane",steps=360)
sc.scanMVS(n_points=4000)
sc.scanVisualizeMVS(texture=False)
sc.pcVisualize(with_mesh=False,type="mvs")
You can find example code for MVS and LiDAR scanning visualisation of the ETH3D dataset in this repository.