opencv


Find Homography for three pairs of 2D/2D correspondents


I have a three feature points in an image and their matches in another image.
My question is how to find a homography that relates these matches to each other?
I know I should solve P3P problem.But I don't know how exactly normalize point sets to this end. After solving P3P how should I get Homography matrix.
Suppose my camera Intrinsic parameters are known.
After that I want to compute 6DOF rigid transform and map every arbitrary points in Image 1 to Image 2.
It's worth mentioning that I don't want to use OpenCV native function like cv::findHomography()
I'd be grateful If you reply clear and complete. Because I followed the instruction from here and here but did not get a correct solution.
I assume you are referring to transformation. If that is the case, see below.
One can find the rotation (R) and (t) from object (target board) to cmaera coordinate system using solvePnP. Based on this idea, R1, t1 and R2, t2 can be found for images 1 and 2 respectively. One can compute the relative transformation (from image 2 to image 1) as follows.
Relative Rotation = inv(R1) * R2
Relative Translation = inv(R1) * (t2 - t1)

Related Links

Mingw doesn't find file strsafe.h while compiling OpenVC library
Opencv image regitsration mask
Detect presence and location of a ball in video with opencv
use of undefined type 'cv::cuda::GpuMat'
Camera Calibration Error Estimation in OpenCv
Using Levenberg-Marquardt optimization algorithm via opencv projectPoints() to estimate Calibration Errors
alternate function for erode to reduce the processing time
OpenCV Python calcOpticalFlowPyrLK returning points out of the camera frame
camera coordinate to pixel coordinate opencv
Opencv contours detected discontinue
Latency in Device-host communication Opencv
Fast Difference if Gaussians
OpenCV build undefined reference to protobuf built from source
RPi: Can I output a jpg of my camera + an overlay with the picamera library?
Problems installing scikit-image in ubuntu 14.04
Why do Mat types not need to be pointers?

Categories

HOME
printing
blogs
intel-xdk
gluon
application-cache
c++14
build.gradle
copy-paste
pie-chart
overloading
command-line-arguments
sonata-admin
python-2.5
plots.jl
monaco-editor
jmespath
cmusphinx
revitpythonshell
datamatrix
hough-transform
sax
vnc
weather-api
intersystems
angular-services
fat-free-framework
desire2learn
simple-html-dom
editorconfig
arduino-esp8266
python-behave
mobile-center
photo-gallery
imageshack
edit-distance
presto
powerbuilder-conversion
es6-promise
internet-explorer-10
angularjs-routing
free-diameter
httpexception
sdcc
arm7
vega-lite
wrk
gcc4.8
complement
dr-memory
kie-workbench
xceed
struts1
viewengine
facebook-comments
trello.net
asp.net-webpages
lidar
hl7-v2
win32com
greenfoot
coldfusion-10
text-alignment
biojava
android-gpuimageview
push-api
wt
alienvault
diagonal
wso2as
sigkill
isql
gcovr
monk
syndication-feed
bson
yourls
magic-unipaas
angularjs-google-maps
scala-pickling
ioerror
repeating
nsimageview
webcal
source-highlighting
square-cube
sender
locomotivejs
wescheme
mixing
datakey
freeglut
force.com
expression-encoder-sdk
eye-detection
resharper-4.5
sqlprofileprovider

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App