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 - Vadim3D

Pages: [1]
1
Hi
I have the following problem:
On day 1 I calibrated 5 cameras (multi view calibration) in some reference frame that I constructed with markers. Then, I take images of some scene.

On day 2, I realized that 3 from 5 cameras had moved and 2 camera stayed fixed. The scene also changed. So I put back the markers and re-calibrate all cameras with respect to a bit different reference frame (different to day 1).

I want to project the calibration of day 2 to the reference frame of day 1.
I assume that if I know the locations and the orientations of the 2 fixed cameras in the reference frame of day 1, I can use them to find the other 3 cameras in the same reference frame.

So I put the locations and orientations of the 2 fixed cameras in the Reference panel, but it doesn't update the other 3 camera locations (in the estimated Reference panel). As for the orientations, it does update for the other 3 cameras.

What should I do to find the locations of the 3 cameras in the reference frame of day 1?

2
General / How to initialize the reconstruction with GPS and IMU data?
« on: September 19, 2019, 09:48:49 PM »
Hi,
What is the best way to initialize bundle adjustment with known camera positions and orientations (by known, I mean measured e.g by GPS and IMU)?

When using the import reference coordinates in the reference panel "Reference panel -> import -> import cameras positions and orientations from csv file" and then align, What does it do?

Is that initializes the alignment (initializes bundle adjustment)?
Or is that tries to put the reconstructed cameras close to the imported reference coordinates?

Many thanks,
Vadim


3
Python and Java API / Re: Multi view stereo with known cameras aligment.
« on: February 10, 2019, 10:36:10 PM »
Hi Alexey,
Thank you very much for your response.
I am trying to use it.

4
Python and Java API / Q2
« on: February 07, 2019, 10:42:55 PM »
Hi Alexey,
Thank you very much for your response.

Can you please explain to me what is the role of matchPhotos operation when it's after the addPhotos and before the importCameras?

Regarding the alternative  of using Import Cameras operation:
Do you have a code example/sample of "manually using Python form the 4x4 transformation matrix for each camera according to it's location and orientation"?
That what I thought to do, but I don't know how to write it in python using Agisoft framework.

Many thanks,
Vadin

5
Python and Java API / Multi view stereo with known cameras aligment.
« on: February 07, 2019, 11:22:07 AM »
Hi,
I am wondering if I can use Agisof for only Multi-view-stereo?
What I mean is to bypass the cameras alignment step.

Suppose I have a synthetic data that contains synthetic images and the true locations and orientation of the simulated cameras. Now I need to reconstruct the synthetic scene.
Right now, I use the import reference option to load the true location and orientation of the cameras, but Agisoft changes the true location and direction of the cameras, It means that it does the camera alignment and then reconstructs the scene.
It is just an initial guess for the alignment.

As I siad, I know the exact locations and rotations of my cameras. How to import this information such that Agisoft jump over the cameras alignment step and will perform only the multi-view stereo steps?

I know that there is an option to import cameras.xml file that describes cameras geometry. In this case, I need to prepare a synthetic cameras.xml file. I don't know how to do that since the cameras.xml file has a complex form.

Do you have experience with this? or any suggestions?


Many thanks,
Vadim

6
General / Re: clarification on gradual selection parameters please
« on: March 10, 2018, 12:54:35 AM »
Hi,

In this chain, you have spoken about the "Optimization of the photo alignment" after decreasing of the reprojection error in the (Model -> Gradual selection ...).
What is the action that actually doing this?
Is that going to (for each iteration) workflow -> Align photos and then "Not to select the reset current alignment" ?
If not, please tell me how to do that.

Thanks,
Vadim

7
Thanks Alexey,
You were right, I accidentally made an assignment to PhotoScan.Sensor.
Now, the command
> sensor.type = PhotoScan.Sensor.Type.Fisheye
is working.

About the  "residuals graph to see the reprojection errors", I attached a new figure that shows more reasonable projection errors.
Please tell me if you have any notes about the new projection errors.

Many thanks,
Vadim

8
Thanks,

when i use
> sensor.type = PhotoScan.Sensor.Type.Fisheye

it gives me an Error

'str' object has no attribute 'Type'

What i need to do in advance in order to use
> sensor.type = PhotoScan.Sensor.Type.Fisheye

I not sure if i understood your note about the  "residuals graph to see the reprojection errors" i attached a figure that described what i did.
Is that what you meant?


Thank you very much,
Vadim

9
Thanks Alexey,
Now it is working.
i have three more questions:
1. what happens when i do
> sensor.user_calib = calib
and then
> sensor.fixed = True
Does alignment process initialized by this calibration, and then can optimize that? or it is fixed and will not changed during the process?
What is your recommendation about this (to use fixed or something else?), considering that the calibration i did with Lens software?

2.  how to set "Frame" or "Fisheye" type to the sensor?

3. Is there a way to get some feedback from agisoft if my calibration is good enough? for example visual feedback as render the images back from the point cloud using this calibration and estimated extrinsic parameters of the cameras.

Many Thanks,
Vadim

10
Sorry, i unintentionally sent unfinished message.

 Hi ,

I would like to create new chunk, then load photos and then set a fixed calibration for each of the loaded photos.
1. How to do that?
2. Can you please explain me what have after i do - doc.addChunk() -> chunk.addPhotos(file_paths) ? do i have one group of many cameras?
 

So i used:
#  ------------ load the calibration
calib = PhotoScan.Calibration()
calib.load(Calib2Use,format="xml")

#  ------------creat new chunk
doc = PhotoScan.app.document
chunk = doc.addChunk()
chunk.addPhotos(file_paths)# add photos to chunk
sensor = chunk.addSensor() #

sensor.fixed = True
sensor.calibration = calib

sensor.width = chunk.cameras[0].photo.image().width
sensor.height = chunk.cameras[0].photo.image().height
for cam in chunk.cameras:
    cam.sensor = sensor

Now, i don't know how to update this calibration.
What else i need to do to set a fixed calibration for all the cameras?

Many Thanks,
Sorry for the 2 unfinished massages above,
Vadim



11
Sorry, i unintentionally sent unfinished message.

 Hi ,

I would like to create new chunk, then load photos and then set a fixed calibration for each of the loaded photos.
1. How to do that?
2. Can you please explain me what have after i do - doc.addChunk() -> chunk.addPhotos(file_paths) ?
 

So i used:
#  ------------ load the calibration
calib = PhotoScan.Calibration()
calib.load(Calib2Use,format="xml")

#  ------------ load the calibration

12
Python and Java API / How to set camera calibration to created chunk?
« on: March 06, 2018, 06:12:09 PM »
Hi ,

I would like to create new chunk, then load photos and then set a fixed calibration for each of the loaded photos.
1. How to do that?
2. Can you please explain me what have after i do - doc.addChunk() -> chunk.addPhotos(file_paths) ?


So i used:
#  ------------ load the calibration
calib = PhotoScan.Calibration()
calib.load(Calib2Use,format="xml")

#  ------------ load the calibration

Pages: [1]