SMIL 1.1.2
|
Functions | |
template<class T > | |
RES_T | inv (const Image< T > &imIn, Image< T > &imOut) |
inv() - Invert an image. | |
template<class T > | |
RES_T | add (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
add() - Addition (with saturation check) | |
template<class T > | |
RES_T | add (const Image< T > &imIn1, const T &value, Image< T > &imOut) |
add() - Addition (with saturation check) | |
template<class T > | |
RES_T | addNoSat (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
addNoSat() - Addition (without saturation check) | |
template<class T > | |
RES_T | addNoSat (const Image< T > &imIn1, const T &value, Image< T > &imOut) |
addNoSat() - Addition (without saturation check) | |
template<class T > | |
RES_T | sub (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
sub() - Subtraction between two images | |
template<class T > | |
RES_T | sub (const Image< T > &imIn, const T &value, Image< T > &imOut) |
sub() - Subtraction between an image and a constant value | |
template<class T > | |
RES_T | sub (const T &value, const Image< T > &imIn, Image< T > &imOut) |
sub() - Subtraction between a value and an image | |
template<class T > | |
RES_T | subNoSat (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
subNoSat() - Subtraction (without type minimum check) between two images | |
template<class T > | |
RES_T | subNoSat (const Image< T > &imIn, const T &value, Image< T > &imOut) |
subNoSat() - Subtraction (without type minimum check) between an image and a constant value | |
template<class T > | |
RES_T | subNoSat (const T &value, const Image< T > &imIn, Image< T > &imOut) |
subNoSat() - Subtraction (without type minimum check) between a value and an image | |
template<class T > | |
RES_T | sup (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
sup() - Sup of two images | |
template<class T > | |
ResImage< T > | sup (const Image< T > &imIn1, const Image< T > &imIn2) |
sup() - Sup of two images | |
template<class T > | |
RES_T | sup (const Image< T > &imIn, const T &value, Image< T > &imOut) |
sup() - Sup of an image and a value | |
template<class T > | |
RES_T | inf (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
inf() - Inf of two images | |
template<class T > | |
ResImage< T > | inf (const Image< T > &imIn1, const Image< T > &imIn2) |
inf() - Inf of two images | |
template<class T > | |
RES_T | inf (const Image< T > &imIn, const T &value, Image< T > &imOut) |
inf() - Inf of an image and a value | |
template<class T > | |
RES_T | equ (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
equ() - Equality operator (pixel by pixel) | |
template<class T > | |
RES_T | equ (const Image< T > &imIn, const T &value, Image< T > &imOut) |
equ() - Equality operator (pixel by pixel) | |
template<class T > | |
bool | equ (const Image< T > &imIn1, const Image< T > &imIn2) |
equ() - Test equality between two images | |
template<class T > | |
RES_T | diff (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
diff() - Difference between two images. | |
template<class T > | |
RES_T | diff (const Image< T > &imIn, const T &value, Image< T > &imOut) |
diff() - Difference between an image and a value | |
template<class T > | |
RES_T | absDiff (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
absDiff() - Absolute difference ("vertical distance") between two images. | |
template<class T > | |
RES_T | grt (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
grt() - Greater operator | |
template<class T > | |
RES_T | grt (const Image< T > &imIn, const T &value, Image< T > &imOut) |
grt() - Greater operator | |
template<class T > | |
RES_T | grtOrEqu (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
grtOrEqu() - Greater or equal operator | |
template<class T > | |
RES_T | grtOrEqu (const Image< T > &imIn, const T &value, Image< T > &imOut) |
grtOrEqu() - Greater or equal operator | |
template<class T > | |
RES_T | low (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
low() - Lower operator | |
template<class T > | |
RES_T | low (const Image< T > &imIn, const T &value, Image< T > &imOut) |
low() - Lower operator | |
template<class T > | |
RES_T | lowOrEqu (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
lowOrEqu() - Lower or equal operator | |
template<class T > | |
RES_T | lowOrEqu (const Image< T > &imIn, const T &value, Image< T > &imOut) |
lowOrEqu() - Lower or equal operator | |
template<class T > | |
RES_T | div (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
div() - Division between two images | |
template<class T > | |
RES_T | div (const Image< T > &imIn, double &dValue, Image< T > &imOut) |
div() - Division : an image and a value | |
template<class T > | |
RES_T | mul (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
mul() - Multiply two images | |
template<class T > | |
RES_T | mul (const Image< T > &imIn, const double &dValue, Image< T > &imOut) |
mul() - Multiply an image and a value | |
template<class T > | |
RES_T | mulNoSat (const Image< T > &imIn1, const Image< T > &imIn2, Image< T > &imOut) |
mulNoSat() - Multiply (without type max check) The result is a image where : | |
template<class T > | |
RES_T | mulNoSat (const Image< T > &imIn, const T &value, Image< T > &imOut) |
mulNoSat() - Multiply an image and a value (without type max check) | |
template<class T1 , class T2 > | |
RES_T | log (const Image< T1 > &imIn, Image< T2 > &imOut, int base=0) |
log() - Logarithm of an image | |
template<class T1 , class T2 > | |
RES_T | exp (const Image< T1 > &imIn, Image< T2 > &imOut, int base=0) |
exp() - exponential of an image | |
template<class T1 , class T2 > | |
RES_T | pow (const Image< T1 > &imIn, Image< T2 > &imOut, double exponent=2) |
pow() - power of an image | |
template<class T1 , class T2 > | |
RES_T | sqrt (const Image< T1 > &imIn, Image< T2 > &imOut) |
sqrt() - square root of an image | |
inv() - Invert an image.
[in] | imIn | : Input image. |
[out] | imOut | : Output image. |
RES_T add | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
add() - Addition (with saturation check)
Addition between two images.
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
add() - Addition (with saturation check)
Addition a single value to each pixel of an image.
[in] | imIn1 | : input image |
[in] | value | : value to be added to each pixel in imIn |
[out] | imOut | : output image |
RES_T addNoSat | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
addNoSat() - Addition (without saturation check)
Addition between two images.
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
addNoSat() - Addition (without saturation check)
Addition a single value to each pixel of an image.
[in] | imIn1 | : input image |
[in] | value | : value to be added to each pixel in imIn |
[out] | imOut | output image |
RES_T sub | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
sub() - Subtraction between two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image containing imIn1 - imIn2 |
sub() - Subtraction between an image and a constant value
[in] | imIn | : input image |
[in] | value | : value to be subtracted from each pixel in the image |
[out] | imOut | : output image containing imIn - val |
sub() - Subtraction between a value and an image
[in] | value | : value to which each pixel of the image will be subtracted. |
[in] | imIn | : input image |
[out] | imOut | : output image containing val - imIn |
RES_T subNoSat | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
subNoSat() - Subtraction (without type minimum check) between two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image containing imIn1 - imIn2 |
subNoSat() - Subtraction (without type minimum check) between an image and a constant value
[in] | imIn | : input image |
[in] | value | : value to be subtracted from each pixel in the image |
[out] | imOut | : output image containing imIn - val |
subNoSat() - Subtraction (without type minimum check) between a value and an image
[in] | value | : value to which each pixel of the image will be subtracted. |
[in] | imIn | : input image |
[out] | imOut | : output image containing val - imIn |
RES_T sup | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
sup() - Sup of two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
sup() - Sup of two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
sup() - Sup of an image and a value
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T inf | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
inf() - Inf of two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
inf() - Inf of two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
inf() - Inf of an image and a value
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T equ | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
equ() - Equality operator (pixel by pixel)
Comparison, pixel by pixel, between two images.
The result is a binary image where :
imOut(x) = (imIn1(x) == imIn2(x) ? max(T) : 0)
The result is an image indicating which pixels are equal in both images.
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
equ() - Equality operator (pixel by pixel)
Comparison, pixel by pixel, between an image and a value.
The result is a binary image where :
imOut(x) = (imIn(x) == value ? max(T) : 0)
The result is an image indicating which pixels are equal to the value.
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
equ() - Test equality between two images
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
RES_T diff | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
diff() - Difference between two images.
Comparison, pixel by pixel, between two images.
The result is a binary image where :
imOut(x) = (imIn1(x) != imIn2(x) ? max(T) : 0)
In other words, the result is an image indicating which pixels are different in both images.
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
diff() - Difference between an image and a value
Comparison, pixel by pixel, between an image and a value.
The result is a binary image where :
imOut(x) = (imIn(x) != value ? max(T) : 0)
In other words, the result is an image indicating which pixels are different to the value.
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T absDiff | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
absDiff() - Absolute difference ("vertical distance") between two images.
Absolute difference between two images : abs(imIn1 - imIn2)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
RES_T grt | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
grt() - Greater operator
Comparison, pixel by pixel, between two images
The result is a binary image where :
imOut(x) = (imIn1(x) > imIn2(x) ? max(T) : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
grt() - Greater operator
Comparison, pixel by pixel, between an image and a value.
The result is a binary image where :
imOut(x) = (imIn(x) > value ? max(T) : 0)
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T grtOrEqu | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
grtOrEqu() - Greater or equal operator
Comparison, pixel by pixel, between two images
The result is a binary image where :
imOut(x) = (imIn1(x) >= imIn2(x) ? max(T) : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
grtOrEqu() - Greater or equal operator
Comparison, pixel by pixel, between an image and a value.
The result is a binary image where :
imOut(x) >= (imIn(x) > value ? max(T) : 0)
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T low | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
low() - Lower operator
Comparison, pixel by pixel, between two images
The result is a binary image where :
imOut(x) = (imIn1(x) < imIn2(x) ? max(T) : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
low() - Lower operator
Comparison, pixel by pixel, between an image and a value.
The result is a binary image where :
imOut(x) = (imIn(x) < value ? max(T) : 0)
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T lowOrEqu | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
lowOrEqu() - Lower or equal operator
Comparison, pixel by pixel, between two images
The result is a binary image where :
imOut(x) = (imIn1(x) <= imIn2(x) ? max(T) : 0)
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
lowOrEqu() - Lower or equal operator
Comparison, pixel by pixel, between an image and a value
The result is a binary image where :
imOut(x) = (imIn(x) <= value ? max(T) : 0)
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output imageBase/include/private/DImageArith.hpp: |
RES_T div | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
div() - Division between two images
The result is a image where :
imOut(x) = (imIn2(x) != 0 ? imIn1(x) / imIn2(x) : max(T))
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
div() - Division : an image and a value
The result is a image where :
imOut(x) = (value != 0 ? imIn(x) / value : max(T))
[in] | imIn | : input image |
[in] | dValue | : input value |
[out] | imOut | : output image |
RES_T mul | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
mul() - Multiply two images
The result is a image where :
imOut(x) = (imIn1(x) * imIn2(x) <= max(T) ? imIn1(x) * imIn2(x) : max(T))
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
mul() - Multiply an image and a value
The result is a image where :
imOut(x) = (imIn(x) * dValue <= max(T) ? imIn(x) * dValue : max(T))
[in] | imIn | : input image |
[in] | dValue | : input value |
[out] | imOut | : output image |
RES_T mulNoSat | ( | const Image< T > & | imIn1, |
const Image< T > & | imIn2, | ||
Image< T > & | imOut | ||
) |
mulNoSat() - Multiply (without type max check) The result is a image where :
imOut(x) = (imIn1(x) * imIn2(x) % (max(T) + 1))
[in] | imIn1 | : input image |
[in] | imIn2 | : input image |
[out] | imOut | : output image |
mulNoSat() - Multiply an image and a value (without type max check)
The result is a image where the value of each pixel will be given by :
imOut(x) = (imIn(x) * value % (max(T) + 1))
[in] | imIn | : input image |
[in] | value | : input value |
[out] | imOut | : output image |
RES_T log | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
int | base = 0 |
||
) |
log() - Logarithm of an image
The result is a image where the value of each pixel will be given by :
imOut(x) = (imIn(x) > 0 ? log(imIn(x)) : max(T))
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | base | : base of the function logarithm |
RES_T exp | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
int | base = 0 |
||
) |
exp() - exponential of an image
The result is a image where the value of each pixel will be given by :
imOut(x) = exp(imIn(x))
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | base | : base of the function logarithm |
RES_T pow | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
double | exponent = 2 |
||
) |
pow() - power of an image
The result is a image where the value of each pixel will be given by :
imOut(x) = pow(imIn(x), exponent)
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | exponent | : exponent to raise the value of each pixel |