项目作者: mohamedlassine97

项目描述 :
Finding Corresponding Points between 2 Images using Harris Corner Detector and Normalized Cross Correlation Algorithms.
高级语言: Python
项目地址: git://github.com/mohamedlassine97/Finding-Corresponding-Points-between-2-Images.git


Finding Corresponding Points between 2 Images

Programmed from scracth using python

Algorithms

  • Harris Corner Detector
  • Normalized Cross Correlation

    How to use this code

    Finding Corners using HCD Algorithm

    1. python3 harris.py --image image_name --sigma sigma_value --threshold threshold_value

    Example:

    1. python3 harris.py --image images/01.png --sigma 3 --threshold 0.1

    Finding Corresponding Points using HCD and NCC Algorithms

    1. python3 demo.py \
    2. --image1 image1_name \
    3. --image2 image2_name \
    4. --sigma sigma value \
    5. --threshold_h threshold value for harris corner detector \
    6. --threshold_d threshold vaşue for point descriptor \
    7. --min_dist minimum distance value between points \
    8. --wid wid value \
    9. --graph graph type [line or point]

    Example 1: graph = line

  1. python3 demo.py \
  2. --image1 images/01.png \
  3. --image2 images/02.png \
  4. --sigma 3 \
  5. --threshold_h 0.05 \
  6. --threshold_d 0.5 \
  7. --graph line

Example 2: graph = point

  1. python3 demo.py \
  2. --image1 images/01.png \
  3. --image2 images/02.png \
  4. --sigma 3 \
  5. --threshold_h 0.05 \
  6. --threshold_d 0.5 \
  7. --graph point