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

Pages: [1]
1
Hello,

I have a question about the 'cameras' argument for matchPhotos function.

I have a project where I am using the 'cameras' argument, it will only detect points and generate matches with these cameras but it generates matches between these cameras and other cameras already in the project that have keypoints detected. I would expect the argument would limit matches to only be generated between the cameras in the list

2
I am trying to access camera yaw pitch and roll estimated values (as appear in GUI reference pane)

To get the transformed camera position I am using the following code:
Code: [Select]
chunk = Metashape.app.document.chunk
camera = chunk.cameras[2]
transform = chunk.transform.matrix * camera.transform
# this works as expected, values are matching those in reference pane
pos = transform.translation()

rot = transform.rotation()
# this is not working, expected values are 93.583, -0.937, -44.785, outputted values are 273.58297001960716, 1.784351814162492, -135.21509554607456
ypr = Metashape.Utils.mat2ypr(rot)
 

I can do this using external libraries, but thought there would be a way to do this inside of metashape. This issue is persistent over different documents

3
Bug Reports / Unexpected Error on Startup
« on: June 16, 2022, 05:34:40 PM »
Hello,

When opening Metashape (this error started a couple of weeks ago), I have been getting this error:
`Unexpected error occurred.
Details: System clock has been set back (-40)
`
This causes Metashape to not be activated, and I cannot activate it manually either. I have done some research and found that it is an issue with License managers where a file somewhere in the filesystem is corrupted or the time of the file has been modified, however I haven't had any luck fixing this. I have tried searching for files modified in both the future and way back in the past and modifying the dates, I have also tried repairing my Ubuntu install, nothing has been successful. I have only noticed errors with Metashape. Other than reinstalling ubuntu does anyone have any suggestions on fixing this error?

Thanks

Mitchell

4
General / Re: Cylindrical Orthomosaic Generation for long think wall scan
« on: January 26, 2022, 05:48:25 PM »
Thanks for the feedback. I manually found an appropriate value for f and it flattened out the model. Tried on multiple datasets and worked a treat. Thankyou!

5
General / Cylindrical Orthomosaic Generation for long think wall scan
« on: January 24, 2022, 02:16:27 PM »
Hello,

We have been capturing some datasets of a port quay wall underwater. The datasets are single strips going across approximately 60m in length. Due to the high distortion of our lens and the data being captured underwater the resulting models expresses the 'bowl effect'. This is not too much of an issue as we are not interested in a model but of an orthomosaic. We tried generating a planar orthomosaic but it resulted in the edges being quite dark due to the curve of the model. I have been experimenting with the cylindrical orthomosaic generation process and have read through the following article https://agisoft.freshdesk.com/support/solutions/articles/31000153736-orthomosaic-generation-cylindrical-projection-
This was quite helpful to give background but I haven't been able to get it to work. I've been trying to use the marker method. To do this I have added IMU readings to align the model, then used a circle fitting algorithm with the data to get the center of the cylinder so that I can generate an axis. When creating markers and giving them the center axis coordinates and trying to generate the orthomosaic i get the follwing error 'location of marker is undefined'.

I have attached an image of the model curve, the mesh and planar orthomosaic.

What would be the best method to generate an orthomosaic of this model?

Thanks in advance

Pages: [1]