mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Merge pull request #953 from jet47:fix-bug-3069
This commit is contained in:
commit
7f9675bcc0
@ -406,7 +406,7 @@ public:
|
|||||||
GpuMat dclassified(1, 1, CV_32S);
|
GpuMat dclassified(1, 1, CV_32S);
|
||||||
cudaSafeCall( cudaMemcpy(dclassified.ptr(), &classified, sizeof(int), cudaMemcpyHostToDevice) );
|
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))
|
while (level.isFeasible(maxObjectSize))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user