summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/ftnoir_protocol_wine.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-18 06:49:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-18 06:49:11 +0200
commit52a34d749c6b977a8c1e13a1f0106fd624b5f40a (patch)
tree68aaeb7147a941ac89166a53af25165ce78945ff /proto-wine/ftnoir_protocol_wine.h
parent95b9f8495735bc83e06fa4a17bd54fc553a48d10 (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-wine/ftnoir_protocol_wine.h')
0 files changed, 0 insertions, 0 deletions