Merge pull request #953 from jet47:fix-bug-3069

This commit is contained in:
Roman Donchenko
2013-06-05 17:56:35 +04:00
committed by OpenCV Buildbot

View File

@@ -406,7 +406,7 @@ public:
GpuMat dclassified(1, 1, CV_32S);
cudaSafeCall( cudaMemcpy(dclassified.ptr(), &classified, sizeof(int), cudaMemcpyHostToDevice) );
PyrLavel level(0, 1.0f, image.size(), NxM, minObjectSize);
PyrLavel level(0, scaleFactor, image.size(), NxM, minObjectSize);
while (level.isFeasible(maxObjectSize))
{