joreeves / agi2nerf

Simple tool for converting Agisoft XML files to NERF JSON files for https://github.com/NVlabs/instant-ngp
Other
5 stars 2 forks source link

Fisheye support #2

Open gradeeterna opened 1 year ago

gradeeterna commented 1 year ago

Hi, I posted this request in the original repo, but just saw you've added loads of nice features here!

It would be great if this tool worked with Metashape's fisheye camera type, now that Instant NGP supports OpenCV fisheye.

Nerfstudio's Metashape import was recently updated to support this, in case it helps:

https://github.com/nerfstudio-project/nerfstudio/blob/f015245ca4be13b1d3778e4d139c1f1590013757/nerfstudio/process_data/metashape_utils.py#L15

Currently using Colmap to align fisheye images, but it's painfully slow compared to Metashape!

Thanks!

joreeves commented 1 year ago

Hi @gradeeterna thanks!

Metashape is on my list to get working. Thanks for the idea, I'll have to look into it but it should be easy to add.