Alexey
I am able to move forward on dense cloud point (zero resolution) by defining the primary channel after master band rest as you defined after new_mater
but ran into another issue when building the orthomosaic I am getting empty camera list error.
It is not affecting the re
chunk = doc.addChunk()
chunk.addPhotos(input_image_files_list, PhotoScan.MultiplaneLayout)
doc.save(save_psx_filename)
new_master = chunk.sensors[3]
for s in chunk.sensors:
s.master = None
for s in chunk.sensors:
s.master = new_master
chunk.primary_channel = 3
chunk.matchPhotos(accuracy=PhotoScan.HighAccuracy, preselection=PhotoScan.ReferencePreselection,
generic_preselection=True, reference_preselection=True, keypoint_limit=80000,
tiepoint_limit=5000)
chunk.alignCameras(adaptive_fitting=False)
chunk.buildDepthMaps(quality=point_cloud_quality, filter=PhotoScan.AggressiveFiltering, reuse_depth=True)
chunk.buildDenseCloud(point_colors=True, max_neighbors=71)
doc.save()
chunk.buildDem(source=PhotoScan.DenseCloudData, interpolation=PhotoScan.EnabledInterpolation)
doc.save()
chunk.buildOrthomosaic(surface=PhotoScan.ElevationData, blending=PhotoScan.MosaicBlending)
doc.save()