mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Instrumentation for OpenCV API regions and IPP functions;
This commit is contained in:
@@ -147,6 +147,8 @@ void GainCompensator::feed(const std::vector<Point> &corners, const std::vector<
|
||||
|
||||
void GainCompensator::apply(int index, Point /*corner*/, InputOutputArray image, InputArray /*mask*/)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
multiply(image, gains_(index, 0), image);
|
||||
}
|
||||
|
||||
@@ -225,6 +227,8 @@ void BlocksGainCompensator::feed(const std::vector<Point> &corners, const std::v
|
||||
|
||||
void BlocksGainCompensator::apply(int index, Point /*corner*/, InputOutputArray _image, InputArray /*mask*/)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
CV_Assert(_image.type() == CV_8UC3);
|
||||
|
||||
UMat u_gain_map;
|
||||
|
||||
Reference in New Issue
Block a user