Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: ajg-cal on October 02, 2012, 02:00:26 PM

Title: remove cameras of a certain orientation
Post by: ajg-cal on October 02, 2012, 02:00:26 PM
is it possible to write a script that will remove cameras that are within a certain ranges of parameter orientation?

with aerial photography datasets I would like to be able to take out the turns quickly

I don't know anything about programming languages and scripting but would be happy to learn if anyone thought that the above is possible
Title: Re: remove cameras of a certain orientation
Post by: Alexey Pasumansky on October 04, 2012, 02:16:43 PM
Hello ajg-cal,

Do you mean filtering the cameras only by yaw, pitch or roll angles? If so than you can just sort ground control pane entities by certain parameter and remove the cameras manually.

In the other case, if the orientation threshold is calculated in a different way this task should be performed by Python script.
Title: Re: remove cameras of a certain orientation
Post by: ajg-cal on October 05, 2012, 11:29:46 AM
hah - didn't think of that thank you! that sounds perfect.

cheers Alexey