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.

Definition at line 28 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.

References eq::PixelViewport::h, eq::PixelViewport::w, eq::PixelViewport::x, and eq::PixelViewport::y.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:43 2009 for Equalizer 0.9 by  doxygen 1.5.8