fixing issues from coverity scan 1167937, 1167938, 1167939, 1127248 (http://scan.coverity.com/projects/169?tab=Overview)
This commit is contained in:
parent
7daf26d398
commit
38f46eb3b4
@ -2545,7 +2545,6 @@ struct Queue::Impl
|
|||||||
IMPLEMENT_REFCOUNTABLE();
|
IMPLEMENT_REFCOUNTABLE();
|
||||||
|
|
||||||
cl_command_queue handle;
|
cl_command_queue handle;
|
||||||
bool initialized;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Queue::Queue()
|
Queue::Queue()
|
||||||
|
@ -69,7 +69,6 @@ protected:
|
|||||||
bool detectKeypoints(UMat &keypoints);
|
bool detectKeypoints(UMat &keypoints);
|
||||||
|
|
||||||
const SURF* params;
|
const SURF* params;
|
||||||
int refcount;
|
|
||||||
|
|
||||||
//! max keypoints = min(keypointsRatio * img.size().area(), 65535)
|
//! max keypoints = min(keypointsRatio * img.size().area(), 65535)
|
||||||
UMat sum, intBuffer;
|
UMat sum, intBuffer;
|
||||||
|
@ -246,7 +246,7 @@ public:
|
|||||||
CV_WRAP HOGDescriptor() : winSize(64,128), blockSize(16,16), blockStride(8,8),
|
CV_WRAP HOGDescriptor() : winSize(64,128), blockSize(16,16), blockStride(8,8),
|
||||||
cellSize(8,8), nbins(9), derivAperture(1), winSigma(-1),
|
cellSize(8,8), nbins(9), derivAperture(1), winSigma(-1),
|
||||||
histogramNormType(HOGDescriptor::L2Hys), L2HysThreshold(0.2), gammaCorrection(true),
|
histogramNormType(HOGDescriptor::L2Hys), L2HysThreshold(0.2), gammaCorrection(true),
|
||||||
nlevels(HOGDescriptor::DEFAULT_NLEVELS)
|
free_coef(-1.f), nlevels(HOGDescriptor::DEFAULT_NLEVELS)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
CV_WRAP HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride,
|
CV_WRAP HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride,
|
||||||
@ -257,7 +257,7 @@ public:
|
|||||||
: winSize(_winSize), blockSize(_blockSize), blockStride(_blockStride), cellSize(_cellSize),
|
: winSize(_winSize), blockSize(_blockSize), blockStride(_blockStride), cellSize(_cellSize),
|
||||||
nbins(_nbins), derivAperture(_derivAperture), winSigma(_winSigma),
|
nbins(_nbins), derivAperture(_derivAperture), winSigma(_winSigma),
|
||||||
histogramNormType(_histogramNormType), L2HysThreshold(_L2HysThreshold),
|
histogramNormType(_histogramNormType), L2HysThreshold(_L2HysThreshold),
|
||||||
gammaCorrection(_gammaCorrection), nlevels(_nlevels)
|
gammaCorrection(_gammaCorrection), free_coef(-1.f), nlevels(_nlevels)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
CV_WRAP HOGDescriptor(const String& filename)
|
CV_WRAP HOGDescriptor(const String& filename)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user