fixed a bug in mean subtraction from target and search patches
As the type of `targetPatch` and `searchPatch` is CV_8UC3, subtracting 128 from them will saturate all values smaller than 128 to zero.
Showing
Please
register
or
sign in
to comment