centreborelli / satnerf

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

How to crop the images of DFC-2019 dataset #10

Closed jieeeeeeeeeee closed 1 year ago

jieeeeeeeeeee commented 1 year ago

This project is challenging and meaningful, and the code is very effective. I find that the small-size images will get a good result. So I want to know how to corp the *tif image in the DFC-2019 dataset and ensure the RPC parameters are updated correctly. How to crop images as the images in the Track3-RGB-crops folder. image

Thanks. :)

wuy202 commented 1 year ago

There's a "create_satellite_dataset" function in create_satellite_dataset.py, inside it, "crop_geotiff_lonlat_aoi" is used to crop satellite images and RPCs.

jieeeeeeeeeee commented 1 year ago

Many thanks. :)