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

Pages: [1]
1
General / Re: Splitting up a multicam rig after the alignment process?
« on: April 17, 2024, 01:48:30 PM »
Well ideally both! Haha

Would be awesome to know how to split up the master/slave cameras after alignment

And would also be awesome to edit the script so it works with multicams

2
Python and Java API / Urgent Multicam Gaussian Splats Export
« on: April 17, 2024, 10:30:30 AM »
Hey guys

Question here regarding multicam rigs

When a multicam rig is loaded in, with master/slave cameras, is there a way to “break apart” the slave cameras from the master after the alignment process so they are classed as seperate again?

The reason I’m hoping to find out the approach for this is because I’m using Postshot, a Gaussian Splat platform which requires exports of all the cameras from Metashape, rather than just the Masters

To clarify, I simply want to be able to access ALL cameras from the lefthand side cameras tab.

Right now I have 700 Master cams, each with 5 Slave cams, so in total I want to have access to 3500 cams… I hope that makes sense. If I can sort that out then I shouldn’t need to modify the script details below:

Here’s the script I’m using:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/export_for_gaussian_splatting.py

Looking at the scripting documentation here:
http://download.agisoft.com/metashape-java-api/latest/com/agisoft/metashape/Chunk.html

Seems like I need to do something like this, but unsure how exactly, as  I’m a total Python noob:

To export the slave/secondary cameras, I’ll need to modify the parts of the script that iterate over the cameras in each chunk/frame. Specifically, in the functions “get_filtered_track_structure”, “save_undistorted_images”, and “save_images”, i’lll need to iterate over not just “frame.cameras” but also “frame.camericaclusters” which contains the slave camera clusters.

For each slave camera cluster, I’ll need to extract the individual slave cameras using “cluster.cameras” and process them similar to how the primary cameras are processed.

3
General / Re: Splitting up a multicam rig after the alignment process?
« on: April 17, 2024, 09:59:59 AM »
Hey Paul

Thanks for this

As great as it is to have a response so soon, I’d really appreciate if you could provide a bit more context regarding:

“ then chunk.cmeras[0] is master and chunk.cameras[n] with n = 1 to 4 are slaves....etc... “

Are these export commands? If so where to a place then?

To clarify, I simply want to be able to access ALL cameras from the lefthand side cameras tab.

Right now I have 700 Master cams, each with 5 Slave cams, so in total I want to have access to 3500 cams… I hope that makes sense

Here’s the script I’m using:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/export_for_gaussian_splatting.py

Looking at the scripting documentation here:
http://download.agisoft.com/metashape-java-api/latest/com/agisoft/metashape/Chunk.html

Seems like I need to do something like this, but unsure how exactly, as  I’m a total Python noob:

To export the slave/secondary cameras, I’ll need to modify the parts of the script that iterate over the cameras in each chunk/frame. Specifically, in the functions “get_filtered_track_structure”, “save_undistorted_images”, and “save_images”, i’lll need to iterate over not just “frame.cameras” but also “frame.camericaclusters” which contains the slave camera clusters.

For each slave camera cluster, I’ll need to extract the individual slave cameras using “cluster.cameras” and process them similar to how the primary cameras are processed.


4
General / Splitting up a multicam rig after the alignment process?
« on: April 17, 2024, 01:58:03 AM »
Hey guys

Question here regarding multicam rigs

When a multicam rig is loaded in, with master/slave cameras, is there a way to “break apart” the slave cameras from the master after the alignment process so they are classed as seperate again?

The reason I’m hoping to find out the approach for this is because I’m using Postshot, a Gaussian Splat platform which requires exports of all the cameras from Metashape, rather than just the masters

Would be great to know if this is possible and how to do it!

Thanks

5
Camera Calibration / Splitting Multicam Rigs After Alignment
« on: April 17, 2024, 01:57:22 AM »
Hey guys

Question here regarding multicam rigs

When a multicam rig is loaded in, with master/slave cameras, is there a way to “break apart” the slave cameras from the master after the alignment process so they are classed as seperate again?

The reason I’m hoping to find out the approach for this is because I’m using Postshot, a Gaussian Splat platform which requires exports of all the cameras from Metashape, rather than just the masters

Would be great to know if this is possible and how to do it!

Thanks

6
Camera Calibration / Camera position import from PFtrack
« on: December 05, 2021, 04:52:39 PM »
Hey all

How do I import camera positions and their corresponding images to Metashape?

I’ve solved a 360 camera track and want to use Metashape to create a mesh of the scene as it has better granular control than PFtrack

PFTRACK Export options:

https://support-thepixelfarm.co.uk/online-documentation/docs/pftrack_scene_export.html

Pages: [1]