Fixed bug in the cv::estimateRigidTransform (#1949)
Add test for issue #2075
Allow input of calcOpticalFlowPyrLK be submats of different size images

This fixes bug #2075
Merge pull request #375 from taka-no-me:fix_opticalflow_2075
Merge pull request #374 from ivan-korolev:fix_estimateRigidTransform