opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

ExposureCompensator Class Reference

ExposureCompensator Class Reference
[Exposure Compensation]

Base class for all exposure compensators. More...

#include <exposure_compensate.hpp>

Inherited by BlocksGainCompensator, GainCompensator, and NoExposureCompensator.

Public Member Functions

void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks)
virtual void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)=0
virtual void apply (int index, Point corner, InputOutputArray image, InputArray mask)=0
 Compensate exposure in the specified image.

Detailed Description

Base class for all exposure compensators.

Definition at line 56 of file exposure_compensate.hpp.


Member Function Documentation

virtual void apply ( int  index,
Point  corner,
InputOutputArray  image,
InputArray  mask 
) [pure virtual]

Compensate exposure in the specified image.

Parameters:
indexImage index
cornerImage top-left corner
imageImage to process
maskImage mask

Implemented in NoExposureCompensator, GainCompensator, and BlocksGainCompensator.

virtual void feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< std::pair< UMat, uchar > > &  masks 
) [pure virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Implemented in NoExposureCompensator, GainCompensator, and BlocksGainCompensator.

void feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< UMat > &  masks 
)
Parameters:
cornersSource image top-left corners
imagesSource images
masksImage masks to update (second value in pair specifies the value which should be used to detect where image is)