Related functions for Simd::View structure.
More...
|
template<template< class > class A, class T > |
const T & | At (const View< A > &view, size_t x, size_t y) |
|
template<template< class > class A, class T > |
T & | At (View< A > &view, size_t x, size_t y) |
|
template<template< class > class A, template< class > class B> |
bool | EqualSize (const View< A > &a, const View< B > &b) |
|
template<template< class > class A> |
bool | EqualSize (const View< A > &a, const View< A > &b, const View< A > &c) |
|
template<template< class > class A, template< class > class B> |
bool | Compatible (const View< A > &a, const View< B > &b) |
|
template<template< class > class A> |
bool | Compatible (const View< A > &a, const View< A > &b, const View< A > &c) |
|
template<template< class > class A> |
bool | Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d) |
|
template<template< class > class A> |
bool | Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d, const View< A > &e) |
|
Related functions for Simd::View structure.
const T & At |
( |
const View< A > & |
view, |
|
|
size_t |
x, |
|
|
size_t |
y |
|
) |
| |
Gets constant reference to the pixel of arbitrary type at the point at the image with specified coordinates.
- Parameters
-
[in] | view | - an image. |
[in] | x | - a x-coordinate of the pixel. |
[in] | y | - a y-coordinate of the pixel. |
- Returns
- - a const reference to pixel of arbitrary type.
T & At |
( |
View< A > & |
view, |
|
|
size_t |
x, |
|
|
size_t |
y |
|
) |
| |
Gets reference to the pixel of arbitrary type at the point at the image with specified coordinates.
- Parameters
-
[in] | view | - an image. |
[in] | x | - a x-coordinate of the pixel. |
[in] | y | - a y-coordinate of the pixel. |
- Returns
- - a reference to pixel of arbitrary type.
template< template< class > class A, template< class > class B > bool EqualSize |
( |
const View< A > & |
a, |
|
|
const View< B > & |
b |
|
) |
| |
Checks two image views on the same size.
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
- Returns
- - a result of checking.
template< template< class > class A > bool EqualSize |
( |
const View< A > & |
a, |
|
|
const View< A > & |
b, |
|
|
const View< A > & |
c |
|
) |
| |
Checks three image views on the same size.
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
[in] | c | - a third image. |
- Returns
- - a result of checking.
template< template< class > class A, template< class > class B > bool Compatible |
( |
const View< A > & |
a, |
|
|
const View< B > & |
b |
|
) |
| |
Checks two image views on compatibility (the images must have the same size and pixel format).
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
- Returns
- - a result of checking.
template< template< class > class A > bool Compatible |
( |
const View< A > & |
a, |
|
|
const View< A > & |
b, |
|
|
const View< A > & |
c |
|
) |
| |
Checks three image views on compatibility (the images must have the same size and pixel format).
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
[in] | c | - a third image. |
- Returns
- - a result of checking.
template< template< class > class A > bool Compatible |
( |
const View< A > & |
a, |
|
|
const View< A > & |
b, |
|
|
const View< A > & |
c, |
|
|
const View< A > & |
d |
|
) |
| |
Checks four image views on compatibility (the images must have the same size and pixel format).
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
[in] | c | - a third image. |
[in] | d | - a fourth image. |
- Returns
- - a result of checking.
template< template< class > class A > bool Compatible |
( |
const View< A > & |
a, |
|
|
const View< A > & |
b, |
|
|
const View< A > & |
c, |
|
|
const View< A > & |
d, |
|
|
const View< A > & |
e |
|
) |
| |
Checks five image views on compatibility (the images must have the same size and pixel format).
- Parameters
-
[in] | a | - a first image. |
[in] | b | - a second image. |
[in] | c | - a third image. |
[in] | d | - a fourth image. |
[in] | e | - a fifth image. |
- Returns
- - a result of checking.
|