Opencv Decode Gray code pattern tutorial 3D scanner Problems

I used a ready-made tutorial code from the opencv library in C ++, the link is as follows:

https://docs.opencv.org/3.4/dc/da9/tutorial_decode_graycode_pattern.html

This is the title of this code (Decode Gray code pattern tutorial) The job of this code is to take photos as a pattern and then read the calibration values ​​from the yaml file and display the photos in the form of points cloud in the 3D scan output. I used his default photos. Also from his yaml files, all of which are at the following address.

The code is compiled correctly, but the problem is that in the example above it is not written what arguments to give to achieve the desired result.

But the code I get is as follows:

The values ​​that I give the program as an argument are as follows:

./main images.yml calibrationParameters.yml 3 3 0 0

Please help me to execute the code correctly and bring it to the highest display quality. Can you suggest where exactly I look at the code?

related: c++ - Opencv Decode Gray code pattern tutorial 3D scanner Problems - Stack Overflow