SMIL 1.1.1
|
Functions | |
template<class T1 , class T2 > | |
RES_T | test (const Image< T1 > &imIn, const Image< T2 > &imInT, const Image< T2 > &imInF, Image< T2 > &imOut) |
test() - Test | |
template<class T1 , class T2 > | |
RES_T | test (const Image< T1 > &imIn, const Image< T2 > &imInT, const T2 &value, Image< T2 > &imOut) |
test() - Test | |
template<class T1 , class T2 > | |
RES_T | test (const Image< T1 > &imIn, const T2 &value, const Image< T2 > &imInF, Image< T2 > &imOut) |
test() - Test | |
template<class T1 , class T2 > | |
RES_T | test (const Image< T1 > &imIn, const T2 &valueT, const T2 &valueF, Image< T2 > &imOut) |
test() - Test | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn1, const char *compareType, const Image< T1 > &imIn2, const Image< T2 > &trueIm, const Image< T2 > &falseIm, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn1, const char *compareType, const Image< T1 > &imIn2, const T2 &trueVal, const Image< T2 > &falseIm, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn1, const char *compareType, const Image< T1 > &imIn2, const Image< T2 > &trueIm, const T2 &falseVal, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn1, const char *compareType, const Image< T1 > &imIn2, const T2 &trueVal, const T2 &falseVal, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn, const char *compareType, const T1 &value, const Image< T2 > &trueIm, const Image< T2 > &falseIm, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn, const char *compareType, const T1 &value, const T2 &trueVal, const Image< T2 > &falseIm, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn, const char *compareType, const T1 &value, const Image< T2 > &trueIm, const T2 &falseVal, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
template<class T1 , class T2 > | |
RES_T | compare (const Image< T1 > &imIn, const char *compareType, const T1 &value, const T2 &trueVal, const T2 &falseVal, Image< T2 > &imOut) |
compare() - Compare each pixel of two images (or an image and a value) | |
RES_T test | ( | const Image< T1 > & | imIn, |
const Image< T2 > & | imInT, | ||
const Image< T2 > & | imInF, | ||
Image< T2 > & | imOut | ||
) |
test() - Test
The result is a image where :
imOut(x) = (imIn(x) != 0 ? imInT(x] : imInF(x))
[in] | imIn | : input image |
[in] | imInT | : input image with values to set when true |
[in] | imInF | : input image with values to set when false |
[out] | imOut | : output image |
RES_T test | ( | const Image< T1 > & | imIn, |
const Image< T2 > & | imInT, | ||
const T2 & | value, | ||
Image< T2 > & | imOut | ||
) |
test() - Test
The result is a image where :
imOut(x) = (imIn(x) != 0 ? imInT(x] : value)
[in] | imIn | : input image |
[in] | imInT | : input image with values to set when true |
[in] | value | : input value to set when false |
[out] | imOut | : output image |
RES_T test | ( | const Image< T1 > & | imIn, |
const T2 & | value, | ||
const Image< T2 > & | imInF, | ||
Image< T2 > & | imOut | ||
) |
test() - Test
The result is a image where :
imOut(x) = (imIn(x) != 0 ? value : imInF(x])
[in] | imIn | : input image |
[in] | value | : input value to set when true |
[in] | imInF | : input image with values to set when false |
[out] | imOut | : output image |
RES_T test | ( | const Image< T1 > & | imIn, |
const T2 & | valueT, | ||
const T2 & | valueF, | ||
Image< T2 > & | imOut | ||
) |
test() - Test
The result is a image where :
imOut(x) = (imIn(x) != 0 ? value : imInF(x])
[in] | imIn | : input image |
[in] | valueT | : input value to set when true |
[in] | valueF | : input value to set when false |
[out] | imOut | : output image |
RES_T compare | ( | const Image< T1 > & | imIn1, |
const char * | compareType, | ||
const Image< T1 > & | imIn2, | ||
const Image< T2 > & | trueIm, | ||
const Image< T2 > & | falseIm, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of two images and set the corresponding pixel of imOut to the same pixel of trueIm if result is true or falseIm if not.
[in] | imIn1 | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | imIn2 | : input image (or a constant value) |
[in] | trueIm | : image to take pixel values from when comparison is true |
[in] | falseIm | : image to take pixel values from when comparison is false |
[out] | imOut | : output image |
RES_T compare | ( | const Image< T1 > & | imIn1, |
const char * | compareType, | ||
const Image< T1 > & | imIn2, | ||
const T2 & | trueVal, | ||
const Image< T2 > & | falseIm, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of two images and set the corresponding pixel of imOut to trueVal if result is true or falseIm if not.
[in] | imIn1 | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | imIn2 | : input image (or a constant value) |
[in] | trueVal | : value to set when comparison is true |
[in] | falseIm | : image to take pixel values from when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn1, |
const char * | compareType, | ||
const Image< T1 > & | imIn2, | ||
const Image< T2 > & | trueIm, | ||
const T2 & | falseVal, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of two images and set the corresponding pixel of imOut to the same pixel of trueIm if result is true or falseVal if not.
[in] | imIn1 | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | imIn2 | : input image |
[in] | trueIm | : image to take pixel values from when comparison is true |
[in] | falseVal | : value to set when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn1, |
const char * | compareType, | ||
const Image< T1 > & | imIn2, | ||
const T2 & | trueVal, | ||
const T2 & | falseVal, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of two images and set the corresponding pixel of imOut to trueVal if result is true or falseVal if not.
[in] | imIn1 | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | imIn2 | : input image |
[in] | trueVal | : value to set when comparison is true |
[in] | falseVal | : value to set when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn, |
const char * | compareType, | ||
const T1 & | value, | ||
const Image< T2 > & | trueIm, | ||
const Image< T2 > & | falseIm, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of an image and a value and set the corresponding pixel of imOut to the same pixel of trueIm if result is true or falseIm if not.
[in] | imIn | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | value | : input value |
[in] | trueIm | : image to take pixel values from when comparison is true |
[in] | falseIm | : image to take pixel values from when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn, |
const char * | compareType, | ||
const T1 & | value, | ||
const T2 & | trueVal, | ||
const Image< T2 > & | falseIm, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of an image and a value and set the corresponding pixel of imOut to trueVal if result is true or falseIm if not.
[in] | imIn | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | value | : input value |
[in] | trueVal | : value to set when comparison is true |
[in] | falseIm | : image to take pixel values from when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn, |
const char * | compareType, | ||
const T1 & | value, | ||
const Image< T2 > & | trueIm, | ||
const T2 & | falseVal, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of an image and a value and set the corresponding pixel of imOut to the same pixel of trueIm if result is true or falseVal if not.
[in] | imIn | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | value | : input value |
[in] | trueIm | : image to take pixel values from when comparison is true |
[in] | falseVal | : value to set when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T compare | ( | const Image< T1 > & | imIn, |
const char * | compareType, | ||
const T1 & | value, | ||
const T2 & | trueVal, | ||
const T2 & | falseVal, | ||
Image< T2 > & | imOut | ||
) |
compare() - Compare each pixel of two images (or an image and a value)
Compare each pixel of an image and a value and set the corresponding pixel of imOut to trueVal if result is true or falseVal if not.
[in] | imIn | : input image |
[in] | compareType | : one of "<", "<=", "==", "!=", ">=", ">" |
[in] | value | : input value |
[in] | trueVal | : value to set when comparison is true |
[in] | falseVal | : value to set when comparison is false |
[out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.