The source codes are based on matconvnet.
Creat a new directory \data\models
Download the pretrained net from
- Save the downloaded net file 'net-deployed.mat' in \data\models
For a demo, simply implement the following line in MATLAB command window
You can also input a scene:
To calculate the distinction of your own 3D mesh/scene, if you can find a mesh of the same object class in the 'meshes' directory, make sure that the orientation of your mesh is roughly the same as that of the corresponding one in the 'meshes' directory. Otherwise just make it up oriented.
Please cite our paper if you use the codes:
Ran Song, Yonghuai Liu, Paul L. Rosin. Distinction of 3D Objects and Scenes via Classification Network and Markov Random Field. IEEE Transactions on Visualization and Computer Graphics, 15 pages, 2018