OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::detail::NoExposureCompensator Class Reference

Stub exposure compensator which does nothing. More...

#include <opencv2/stitching/detail/exposure_compensate.hpp>

Inheritance diagram for cv::detail::NoExposureCompensator:
Collaboration diagram for cv::detail::NoExposureCompensator:

Public Types

enum  {
  NO,
  GAIN,
  GAIN_BLOCKS,
  CHANNELS,
  CHANNELS_BLOCKS
}
 

Public Member Functions

void apply (int, Point, InputOutputArray, InputArray) CV_OVERRIDE
 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 > &, const std::vector< UMat > &, const std::vector< std::pair< UMat, uchar > > &) CV_OVERRIDE
 
void getMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
bool getUpdateGain ()
 
void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
void setUpdateGain (bool b)
 

Static Public Member Functions

static Ptr< ExposureCompensatorcreateDefault (int type)
 

Protected Attributes

bool updateGain
 

Detailed Description

Stub exposure compensator which does nothing.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
NO 
GAIN 
GAIN_BLOCKS 
CHANNELS 
CHANNELS_BLOCKS 

Member Function Documentation

◆ apply()

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

Compensate exposure in the specified image.

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

Implements cv::detail::ExposureCompensator.

◆ createDefault()

static Ptr<ExposureCompensator> cv::detail::ExposureCompensator::createDefault ( int  type)
staticinherited

◆ feed() [1/2]

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)

◆ feed() [2/2]

void cv::detail::NoExposureCompensator::feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< std::pair< UMat, uchar > > &  masks 
)
inlinevirtual

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.

◆ getMatGains()

void cv::detail::NoExposureCompensator::getMatGains ( std::vector< Mat > &  umv)
inlinevirtual

Reimplemented from cv::detail::ExposureCompensator.

◆ getUpdateGain()

bool cv::detail::ExposureCompensator::getUpdateGain ( )
inlineinherited

◆ setMatGains()

void cv::detail::NoExposureCompensator::setMatGains ( std::vector< Mat > &  umv)
inlinevirtual

Reimplemented from cv::detail::ExposureCompensator.

◆ setUpdateGain()

void cv::detail::ExposureCompensator::setUpdateGain ( bool  b)
inlineinherited

Member Data Documentation

◆ updateGain

bool cv::detail::ExposureCompensator::updateGain
protectedinherited

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