OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Patchmatchnet

Patchmatchnet is the official Python research implementation of PatchmatchNet, a learned multi-view stereo model for estimating 3D scene structure from multiple images. Its evaluation workflow estimates depth maps, fuses them and writes point clouds in PLY format.

Independent OpenViST project profile, based on linked sources.

Patchmatchnet — Research reproduction and benchmark evaluation using the documented dataset layouts
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need research code for multi-view stereo evaluation and can provide images together with camera parameters and view-pair information, or prepare custom input from COLMAP.

Who it is for

  • Researchers reproducing learned multi-view stereo experiments.
  • Computer vision practitioners preparing multi-image datasets for 3D reconstruction.
  • Users comparing a PatchmatchNet pipeline with other multi-view stereo methods.

Documented uses

  • Evaluate reconstruction on prepared DTU, Tanks & Temples or ETH3D datasets.
  • Convert COLMAP dense reconstruction data into PatchmatchNet’s dataset format for custom evaluation.
  • Generate depth maps and fused PLY point clouds from multi-view input.
Before you choose

Requirements & limits

The public GitHub repository is MIT-licensed. The documented setup requires Python 3.8 and CUDA 10.1 or later.

  • The input dataset requires images, camera files and a view-pair file; camera files include intrinsics, extrinsics and depth bounds.
  • The loader defaults to JPEG, while other formats such as PNG require changing its image-extension setting.
  • The repository includes depth estimation and depth fusion, with PLY point clouds as output.
  • The README says the current checkpoint was retrained by other contributors and directs users seeking the paper’s original results to a specific earlier revision.
  • The README points to another MVS pipeline and describes it as more efficient in GPU memory and runtime and as performing better than PatchmatchNet. The comparison is the repository’s own stated guidance.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare a COLMAP reconstruction for PatchmatchNet evaluation

Convert a COLMAP dense reconstruction into the dataset format used by the custom evaluation workflow.

Before you start

  • A COLMAP reconstruction with a COLMAP/dense/ directory containing images/ and sparse/.
  • Python 3.8 and CUDA 10.1 or later for the project setup.
  • The PatchmatchNet repository and its installed Python requirements.

Steps

  1. Install the listed requirements with pip install -r requirements.txt.

  2. Run the documented converter: python colmap_input.py --input_folder COLMAP/dense/.

  3. If needed, set --output_folder to change the converter’s default output location, or --num_src_images to limit related images.

  4. Set CUSTOM_TESTING in eval.sh to the converted dataset root and configure the evaluation output folder.

Expected outcome

A converted dataset in the project’s format, configured as input for its custom evaluation workflow.

Guide limitations

  • The documented steps do not include a complete command for launching custom evaluation.
  • Evaluation is GPU-based and requires a checkpoint; the README does not specify a hardware configuration.
  • The converter’s default output location is the input location unless changed.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
FangjinhuaWang/PatchmatchNet · Official homepage title · retained in its source language