XGGNet / StegaNeRF

Official Pytorch implementation of "StegaNeRF: Embedding Invisible Information within Neueral Radiance Fields"

Home Page:https://arxiv.org/abs/2212.01602

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StegaNeRF: Embedding Invisible Information within Neueral Radiance Fields. ICCV2023

[Paper] [Website]

Method

Quick start

Environment

. ./create_env.sh

Dataset

Please download the datasets from these links:

Training

cd opt && . ./stega_{llff/syn}.sh [scene_name] [embed_img]
  • At the first stage, a photorealistic radiance field will first be reconstructed if it doesn't exist on disk. Then the steganographic training at the second stage ends up with the steganographic NeRF and decoder.
  • Select {llff/syn} according to your data type. For example, use llff for flower scene, syn for lego scene.
  • [embed_img] is the style image inside ./data/watermarks.

Evaluation & Rendering

View the results by tensorboard.

You can also obtain the results and rendering the videos from the saved checkpoints.

Use opt/render_imgs.py for the scenes on LLFF: python render_imgs.py <CHECKPOINT.npz> <Decoder.pt> <data_dir>

Use opt/render_imgs_circle.py to render a spiral for the scenes on NeRF synthetic: python render_imgs_circle.py <CHECKPOINT.npz> <Decoder.pt> <data_dir>

Experiments on NeRF-W

Acknowledgement

We would like to thank ARF and Plenoxel authors for open-sourcing their implementations.

Citation

If you find this repo is helpful, please consider citing:

@inproceedings{li2022steganerf,
        title={StegaNeRF: Embedding Invisible Information within Neural Radiance Fields},
        author={Chenxin Li and Brandon Y. Feng and Zhiwen Fan and Panwang Pan and Zhangyang Wang},
        booktitle={arxiv},
        year={2022}
      }

About

Official Pytorch implementation of "StegaNeRF: Embedding Invisible Information within Neueral Radiance Fields"

https://arxiv.org/abs/2212.01602

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 68.2%Language:Cuda 29.2%Language:C++ 1.9%Language:CMake 0.5%Language:Shell 0.2%