Finds largest empty regions. More...
#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) |
Finds largest empty regions.
For internal use only.
Definition at line 29 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.
0.9.1 by
1.6.1