Update on the compare lines method.
Merge pull request #1398 from ilya-lavrenov:ocl_perf_gemm
Merge pull request #1399 from pengx17:master_retina_ocl_fix
Merge pull request #1400 from ilya-lavrenov:ocl_test_mog
Calibrate Debevec changes
Linux compilation
Debevec Calibrate
Merge branch 'devel' of https://github.com/f-morozov/opencv into devel
Replaced Ptr with my new implementation.
MOG&MOG2: Modified the performance test according to the feedback of the community.
Boring changes - core.

This and several following commits contain the "boring" changes required
to support the new Ptr. These are changes like:

* new T -> makePtr<T> or .reset(new T) or Ptr<T>(new T)
  (depending on the situation)
* p.empty() -> !p
* delete_obj -> DefaultDeleter::operator()

and similar changes that are numerous, but primitive.
Boring changes - imgproc.
Boring changes - highgui.
Boring changes - bioinspired.
Boring changes - calib3d.
Boring changes - features2d.
Boring changes - ml.
Boring changes - nonfree.
Boring changes - objdetect.
Boring changes - photo.