Thank you very much for providing this code. I was able to get it running pretty smoothly with the instructions provided. The fused.ply look fine, but the depth maps look bad.
For anyone curious of what the PatchMatchNet results look like on an example, real-world dataset, see this issue. I took 46 1920x1080 images around a bench. I have experience with MVS, so I take extreme care to fix any camera sensor parameters and minimize motion blur. The 46 images can be seen/downloaded here.
The colmap camera calibration looks fine:

The colmap fused.ply confirms that the calibration is good:

For completeness, instant-ngp (NeRF) also is able to correctly reconstruct the scene using the camera params from colmap:

These are the results of PatchMatchNet:
pair.txt looks perfect, so this is not an issue.
fused.ply looks okay in some places, others not so much:

but the depth maps look far from state-of-the-art. Here is an example (some other depth maps are better, some worse, I choose a medium quality result here):

For completeness, here is the contents of the cam.txt file:
extrinsic
0.019894159882692455 -0.29141630256513085 0.956389440030488 -0.2667305720149542
0.33078085888473663 0.9046271346140046 0.2687634102989685 -1.0743245232408203
-0.9434978780039933 0.31100849814647163 0.11439173170574113 3.4207790958460342
0.0 0.0 0.0 1.0
intrinsic
1640.4268290361326 0.0 944.0
0.0 1640.4268290361326 531.0
0.0 0.0 1.0
2.885458 39.362592
Is this what you would expect? What would you recommend to get better depth maps?
Thank you very much for providing this code. I was able to get it running pretty smoothly with the instructions provided. The fused.ply look fine, but the depth maps look bad.
For anyone curious of what the PatchMatchNet results look like on an example, real-world dataset, see this issue. I took 46 1920x1080 images around a bench. I have experience with MVS, so I take extreme care to fix any camera sensor parameters and minimize motion blur. The 46 images can be seen/downloaded here.
The colmap camera calibration looks fine:

The colmap fused.ply confirms that the calibration is good:

For completeness, instant-ngp (NeRF) also is able to correctly reconstruct the scene using the camera params from colmap:

These are the results of PatchMatchNet:
pair.txt looks perfect, so this is not an issue.
fused.ply looks okay in some places, others not so much:

but the depth maps look far from state-of-the-art. Here is an example (some other depth maps are better, some worse, I choose a medium quality result here):

For completeness, here is the contents of the cam.txt file:
Is this what you would expect? What would you recommend to get better depth maps?