Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Flip takes a 2D array and flips it around a vertical and/or horizontal axis. cvFlip and cv::flip are defined in copy.cpp located under modules/core/src/copy.cpp in the source files. Internally, cvFlip just calls cv::flip. Thie image below is demonstrating the different flips.

image description

Flip takes a 2D array and flips it around a vertical and/or horizontal axis. cvFlip and cv::flip are defined in copy.cpp located under modules/core/src/copy.cpp in the source files. Internally, cvFlip just calls cv::flip. Thie image below is demonstrating the different flips.

image description

Edit: flip() and cv::flip() are the same function, as flip() exists in the "cv" namespace.