Boring changes - stitching.
This commit is contained in:
@@ -48,13 +48,13 @@ namespace detail {
|
||||
Ptr<ExposureCompensator> ExposureCompensator::createDefault(int type)
|
||||
{
|
||||
if (type == NO)
|
||||
return new NoExposureCompensator();
|
||||
return makePtr<NoExposureCompensator>();
|
||||
if (type == GAIN)
|
||||
return new GainCompensator();
|
||||
return makePtr<GainCompensator>();
|
||||
if (type == GAIN_BLOCKS)
|
||||
return new BlocksGainCompensator();
|
||||
return makePtr<BlocksGainCompensator>();
|
||||
CV_Error(Error::StsBadArg, "unsupported exposure compensation method");
|
||||
return NULL;
|
||||
return Ptr<ExposureCompensator>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user