Forum

Author Topic: Dense cloud  (Read 2402 times)

alhidade

  • Newbie
  • *
  • Posts: 3
    • View Profile
Dense cloud
« on: January 25, 2017, 12:05:18 AM »
He Alexey,

In the menu "Tools/Dense cloud/Classify Groud Points" i have an opportunity to choose which points to reclassify.
Is it possible with Python script too?
The function "classifyGroundPoints()" always reclassifies all the points!

other:
All the modifications of the "Dense Cloud" are valid even after i quit without saving.
What is the reason of this?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14855
    • View Profile
Re: Dense cloud
« Reply #1 on: January 25, 2017, 11:46:20 AM »
Hello alhidade,

We'll try to add source classes parameter to classifyGroundPoints() procedure in one of the closest updates of 1.3.

As for the dense cloud, the issue that you mention should be fixed in 1.3 pre-release already. But it's interesting that yesterday another user reported that his modifications of the dense cloud are not stored even if he save the project.
Best regards,
Alexey Pasumansky,
Agisoft LLC

alhidade

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Dense cloud
« Reply #2 on: February 14, 2017, 08:59:37 PM »
Hi Alexey,

Please help me!
What is wrong in this line:

PhotoScan.app.document.chunk.dense_cloud.classifyGroundPoints(max_angle=45.0, max_distance=2.0, cell_size=20.0, 0) 
SyntaxError: positional argument follows keyword argument

What is the "from" parameter keywords?
(Photoscan Prof 1.3.0 build 3772)

Thanks
Janos

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14855
    • View Profile
Re: Dense cloud
« Reply #3 on: February 14, 2017, 09:05:44 PM »
Hello Janos,

"from" - is the class of points to be re-classified. You can just use first three arguments, or use "from = PhotoScan.PointClass.Created", for example.

The error message indicates that you cannot use the argument without the keyword ("from" is your case) after the arguments with the keywords.
Best regards,
Alexey Pasumansky,
Agisoft LLC

alhidade

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Dense cloud
« Reply #4 on: February 18, 2017, 05:57:08 PM »
Hi Alexey

I tried it to "from = ...".
 The result:

    PhotoScan.app.document.chunk.dense_cloud.classifyGroundPoints(max_angle=45.0, max_distance=2.0, cell_size=20.0, from = PhotoScan.PointClass.Created)
                               ^
SyntaxError: invalid syntax