OpenCV  3.2.0-dev
Open Source Computer Vision
cv::detail::GainCompensator Class Reference

Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see [11] and [91] for details. More...

#include "exposure_compensate.hpp"

Inheritance diagram for cv::detail::GainCompensator:
Collaboration diagram for cv::detail::GainCompensator:

Public Types

enum  {
  NO,
  GAIN,
  GAIN_BLOCKS
}
 

Public Member Functions

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

Static Public Member Functions

static Ptr< ExposureCompensatorcreateDefault (int type)
 

Detailed Description

Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see [11] and [91] for details.

Member Enumeration Documentation

anonymous enum
inherited
Enumerator
NO 
GAIN 
GAIN_BLOCKS 

Member Function Documentation

void cv::detail::GainCompensator::apply ( int  index,
Point  corner,
InputOutputArray  image,
InputArray  mask 
)
virtual

Compensate exposure in the specified image.

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

Implements cv::detail::ExposureCompensator.

static Ptr<ExposureCompensator> cv::detail::ExposureCompensator::createDefault ( int  type)
staticinherited
void cv::detail::ExposureCompensator::feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< UMat > &  masks 
)
inherited
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)
void cv::detail::GainCompensator::feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< std::pair< UMat, uchar > > &  masks 
)
virtual

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

Implements cv::detail::ExposureCompensator.

std::vector<double> cv::detail::GainCompensator::gains ( ) const

The documentation for this class was generated from the following file: