https://123dok.net/document/yr30n828-surface-reconstruction-method-using-global-graph-cut-optimization.html