![]() |
Zivid C++ API 2.15.0+5fcc365b-1
|
Pixel mapping from subsampled to full resolution. More...
#include <Zivid/Experimental/PixelMapping.h>
Public Member Functions | |
| PixelMapping () | |
| PixelMapping (const int rowStride, const int colStride, const float rowOffset, const float colOffset) | |
| int | rowStride () const |
| Row stride. | |
| int | colStride () const |
| Col stride. | |
| float | rowOffset () const |
| Offset in y, or row. | |
| float | colOffset () const |
| Offset in x, or column. | |
| ZIVID_UTILS_EXPORT std::string | toString () const |
| Get string representation. | |
| ZIVID_UTILS_EXPORT bool | operator== (const PixelMapping &rhs) const |
| Check for equality. | |
| ZIVID_UTILS_EXPORT bool | operator!= (const PixelMapping &rhs) const |
| Check for inequality. | |
Pixel mapping from subsampled to full resolution.
Required when mapping an index in a subsampled point cloud to e.g. a full resolution 2D image.
|
inline |
|
inline |
|
inline |
Offset in x, or column.
Initialize the column counter to this value.
|
inline |
Col stride.
Use it as the increment in a loop when looping through full resolution along columns.
| ZIVID_UTILS_EXPORT bool Zivid::Experimental::PixelMapping::operator!= | ( | const PixelMapping & | rhs | ) | const |
Check for inequality.
| ZIVID_UTILS_EXPORT bool Zivid::Experimental::PixelMapping::operator== | ( | const PixelMapping & | rhs | ) | const |
Check for equality.
|
inline |
Offset in y, or row.
Initialize the row counter to this value.
|
inline |
Row stride.
Use it as the increment in a loop when looping through full resolution along rows.
| ZIVID_UTILS_EXPORT std::string Zivid::Experimental::PixelMapping::toString | ( | ) | const |
Get string representation.