All models

DKM

A dense feature matcher that predicts a warp and a certainty for every pixel between two images.

Depth estimation · 776 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
72.3M
Operations
776
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
189 (as of 28 October 2026)
Authors
Johan Edstedt, Ioannis Athanasiadis, Mårten Wadenbäck, Michael Felsberg
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15674
Graph hash
c62bad1e589336754e8fe224fdfdb6f23b3f3a1a8e5e88069b6aba29a7c2c107
Skeleton hash
2244c265d0f0042d5d66e687b9084f44a5e6271de06dae3b1410997aa8410031
Architecture hash
c4e1b58ee9d186967ccfe79e9360f5ee51ed10b9ca525658286221d9e4acc80d
Diagram SHA-256
7b61f8e2eebea3bbbc2184653356ac58f9606a2fbbf996a6cd6bda9d7282536a
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DKM (Dense Kernelized Feature Matching) is a feature matcher for estimating the geometry between two views of a 3D scene. Instead of matching a sparse set of keypoints, it takes the dense approach and tries to find a correspondence for every pixel. The paper notes that, before it, dense methods had performed worse than sparse and semi-sparse methods at estimating two-view geometry.

The method has three parts: a global matcher based on kernel regression, warp refinement through stacked feature maps and depthwise convolution kernels, and dense confidence learned through consistent depth with balanced sampling of the confidence maps. For each pixel the model outputs a warp to its matching coordinate and a certainty value saying how matchable that pixel is. The authors warn that DKM is trained at a specific resolution and is sensitive to the resolution of the input images. On MegaDepth-1500 the paper reports gains of +4.9 and +8.9 AUC at 5 degrees over the best previous sparse and dense methods respectively.

Key idea. DKM showed that a dense feature matcher can outperform both dense and sparse methods at estimating two-view geometry.

  • dkm
  • dkmv3
  • dense kernelized feature matching
  • feature matching
  • dense matching
  • image correspondence
  • two-view geometry
  • geometry estimation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{edstedt2022dkmdensekernelizedfeature,
      title={DKM: Dense Kernelized Feature Matching for Geometry Estimation}, 
      author={Johan Edstedt and Ioannis Athanasiadis and Mårten Wadenbäck and Michael Felsberg},
      year={2022},
      eprint={2202.00667},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2202.00667}, 
}