Python based non-parametric stereo matching using the Census and Rank algorithms