Forum

Author Topic: Automatic change gray marker to green or blue marker  (Read 5390 times)

denisuwardhi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Automatic change gray marker to green or blue marker
« on: April 17, 2017, 06:18:54 AM »
Dear all,

In my project, I use cross marker for automatic detect point. Some marker has detect by PS autmatically and mark by green pin. But other mark by gray pin (the position is correct). How to change the gray marker to green or blue without user intervention or by automatic ?

Cheers

Deni

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15136
    • View Profile
Re: Automatic change gray marker to green or blue marker
« Reply #1 on: April 17, 2017, 01:40:52 PM »
Hello Deni,

Gray flags are not actually markers, they indicate the positions where marker projection could be put, according to the marker position in 3D (based on other projections).

Without manual pinning the marker projections switching them from gray to green you can only use Python scripting for the automation.
Best regards,
Alexey Pasumansky,
Agisoft LLC

denisuwardhi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Automatic change gray marker to green or blue marker
« Reply #2 on: September 29, 2023, 05:36:56 PM »
HI Alexey

could you give me the example code for this case?

JMR

  • Hero Member
  • *****
  • Posts: 515
    • View Profile
Re: Automatic change gray marker to green or blue marker
« Reply #3 on: October 02, 2023, 01:37:04 PM »
Changing blindly gray to green sounds like a bad idea. What is the actual purpose?
If one single image is badly aligned and you pin a marker on it, your project may get badly degraded.
If Metashape has not detected some markers and leaves them gray you should not converth them into pinned markers without visual inspection. At least you should manually pin 2 or 3 projections for every marker. If you turn auto refinement on, you will likely have most of remaining ones auto-marked with blue flags but this markers placement will be guided by image content and it will skip occuded markers or missaligned photos.

Regards

José Martínez
AccuPixel Ltd.