A java implementation of the census stereo matching algortihm