Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - antoine billault

Pages: [1]
1
Python and Java API / Re: Changing coordinate system on all cameras
« on: May 11, 2023, 07:03:45 PM »
thank you Paul for that reply.

I am not sure I understand the  Metashape.Matrix.Diag((1, -1, -1) ... whereas on other post on the same topic it's a 4x4 matrix being used such as  Metashape.Matrix.Diag((1, -1, -1, 1)

by the way, that post https://www.agisoft.com/forum/index.php?topic=13611.msg60200 should also be helpful as we work with pandas as well.
with that code we can afterward discriminate sensor model as well in the DataFrame written.

antoine

2
Python and Java API / Re: Changing coordinate system on all cameras
« on: May 03, 2023, 01:04:10 AM »
hello Paul,
I wanted to follow up that previous reply

but I would like to slighlty change it :
I wanted to apply GNSS leverarm before printing source and target coordinates.

I already setup camera.sensor as well as camera.antenna.rerefence vector
something like that
sensor.antenna.location_ref = Metashape.Vector([0.000, -0.005, 0.068])

so how to apply GNSS leverarm ? If I am not wrong, GNSS leverarm vector is given in camera ref system model.
I understand we must work in LSE (Local Space Euclidean coordinate system) if my source coordinate are given in geographic coord (lat ; long ; ellipsoid height)

So should I do that in 2 steps ?
express antenna leverarm in LSE
apply conversion from lat,long,ellip_h into LSE ?

also , is chunk.updateTransform() needed after step 1 ? step 2 ?

thx
antoine

4
Python and Java API / Re: Animation to replicate image camera positions
« on: January 29, 2023, 04:03:36 PM »
Hello Paulo,
 do you have any idea how we can use or adapt your script to apply modification of animation from cameras enabled in a chunk, and not using POSE of disabled cameras of the chunk.

in other word, do not consider disabled cameras of chunk when applying your script.
thank you.
antoine

5
Feature Requests / Re: Iterative Closest Point Algorithm
« on: February 16, 2022, 07:07:26 AM »
Dear all,
I was wondering if the alignement of the photo was automaticcally update when using that ICP script ?
I mean : if I am aligning a 3D model on a pointcloud, I guess the images (in the chunk containing that 3D model) are directly rotated and translated ?
by an additionnal command in the script ?
should we update the pose of each image ?

thanks for your comments.
antoine

6
General / Re: 3D DEM generation
« on: October 27, 2021, 04:48:25 PM »
Dear all
if I want to proceed to the same idea but on Pointcloud and not mesh or 3Dmodel, which argument should I use instead of chunk.model.vertices in that Seboon's SCRIPT ?

is it chunk.pointcloud.points ?

thanks
antoine

7
General / Export tiled model to Cesium ion
« on: October 20, 2021, 11:32:29 PM »
Hi Filsun,
I confirm, same issue with me.
In AGISOFT I am searching how we can apply a shift in Z before uploading to CESIUM
maybe the easiest way is to find in Agisoft Reference Setting WINDOW if there is an dedicated EPSG code that would correspond to your planimetric local Ref Frame + ellipsoidal height.
Cesium only accepts ellipsoidal height...
Does Agisoft understand combination of EPSG code ?  such as <planimetric EPSG code> + <altimetric EPSG code>

8
Python and Java API / Re: Exporting TPs with RMS error in xyz
« on: July 27, 2021, 01:39:35 AM »
thank you Paul

9
Python and Java API / Re: Exporting TPs with RMS error in xyz
« on: July 26, 2021, 10:21:10 AM »
Hello Paul
I need to perform the same task
I wanted to ask if you can clarify your modification you pointed out in your last post
Quote
so I changed
Code: [Select]

coord = T * point.coord

with
Code: [Select]

V = chunk.transform.matrix * point.coord
V.size = 3
X, Y, Z = chunk.crs.project(V)

As you introduce
Code: [Select]
V = chunk.transform.matrix * point.coord
V.size = 3
X, Y, Z = chunk.crs.project(V)

I was wondering if  you still use

Code: [Select]
T = chunk.crs.localframe(T.mulp(chunk.region.center)) * T
THANKS

antoine

Pages: [1]