Removed the trailing whitespace

pull/1283/head
Jin Ma 12 years ago
parent 1e8194fd3c
commit 5728612f95
  1. 1
      modules/ocl/src/bgfg_mog.cpp
  2. 3
      modules/ocl/src/opencl/bgfg_mog.cl

@ -636,4 +636,3 @@ void cv::ocl::MOG2::release()
bgmodelUsedModes_.release();
}

@ -142,7 +142,6 @@ __kernel void mog_withoutLearning_kernel(__global T_FRAME* frame, __global uchar
if (x < frame_col && y < frame_row)
{
T_MEAN_VAR pix = cvt(frame[(y + frame_offset_y) * frame_step + (x + frame_offset_x)]);
int kHit = -1;
@ -179,12 +178,10 @@ __kernel void mog_withoutLearning_kernel(__global T_FRAME* frame, __global uchar
}
}
}
if(kHit < 0 || kHit >= kForeground)
fgmask[(y + fgmask_offset_y) * fgmask_step + (x + fgmask_offset_x)] = (uchar) (-1);
else
fgmask[(y + fgmask_offset_y) * fgmask_step + (x + fgmask_offset_x)] = (uchar) (0);
}
}

Loading…
Cancel
Save