16
General / Re: What software for cleaning Dense Point Cloud?
« on: October 21, 2016, 11:34:42 AM »
Ok so what software would you recomend for cleaning dense point cloud and then mesh generation??
Thank you
Thank you
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
doc.save()
print("Processed project: " + project_name)
chunk.exportModel(path + "/" + project_name[:-3] + "obj", texture_format = 'tif', texture = True, format = "obj")
else:
continue
import PhotoScan, os
path = PhotoScan.app.getExistingDirectory("Please choose the folder with .psz files:")
print("Script started")
doc = PhotoScan.app.document
doc.clear()
project_list = os.listdir(path)
for project_name in project_list:
if ".PSZ" in project_name.upper():
doc.open(path + "/" + project_name)
chunk = doc.chunks[0]
chunk.matchPhotos(accuracy=PhotoScan.HighAccuracy, preselection=PhotoScan.GenericPreselection)
chunk.alignCameras()
chunk.buildDenseCloud(quality=PhotoScan.HighQuality)
chunk.buildModel(surface=PhotoScan.Arbitrary, interpolation=PhotoScan.EnabledInterpolation)
chunk.buildUV(mapping=PhotoScan.GenericMapping)
chunk.buildTexture(blending=PhotoScan.MosaicBlending, size=4096)
doc.save()
print("Processed project: " + project_name)
else:
continue
print("Script finished.")