hbb1 / 2d-gaussian-splatting

[SIGGRAPH'24] 2D Gaussian Splatting for Geometrically Accurate Radiance Fields
https://surfsplatting.github.io
Other
1.94k stars 120 forks source link

How to feed data in IDR format #44

Open sn-nir opened 4 months ago

sn-nir commented 4 months ago

Hello @hbb1,

Thanks for your fantastic work!

I had a query. I've processed my data in the IDR format. How do I feed it to the model since it takes COLMAP format data here?

My data format:

CASE_NAME
|-- cameras.npz    # camera parameters
|-- image
    |-- 000.png        # image for each view
    |-- 001.png
    ...
|-- mask
    |-- 000.png        # mask for each view
    |-- 001.png
    ...
hbb1 commented 4 months ago

Hi, you can follow here #5 to convert the dtu data into the colmap given GT camera pose

sn-nir commented 4 months ago

Are you referring to the following script?

hbb1 commented 4 months ago

This script is more helpful. Note that you may need some modifications to align the output structure to MipNerf360, see convert.py.