SMIL 1.1.1
|
Functions | |
template<class T > | |
RES_T | logicAnd (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
logicAnd() - Logic AND operator, pixel by pixel, of two images | |
template<class T > | |
RES_T | bitAnd (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
bitAnd() - Bitwise AND operator, pixel by pixel, of two images | |
template<class T > | |
RES_T | logicOr (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
logicOr() - Logic OR operator, pixel by pixel, of two images | |
template<class T > | |
RES_T | bitOr (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
bitOr() - Bitwise OR operator, pixel by pixel, of two images | |
template<class T > | |
RES_T | logicXOr (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
logicXOr() - Logic XOR operator, pixel by pixel, of two images | |
template<class T > | |
RES_T | bitXOr (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
bitXOr() - Bitwise XOR operator, pixel by pixel, of two images | |
RES_T logicAnd | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
logicAnd() - Logic AND operator, pixel by pixel, of two images
This function evaluates the logical AND of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = (imIn(x) != 0 AND imIn2(x) != 0 ? 1 : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T bitAnd | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
bitAnd() - Bitwise AND operator, pixel by pixel, of two images
This function evaluates the bitwise AND of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = imIn(x) & imIn2(x)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T logicOr | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
logicOr() - Logic OR operator, pixel by pixel, of two images
This function evaluates the logical OR of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = (imIn(x) != 0 OR imIn2(x) != 0 ? 1 : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T bitOr | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
bitOr() - Bitwise OR operator, pixel by pixel, of two images
This function evaluates the bitwise OR of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = imIn(x) | imIn2(x)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T logicXOr | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
logicXOr() - Logic XOR operator, pixel by pixel, of two images
This function evaluates the logical exclusive OR of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = (imIn1(x) != 0 && imIn2(x) == 0) || (imIn1(x) == 0 && imIn2(x) != 0) ? 1 : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T bitXOr | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
bitXOr() - Bitwise XOR operator, pixel by pixel, of two images
This function evaluates the bitwise exclusive OR of two images. This function works both binary and grey images
The result is a image where :
imOut(x) = imIn(x) ^ imIn2(x)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |