├── .gitignore ├── 3f2n-paper.pdf ├── Gemfile ├── LICENSE ├── README.md ├── c_code ├── .gitignore ├── CMakeLists.txt ├── CMakeSettings.json ├── CmakeExample │ ├── .gitignore │ ├── 0001.exr │ ├── CMakeLists.txt │ └── demo.cpp ├── PythonExample │ └── demo.py ├── ThirdParty │ ├── IexBaseExc.h │ ├── VCL │ │ ├── LICENSE │ │ ├── README.md │ │ ├── changelog.txt │ │ ├── dispatch_example.cpp │ │ ├── instrset.h │ │ ├── instrset_detect.cpp │ │ ├── vector_convert.h │ │ ├── vectorclass.h │ │ ├── vectorf128.h │ │ ├── vectorf256.h │ │ ├── vectorf256e.h │ │ ├── vectorf512.h │ │ ├── vectorf512e.h │ │ ├── vectori128.h │ │ ├── vectori256.h │ │ ├── vectori256e.h │ │ ├── vectori512.h │ │ ├── vectori512e.h │ │ ├── vectori512s.h │ │ ├── vectori512se.h │ │ ├── vectormath_common.h │ │ ├── vectormath_exp.h │ │ ├── vectormath_hyp.h │ │ ├── vectormath_lib.h │ │ └── vectormath_trig.h │ ├── cvrgbd │ │ ├── cvconfig.h │ │ ├── linemod.hpp │ │ ├── rgbd.hpp │ │ └── src │ │ │ ├── depth_to_3d.cpp │ │ │ ├── depth_to_3d.h │ │ │ ├── utils.cpp │ │ │ └── utils.h │ └── sse_mathfun.h ├── cmake │ ├── .gitignore │ └── TFTNConfig.cmake.in ├── data │ └── android │ │ ├── depth │ │ └── 000001.bin │ │ ├── normal │ │ └── 000001.png │ │ └── params.txt ├── example │ └── demo.cpp ├── include │ └── tftn │ │ ├── py_readexr.cpp │ │ ├── py_readexr.h │ │ ├── readexr.cpp │ │ ├── readexr.h │ │ ├── tftn.cpp │ │ └── tftn.h ├── pybind11 │ └── py_reader.cpp └── readme.md ├── cuda_code ├── CMakeLists.txt ├── data │ ├── 000001.bin │ └── 000001.png ├── result │ └── ouput.png └── src │ ├── CMakeLists.txt │ ├── main.cu │ └── stdafx.h ├── figs ├── demo_fig.png ├── experimental_results.png └── video.gif └── matlab_code ├── demo.m └── torusknot ├── depth └── 000001.bin ├── normal └── 000001.png └── params.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/.gitignore -------------------------------------------------------------------------------- /3f2n-paper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/3f2n-paper.pdf -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/README.md -------------------------------------------------------------------------------- /c_code/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/.gitignore -------------------------------------------------------------------------------- /c_code/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CMakeLists.txt -------------------------------------------------------------------------------- /c_code/CMakeSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CMakeSettings.json -------------------------------------------------------------------------------- /c_code/CmakeExample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CmakeExample/.gitignore -------------------------------------------------------------------------------- /c_code/CmakeExample/0001.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CmakeExample/0001.exr -------------------------------------------------------------------------------- /c_code/CmakeExample/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CmakeExample/CMakeLists.txt -------------------------------------------------------------------------------- /c_code/CmakeExample/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/CmakeExample/demo.cpp -------------------------------------------------------------------------------- /c_code/PythonExample/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/PythonExample/demo.py -------------------------------------------------------------------------------- /c_code/ThirdParty/IexBaseExc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/IexBaseExc.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/LICENSE -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/README.md -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/changelog.txt -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/dispatch_example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/dispatch_example.cpp -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/instrset.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/instrset.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/instrset_detect.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/instrset_detect.cpp -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vector_convert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vector_convert.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorclass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorclass.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorf128.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorf128.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorf256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorf256.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorf256e.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorf256e.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorf512.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorf512.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectorf512e.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectorf512e.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori128.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori128.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori256.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori256e.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori256e.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori512.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori512.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori512e.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori512e.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori512s.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori512s.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectori512se.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectori512se.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectormath_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectormath_common.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectormath_exp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectormath_exp.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectormath_hyp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectormath_hyp.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectormath_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectormath_lib.h -------------------------------------------------------------------------------- /c_code/ThirdParty/VCL/vectormath_trig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/VCL/vectormath_trig.h -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/cvconfig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/cvconfig.h -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/linemod.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/linemod.hpp -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/rgbd.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/rgbd.hpp -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/src/depth_to_3d.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/src/depth_to_3d.cpp -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/src/depth_to_3d.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/src/depth_to_3d.h -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/src/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/src/utils.cpp -------------------------------------------------------------------------------- /c_code/ThirdParty/cvrgbd/src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/cvrgbd/src/utils.h -------------------------------------------------------------------------------- /c_code/ThirdParty/sse_mathfun.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/ThirdParty/sse_mathfun.h -------------------------------------------------------------------------------- /c_code/cmake/.gitignore: -------------------------------------------------------------------------------- 1 | *autosave 2 | -------------------------------------------------------------------------------- /c_code/cmake/TFTNConfig.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/cmake/TFTNConfig.cmake.in -------------------------------------------------------------------------------- /c_code/data/android/depth/000001.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/data/android/depth/000001.bin -------------------------------------------------------------------------------- /c_code/data/android/normal/000001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/data/android/normal/000001.png -------------------------------------------------------------------------------- /c_code/data/android/params.txt: -------------------------------------------------------------------------------- 1 | 1400 1380 320 260 1 2 | -------------------------------------------------------------------------------- /c_code/example/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/example/demo.cpp -------------------------------------------------------------------------------- /c_code/include/tftn/py_readexr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/py_readexr.cpp -------------------------------------------------------------------------------- /c_code/include/tftn/py_readexr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/py_readexr.h -------------------------------------------------------------------------------- /c_code/include/tftn/readexr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/readexr.cpp -------------------------------------------------------------------------------- /c_code/include/tftn/readexr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/readexr.h -------------------------------------------------------------------------------- /c_code/include/tftn/tftn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/tftn.cpp -------------------------------------------------------------------------------- /c_code/include/tftn/tftn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/include/tftn/tftn.h -------------------------------------------------------------------------------- /c_code/pybind11/py_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/pybind11/py_reader.cpp -------------------------------------------------------------------------------- /c_code/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/c_code/readme.md -------------------------------------------------------------------------------- /cuda_code/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.8) 2 | PROJECT(surface_normal_estimation_cvpr) 3 | ADD_SUBDIRECTORY(src) -------------------------------------------------------------------------------- /cuda_code/data/000001.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/cuda_code/data/000001.bin -------------------------------------------------------------------------------- /cuda_code/data/000001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/cuda_code/data/000001.png -------------------------------------------------------------------------------- /cuda_code/result/ouput.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cuda_code/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/cuda_code/src/CMakeLists.txt -------------------------------------------------------------------------------- /cuda_code/src/main.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/cuda_code/src/main.cu -------------------------------------------------------------------------------- /cuda_code/src/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/cuda_code/src/stdafx.h -------------------------------------------------------------------------------- /figs/demo_fig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/figs/demo_fig.png -------------------------------------------------------------------------------- /figs/experimental_results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/figs/experimental_results.png -------------------------------------------------------------------------------- /figs/video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/figs/video.gif -------------------------------------------------------------------------------- /matlab_code/demo.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/matlab_code/demo.m -------------------------------------------------------------------------------- /matlab_code/torusknot/depth/000001.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/matlab_code/torusknot/depth/000001.bin -------------------------------------------------------------------------------- /matlab_code/torusknot/normal/000001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruirangerfan/Three-Filters-to-Normal/HEAD/matlab_code/torusknot/normal/000001.png -------------------------------------------------------------------------------- /matlab_code/torusknot/params.txt: -------------------------------------------------------------------------------- 1 | 1400 1380 350 200 2500 --------------------------------------------------------------------------------