This code includes the detailed implementation of the paper: Reference: S. Xue, W. Qiu, F. Liu, et~al. Low-rank Tensor Completion by Truncated Nuclear Norm Regularization. 24th International Conference on Pattern Recognition, Beijing, 2018, p.2600-2605. DOI 10.1109/ICPR.2018.8546008 The code contains: |-------------- |-- tensor_TNNR_image.m entrance to start the image experiment |-- tensor_TNNR_video.m entrance to start the video experiment |-- algorithms/ some advanced algorithms |-- function/ some basic tensor operators |-- image/ directory for original images |-- mask/ directory for various mask types, 300x300 |-- result/ directory for saving experimental results |------------- For the algorithm interpretation, please read our Xue et al. (2018) paper in 24th ICPR and arXiv preprint, in which more details are demonstrated. If you have any questions about this implementation, please do not hesitate to contact me. Ph.D. Candidate, Shengke Xue, College of Information Science and Electronic Engineering, Zhejiang University, Hangzhou, P. R. China, e-mail: (either one is o.k.) xueshengke@zju.edu.cn, xueshengke1993@gmail.com.