how to implement the planar filter in paper 'Depth from Motion for Smartphone AR, SIGGRAPH Asia, 2018'? 