centreborelli / satnerf

Satellite Neural Radiance Fields
https://centreborelli.github.io/satnerf/
BSD 3-Clause "New" or "Revised" License
122 stars 23 forks source link

How would I go about making my own dataset? #17

Closed MaverickDSmith closed 1 year ago

MaverickDSmith commented 1 year ago

I see that the dataset loader is hard-coded to work with the JAX dataset. Are there any tools for using my own .geotiff files with RPC camera models or scripts available that could be shared?

rogermm14 commented 1 year ago

Hello,

Thanks for your interest. I think the best way to try other datasets is to create a new script equivalent to create_satellite_dataset.py that generates the same type of json files from your own geotiff files. Most of the code from create_satellite_dataset.py can be reused for that. To be more generic you can rewrite it to accept an area of interest (AOI) in longitude and latitude coords and the paths to the input geotiff files + RPCs.

Things to keep in mind:

Best, Roger