cvConvertImage
Converts one image to another with optional vertical flip
void cvConvertImage( const CvArr* src, CvArr* dst, int flags=0 );
src
Source image.
dst
Destination image.
Must be single-channel or 3-channel 8-bit image.
flags
The operation flags:
CV_CVTIMG_FLIP - flip the image vertically CV_CVTIMG_SWAP_RB - swap red and blue channels. In OpenCV color images have BGR channel order, however on some systems the order needs to be reversed before displaying the image (cvShowImage does this automatically).
The function cvConvertImage converts one image to another and flips the result vertically if required. The function is used by cvShowImage.
Partager