Skip to content

Commit

Permalink
generate laz point cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
rumenmitrev authored Jun 27, 2022
1 parent 7e60e4e commit 46bb08e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions scripts/postprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,17 @@ else
echo "gdal_translate is not installed, will skip MBTiles generation"
fi

# Generate point cloud (if entwine or potreeconverter is available)
#Generate laz point cloud
pointcloud_input="odm_georeferencing/odm_georeferenced_model.ply"
pointcloud_output="odm_georeferencing/odm_georeferenced_model.laz"
pdal translate -i "$pointcloud_input" "$pointcloud_output"

# Generate point cloud (if entwine is available)
pointcloud_input_path=""
for path in "odm_georeferencing/odm_georeferenced_model.laz" \
"odm_georeferencing/odm_georeferenced_model.las" \
"odm_georeferencing/odm_georeferenced_model.ply" \
"odm_filterpoints/point_cloud.ply" \
"opensfm/depthmaps/merged.ply" \
"smvs/smvs_dense_point_cloud.ply" \
"mve/mve_dense_point_cloud.ply" \
"pmvs/recon0/models/option-0000.ply"; do
"odm_filterpoints/point_cloud.ply"; do
if [ -e $path ]; then
echo "Found point cloud: $path"
pointcloud_input_path=$path
Expand Down

0 comments on commit 46bb08e

Please sign in to comment.