* Fix several issues in TrackerMedianFlow implementation
Particularly, add possibility to tune optical flow parameters for a median
flow tracker.
* Improve code of TrackerMedianFlow
Replace a lot of calls of std::vector::erase by one call of
std::remove_if.
* Delete unused code, use norm from OpenCV
* medianFlow:turn getMedian method into function, small code cleanup
* TrackerMedianFlow:fixes in parameters I/O, add test for them
* TrackerMedianFlow:replace double with float in temp buffers
* Fix indentation
* TrackerMedianFlow:add absent parameter case handling in read()
* TrackerMedianFlow:use ROI instead of copy when getting a patch
* TrackerMedianFlow:don't calc image pyramids 2 times
* MedianFlowTracker: use cvIsNan()
* MedianFlow: refactor vector filtration code
* MedianFlow: change if statements layout in filterPointsInVectors
* Added files from http://code.opencv.org/issues/1053
The code structure had to be changed because of the
features2d/xfeatures2d split and to avoid changing
multiple modules (gaussian_pyramid doesn't seem ready
for inclusion in the (x)imgproc module).
Except for changes related to this, the patches
remain unchanged, including the outdated
copyright notice at the top of the files.
* Hide Harris-Laplace implementation behind pimpl-creating wrapper.
* Add test for Harris-Laplace feature detector.
* Handle empty images in Harris-Laplace detector.
* Replace HarrisAffineFeatureDetector with more flexible AffineFeature2D
* collapse unnecessary HarrisLaplace class into HarrisLaplaceFeatureDetector
* fold DoG pyramid code into harris_laplace_detector.cpp
* tuck auxiliary functions for Harris-Laplace into anonymous namespace
* use mask to filter keypoints in Harris-Laplace detector
* remove unused value of differentiation scale from calcAffineAdaptation
* make descriptor copy in AffineFeature2D independent of the data type
* Document interface for Harris-Laplace and AffineFeature2D
* Make type conversions explicit and decorate float literals with f in HarrisLaplace and AffineFeature2D
* Replace usage of non-standard log2 in Harris-Laplace feature detector
* Fix virtual overload errors in AffineFeature2D
* Add basic tests for AffineFeature2D and fix what they uncover
* Make type conversions in Harris-Laplace feature detector explicit
* Change license header for Harris-Laplace detector and AffineFeature2D
* Use Matx for small matrices in AffineFeature2D
* Remove redundant attributes of Elliptic_KeyPoint
* Convert Matx22f to Matx22d for inverting in AffineFeature2D