Itseez/opencv — pull request #3057 by Adil-Ibragimov (2014-08-07 11:55:53+00:00)
Title: some formal changes

1. Adding constness
2. Replacing cv::Mat low-level pointer operations with method call, for example:
dst.data + i*dst.step -> dst.ptr(i)
(float*)w.data -> w.ptr()