Refactor and fix syntax typo

Change-Id: I365b8bdc4263db144117770476b63eee149e9776
Introduce standard deviation

Change-Id: I2b0787090332689b517b32b3aac7d7bac13016ab
Introduce weighted centroid function

Change-Id: Id1bfe730544c28491d0ae23a30dd21275903b13a
Refactoring

Change-Id: Icc74c85de30581177360134b69965b1262c92e5c
Sort by weight

Change-Id: I6696ae59944c315a8a9af5c516c319cae643a9fd
Weight: count^2/stddev
Add more result sets

Change-Id: I1e885a321922f329fcfff85e69202f3d136bd87e
More intermediate results

Change-Id: I7a44b454595da247fe5e440982fd7e66421dfc6c
Add yuv property functions

Change-Id: I521cc59e6e3be180c566a336f95d528535d792c0
Require weight-function parameter

Change-Id: I7be21b433bc0497a886368bdf56c616797a49e6a
Add weight function

Change-Id: I1cfa7de8f7bbfbe4b201f341ab8aaa57815db5ab
Separate decorate and filter function

Change-Id: I96160ce5be14248a9a605b822cfdeb60748522f4
Cleanup

Change-Id: I2e13927f4f73dd35f5c795852d3387c1bba9ab51
Background-Foreground color detection

Change-Id: I3e27df59eec14def0be76e014ad730eb152507e2