Forum

Author Topic: Disabling all estimated marker projections  (Read 4329 times)

Jon-PetterVM

  • Newbie
  • *
  • Posts: 2
    • View Profile
Disabling all estimated marker projections
« on: March 03, 2017, 09:52:50 AM »
Hi,
I have flown a project where I had to place GCP's on top of stakes.
The estimated projections will of course appear on the ground directly behind the top of the stake in the first photo i defined the marker in. This means all these observations are incorrect, while the correct ones i add manually have large errors because the estimated ones are still used.
I only want to define the projections manually in this project. But how do I disable or remove the estimated projections?
I know how to do this marker by marker, but I have about 1700 photos and 50 markers, so that would probably take me days.

WSurvey

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Disabling all estimated marker projections
« Reply #1 on: March 03, 2017, 12:39:51 PM »
Hi Jon,

I think I just went thru your problem myself. Instead of Right Click > Create Marker, define the marker in the first photo by: Right Click > Place Marker > New Marker. In the second photo you'll see a guideline crossing your marker, but there won't be an instance of that marker created automatically. Right Click > Place Marker > 'Point x'.

If your photos are aligned well then the instance of this marker created by intersection in the remaining photos will be very close, hopefully only requiring small movements.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Disabling all estimated marker projections
« Reply #2 on: March 03, 2017, 12:48:46 PM »
Hello Jon-PetterVM,

If you need to remove all "blue flags" (unpinned marker projections), then you can use the following Python code:
Code: [Select]
import PhotoScan
chunk = PhotoScan.app.document.chunk
for marker in chunk.markers:
    for camera in list(marker.projections.keys()):
        if not marker.projections[camera].pinned:
            marker.projections[camera] = None
PhotoScan.app.update()
Best regards,
Alexey Pasumansky,
Agisoft LLC

Heinrich

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Disabling all estimated marker projections
« Reply #3 on: March 09, 2017, 12:02:13 AM »
Alexey,
this is very useful, many thanks!