Introduction - If you have any usage issues, please Google them yourself
(1) read the picture and convert it to gray image.
(2) view1.png, view1.png view1.png view1.png and View5.Png.Png are partitioned according to 4x4 pixel / grid.
(3) considering the relative stability of the edge and the parallax rule of the binocular imaging, the nearest to the nearest block of the block's Euclidean distance is searched as a new position in the distance between the 20 pixels of the block image divided by the first image.
(4) calculate parallax and transform the parallax information of the representative points in each block to the whole interval.
(5) convert parallax to depth and normalize to 0-255 interval and display pictures.