eq::ROIEmptySpaceFinder Class Reference

Finds largest empty regions. More...

#include <roiEmptySpaceFinder.h>

Collaboration diagram for eq::ROIEmptySpaceFinder:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Finds largest empty regions.

For internal use only.

Definition at line 29 of file roiEmptySpaceFinder.h.


Member Function Documentation

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().

Here is the caller graph for this function:

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.


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:06:22 2010 for Equalizer 0.9.1 by  doxygen 1.6.1