![]() |
ChimeraTK-DeviceAccess 03.20.00
|
provides convenient matrix-like access for MappedImage More...
#include <MappedImage.h>
Public Types | |
using | iterator = ValType * |
using | value_type = ValType |
Public Member Functions | |
ImgView (MappedImage *owner) | |
ValType & | operator() (unsigned dx, unsigned dy, unsigned channel=0) |
This allows to read/write image pixel values, for given coordinates. | |
ValType * | begin () |
ValType * | end () |
ValType * | beginRow (unsigned row) |
ValType * | endRow (unsigned row) |
ImgHeader * | header () |
Protected Member Functions | |
ValType * | vec () |
Protected Attributes | |
MappedImage * | _mi |
provides convenient matrix-like access for MappedImage
Definition at line 113 of file MappedImage.h.
using ChimeraTK::ImgView< ValType, OPTIONS >::iterator = ValType* |
Definition at line 125 of file MappedImage.h.
using ChimeraTK::ImgView< ValType, OPTIONS >::value_type = ValType |
Definition at line 126 of file MappedImage.h.
|
inline |
Definition at line 115 of file MappedImage.h.
|
inline |
Definition at line 128 of file MappedImage.h.
|
inline |
Definition at line 131 of file MappedImage.h.
|
inline |
Definition at line 129 of file MappedImage.h.
|
inline |
Definition at line 132 of file MappedImage.h.
ImgHeader * ChimeraTK::ImgView< ValType, OPTIONS >::header | ( | ) |
Definition at line 300 of file MappedImage.h.
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.
|
protected |
Definition at line 305 of file MappedImage.h.
|
protected |
Definition at line 137 of file MappedImage.h.