Code release for "Differential Angular Imaging for Material Recognition", CVPR 2017.
Matlab Cuda C++ C Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
MexConv3D @ b84a252 submodule Apr 13, 2017
Remat_splits init Apr 13, 2017
data ignore Apr 13, 2017
matconvnet init Apr 13, 2017
models ignore Apr 13, 2017
network_surgery init Apr 13, 2017
resnet init Apr 13, 2017
.gitmodules submodule Apr 13, 2017 Update Oct 9, 2017
cnn_Remat_setup_data.m init Apr 13, 2017
cnn_get_batch.m init Apr 13, 2017
cnn_resnet_finetune.m init Apr 13, 2017
cnn_resnet_fusion.m init Apr 13, 2017
cnn_setup_environment.m init Apr 13, 2017
cnn_train_dag.m init Apr 13, 2017
cnn_ucf101_get_im_diff_batch.m init Apr 13, 2017
compile.m init Apr 13, 2017
different_fuse_layer.m init Apr 13, 2017
getBatchWrapper_Remat_rgbdiff.m init Apr 13, 2017
lightfield_resnet_fusion.m init Apr 13, 2017
runExperiment.m init Apr 13, 2017


[Arxiv] [Project]

This repository contains the code for our CVPR 2017 paper:

Jia Xue, Hang Zhang, Kristin Dana, Ko Nishino
"Differential Angular Imaging for Material Recognition"
in Proc. CVPR 2017



  • Ubuntu 14.04

Getting Started

  • Clone this repo:
git clone
  • Compile the code by running compile.m
  • Run runExperiment.m

Pretrained models


You can find the database here


The code is heavily based on the twostreamfusion, it only supports single GPU, if you meet problem to run the code, please check here.

This work was supported by National Science Foundation award IIS-1421134. A GPU used for this research was donated by the NVIDIA Corporation. Thanks to Di Zhu, Hansi Liu, Lingyi Xu, and Yueyang Chen for help with data collection.