diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-18 06:49:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-18 06:49:11 +0200 |
commit | 52a34d749c6b977a8c1e13a1f0106fd624b5f40a (patch) | |
tree | 68aaeb7147a941ac89166a53af25165ce78945ff /proto-mouse/win32-mouse-protocol.qrc | |
parent | 95b9f8495735bc83e06fa4a17bd54fc553a48d10 (diff) |
tracker/pt: replace original blob center search with meanshift
The functions are almost identical so why not.
I removed several bits:
- weighting by squared pixel value is bad. weight by pixel
value instead.
- making the ROI twice as big doesn't make sense and makes for
misdetected blobs. remove it.
- switch radius coefficient to something doing less iterations.
- sprinkle some __restrict pointer qualifier.
- cv::floodfill invocation had some hardcoded flag value.
- point radius circle and the bullseye line length weren't
adjusted by scaling ratio. while the circle fitted the radius
tightly, it was now clutter, so I removed it, leaving only the
properly-scaled bullseye.
- brightness had to go sadly since it's not accumulated anymore.
Diffstat (limited to 'proto-mouse/win32-mouse-protocol.qrc')
0 files changed, 0 insertions, 0 deletions