first attemp
verbose errors
added status check
fixed some errors
fixes in imgproc
cmd option
Merge pull request #2628 from ilya-lavrenov:ipp_error_handling
cv::sort
cv:;sortIdx
added ippisFlip to cv::sort
cv::reduce (min/max to single column)
cv::reduce sum/avg
Merge pull request #2625 from ilya-lavrenov:ipp_reduce
Merge pull request #2622 from ilya-lavrenov:ipp_sort
Implimentation "cv::Mat::forEach"

I propose forEach method for cv::Mat and cv::Mat_.
This is solution for the overhead of MatIterator_<_Tp>.

I runs a test that micro opecode runs all over the pixel of cv::Mat_<cv::Point3_<uint8_t>>.
And this implementation 40% faster than the simple pointer, 80% faster than iterator.
With OpenMP, 70% faster than simple pointer, 95% faster than iterator (Core i7 920).

Above all, code is more readable.

My test code is here.
    https://gist.github.com/kazuki-ma/8285876

Thanks.
Merge branch 'cv_mat_foreach' of https://github.com/kazuki-ma/opencv into cv_mat_foreach