#include <roiEmptySpaceFinder.h>

Public Member Functions | |
| void | update (const uint8_t *mask, const int32_t w, const int32_t h) |
| Updated data structure from a given mask. | |
| PixelViewport | getLargestEmptyArea (const PixelViewport &pvp) const |
| Returns maximal empty pvp within a given pvp. | |
| uint16_t | getArea (const int32_t x, const int32_t y, const int32_t w, const int32_t h) const |
| uint16_t | getArea (const int32_t x, const int32_t y, const int32_t w, const int32_t h, const uint16_t *data) const |
| void | setLimits (const int16_t absolute, const float relative) |
Definition at line 28 of file roiEmptySpaceFinder.h.
| void eq::ROIEmptySpaceFinder::update | ( | const uint8_t * | mask, | |
| const int32_t | w, | |||
| const int32_t | h | |||
| ) |
Updated data structure from a given mask.
Limits should be re-initialized after calling this function
Definition at line 38 of file roiEmptySpaceFinder.cpp.
Referenced by eq::ROIFinder::findRegions().

| PixelViewport eq::ROIEmptySpaceFinder::getLargestEmptyArea | ( | const PixelViewport & | pvp | ) | const |
Returns maximal empty pvp within a given pvp.
Uses mask data from update to check if single block is empty!
Definition at line 172 of file roiEmptySpaceFinder.cpp.
References eq::PixelViewport::h, eq::PixelViewport::w, eq::PixelViewport::x, and eq::PixelViewport::y.
0.9 by
1.5.8