Commit c2a880d7 authored by atinfinity's avatar atinfinity

fixed indent

parent 9552206a
...@@ -269,7 +269,7 @@ int main(int argc, const char* argv[]) ...@@ -269,7 +269,7 @@ int main(int argc, const char* argv[])
} }
if(is_sparse) if(is_sparse)
{ {
namedWindow("PyrLK [Sparse]", WINDOW_NORMAL); namedWindow("PyrLK [Sparse]", WINDOW_NORMAL);
} }
else else
...@@ -321,7 +321,8 @@ int main(int argc, const char* argv[]) ...@@ -321,7 +321,8 @@ int main(int argc, const char* argv[])
drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0)); drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0));
imshow("PyrLK [Sparse]", frame0); imshow("PyrLK [Sparse]", frame0);
} }
else { else
{
// Dense // Dense
Ptr<cuda::DensePyrLKOpticalFlow> d_pyrLK_dense = cuda::DensePyrLKOpticalFlow::create( Ptr<cuda::DensePyrLKOpticalFlow> d_pyrLK_dense = cuda::DensePyrLKOpticalFlow::create(
Size(winSize, winSize), maxLevel, iters); Size(winSize, winSize), maxLevel, iters);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment