- Ensure that necessary dependencies have been installed (repo-level requirements).
- Download our provided example datasets.
- Preprocess multi-exposure HDR image captures.
- Estimate geometry.
- Estimate light sources.
- Follow the Jupyter Notebook provided in:
preprocess_multiexposure_hdr/multi_exposure_hdr_preprocess.ipynb
-
Follow the SDFStudio installation instructions.
-
Extract geometry using the MonoSDF implementation, using the following command:
ns-train monosdf --pipeline.model.sdf-field.inside-outside True sdfstudio-data --data data/<your-dataset> --include-mono-prior True
Note that argument inside-outside
should be set to True
for an indoor scene.
-
PREREQUISITE: [Estimate Geometry](#Estimate Geometry)
-
Configure the lighting optimizer for your scene. We suggest starting with one of our provided example scenes:
lighting_estimation/scenes/lamp_scene.py
lighting_estimation/scenes/conference_scene.py
-
Modify
lighting_estimation/optimize.py
to set your desired scene ascurrent_scene
inL1
. -
Estimate light sources using the following command:
python lighting_estimation/optimize.py