In this paper a method for solving stereo matching problem is presented. It is based on minimization of some energy functional by coarse-to-fine methods with using Habor filters. The solution such task, where presents of occlusions, weakly or periodic textured regions provides some ambiguity for optimization process, using coarse-to-fine method speed up matching process and reduces ambiguity. However due to using low-frequency filtration in coarse-to-fine method blurring of disparity function is appeared exceptionally near objects boundaries. To reduce this luck proposed method based on spatial Habor filtration is used.