Skip to content

Abletobetable/lanit-summer2022-traffic

Repository files navigation

lanit-2022-traffic

Task description:

From camera we get only compressed images, what can cause bad keypoints detection, matching and most important bad track reconstruction. Task was to discover and compare different neural networks that can restore image. Most chalenging is to create suitable metric for comparing results.

Стек технологий:

  • python

  • opencv

  • colmap

Datasets

  1. ground truth

  2. compressed

  3. restored:

results_ARCNN: https://github.com/hkchengrex/PyTorch-ARCNN

results_FBCNN: https://github.com/cszn/DnCNN

results_DNCNN: https://github.com/jiaxi-jiang/FBCNN

image image image image

Metrics

  1. SSIM, PSNR, PSNR-B:

image

  1. SIFT + BruteForce matching = % cross matches: image image

(not horizontal lines means not correct matching)

  1. SUPERPOINT + SUPERGLUE matching = % cross matches: image image image image

(optical flow)

Seeing bad results on classic matching algorithms, we decided to use coordinates matchings: match only keypoints that located in 1 pixel radius from another keypoint.

image

  1. SIFT-coord

ARCNN mean value: 0.482

DNCNN mean value: 0.4975

FBCNN mean value: 0.5073

  1. SUPERPOINT-coord

ARCNN mean value: 0.1773

DNCNN mean value: 0.1875

FBCNN mean value: 0.2046

COLMAP track reconstruction:

metrics from COLMAP:

  1. mean track length

  2. mean reprojection error

  3. focal length in comparison with ground truth camera params

  4. radial distortion in comparison with ground truth camera params

image image image image

feel free to contact with me:

https://t.me/abletobetable

abletobetable@mail.ru

About

comparing different neural algorithms for restoring images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published