in order to improve the efficiency of ray-space data compression, according to the texture characteristics of ray space data, introducing a simple effective method of texture classification, a new fast block matching algorithm based on adaptive template selection is proposed in this paper, for prediction coding of ray space slice sequence. Experimental results show that the proposed algorithm has low-complexity and high-performance characteristics, for different types of ray space slice sequences with strong adaptability.