Filter homography decomp: updated PR #7153 (#11846)
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Wed, 27 Jun 2018 13:47:35 +0000 (16:47 +0300)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 13:47:35 +0000 (16:47 +0300)
commit75ee536d6d1d9fce9286149f0f37286b3bfd41c2
tree7bf2d1c68ee4b22a6cca2c3c811e72345635da8f
parent0081dc478fd637d72dc5d0b03ab3a5cdea9ddb8f
Filter homography decomp: updated PR #7153 (#11846)

* Add functionality to filter homography decompositions

* documentation + small refactor

* fix comparing int to size_t (compiler warning)

* fix whitespace issues

* clarification of function return values in documentation

* refactor of function parameters and change in loop nesting

* cleanup useless .h, fix size_t to int compare, small refactor

* fix documentation and whitespace

* change output from return value to outputarray parameter

* update function docs to reflect changes in parameters

* whitespace

* failing test

* fixed warnings related to extended initialisers and improper types

* initialize vectors from arrays

* initialize vectors from arrays part 2

* fix whitespace

* fix trailing whitespace

* Include <inttypes.h> in test_filter_homography_decomp.cpp, should fix 'uint8_t' : undeclared identifier error

* updated the test (made it shorter and providing better diagnostic) and significantly improved implementation (get rid of heavy repeated and/or unnecessary operations)

* fixed compile warning; removed trailing whitespace
modules/calib3d/include/opencv2/calib3d.hpp
modules/calib3d/src/homography_decomp.cpp
modules/calib3d/test/test_filter_homography_decomp.cpp [new file with mode: 0644]