Forum

Author Topic: remove frames from multiframe project  (Read 5244 times)

pap014

  • Newbie
  • *
  • Posts: 12
    • View Profile
remove frames from multiframe project
« on: May 24, 2017, 01:04:25 PM »
Hello,

 I have a multiframe project of more than 3000 frame. I want to have a dense cloud for every frame but the "align photo" doesn't work on some random frames in the project. Due to that, the "build dense cloud command stops processing at the first frame where "align photo" didn't work.

Is there a way i could remove all frame that doesn't have a given minimum number of points before running build dense cloud ?

thank you very much !



Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15635
    • View Profile
Re: remove frames from multiframe project
« Reply #1 on: May 24, 2017, 10:27:24 PM »
Hello pap014,

Removing frames can be done in the following way:

Code: [Select]
i = 1 #frame index
chunk.remove(chunk.frames[i])

However, if you have regular issues with not aligned frames (for unknown reason), you can share the sample project (with only few frames) with out support team for more detailed investigation of the problem.
Best regards,
Alexey Pasumansky,
Agisoft LLC

pap014

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: remove frames from multiframe project
« Reply #2 on: May 29, 2017, 10:42:06 AM »
Hello, thanks for your answer, how can I send you the project ?

Also I would like to do the follwing script

for i in range(1:"number_of_frames")
      if "number_of_point_in_sparse_cloud"<1000
            chunk.remove(chunk.frames)
end

I don't really know how to access the number of point in sparse cloud at frame i.
Thank you very much

« Last Edit: May 29, 2017, 10:51:23 AM by pap014 »