Forum

Author Topic: buildDenseCloud throws error in 1.4  (Read 1355 times)

benton

  • Newbie
  • *
  • Posts: 29
    • View Profile
buildDenseCloud throws error in 1.4
« on: July 02, 2018, 08:58:07 AM »
Hello,

After upgrading to 1.4 from 1.3 the following line in a script does not work;

chunk.buildDenseCloud(quality=PhotoScan.HighQuality, filter=PhotoScan.NoFiltering)

I get the following error;
Traceback (most recent call last):
  File "U:\PhotoScan_Scripts\SANDBOX\photoscan_process_DJI_AND_A6D_p4p_for_orthophoto_1-4.py", line 154, in <module>
    chunk.buildDenseCloud(quality=PhotoScan.HighQuality, filter=PhotoScan.NoFiltering)
TypeError: 'filter' is an invalid keyword argument for this function

Regards
Ben

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: buildDenseCloud throws error in 1.4
« Reply #1 on: July 02, 2018, 11:24:43 AM »
Hello Ben,

In the version 1.4 the dense cloud generation task has been split into two parts - depth maps generation and dense cloud generation:

Code: [Select]
chunk.buildDepthMaps(quality = PhotoScan.LowQuality, filter = PhotoScan.AggressiveFiltering)
chunk.buildDenseCloud(point_colors = True)
Best regards,
Alexey Pasumansky,
Agisoft LLC