c++ - Matching contours to level images - OpenCV -


is possible match & level contours in image? possibly symmetric matching? if so, matcher use purpose?

demonstration image:

problem

in image of lovely imac, can see images passed in unleveled. because took first image @ different height second image.. example:

(first image capture)                         (second image capture) 

so, instead of matching features on image, wondering if opencv has feature matcher limit me match edges of 1 image ends, , other 1 begins. way, straighten them up.

what use:

  • bestof2nearestmatcher
  • gridadaptedfeaturedetector gfttdetector
  • siftdescriptorextractor
  • refining camera parameters based on features basic opencv sample

what hope result:

my target result align images in demonstration image above.

i kind of working on same issue. can surely limit feature points using mask. in case know there 50% overlap in adjacent images, have used features in later half (x > im.cols)of first image , initial half of second image(x < im.cols).you can make changes in matchers.cpp of stitching. eliminate chance of false matches.

but fail when there less or no feature points. suggest go line based stitching if aligning edges of object main concern.

line features in opencv3.0

http://docs.opencv.org/3.0-beta/modules/line_descriptor/doc/tutorial.html


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -