provides convenient matrix-like access for MappedImage
More...
#include <MappedImage.h>
template<typename ValType, ImgOptions OPTIONS>
class ChimeraTK::ImgView< ValType, OPTIONS >
provides convenient matrix-like access for MappedImage
Definition at line 113 of file MappedImage.h.
◆ iterator
template<typename ValType , ImgOptions OPTIONS>
◆ value_type
template<typename ValType , ImgOptions OPTIONS>
◆ ImgView()
template<typename ValType , ImgOptions OPTIONS>
◆ begin()
template<typename ValType , ImgOptions OPTIONS>
◆ beginRow()
template<typename ValType , ImgOptions OPTIONS>
◆ end()
template<typename ValType , ImgOptions OPTIONS>
◆ endRow()
template<typename ValType , ImgOptions OPTIONS>
◆ header()
template<typename ValType , ImgOptions OPTIONS>
◆ operator()()
template<typename ValType , ImgOptions OPTIONS>
ValType & ChimeraTK::ImgView< ValType, OPTIONS >::operator() |
( |
unsigned |
dx, |
|
|
unsigned |
dy, |
|
|
unsigned |
channel = 0 |
|
) |
| |
This allows to read/write image pixel values, for given coordinates.
dx, dy are relative to x_start, y_start, i.e. x = x_start+dx on output side channel is 0..2 for RGB this method is for random access. for sequential access, iterators provide better performance
Definition at line 280 of file MappedImage.h.
◆ vec()
template<typename ValType , ImgOptions OPTIONS>
◆ _mi
template<typename ValType , ImgOptions OPTIONS>
The documentation for this class was generated from the following file:
- /scratch/dragon/sources/ChimeraTK-DeviceAccess/include/MappedImage.h