Simd Library Documentation.

Home | Release Notes | Download | Documentation | Forum | SourceForge | GitHub

Universal functions for image format conversions. More...

Functions

template<template< class > class A>
SIMD_INLINE void Convert (const View< A > &src, View< A > &dst)
 Converts an image of one format to an image of another format. More...
 

Detailed Description

Universal functions for image format conversions.

Function Documentation

void Convert ( const View< A > &  src,
View< A > &  dst 
)

Converts an image of one format to an image of another format.

The input and output images must have the same width and height.

Note
This function supports conversion between Gray8, Bgr24 and Bgra32 image formats.
Parameters
[in]src- an input image.
[out]dst- an output image.