frc4039 / 2016

Stronghold
2 stars 0 forks source link

Upgrade binary filter #1

Closed cbastarache closed 8 years ago

cbastarache commented 8 years ago

In the autonomous branch

currently the binary filter uses only a simple threshold on the green layer. Upgrade it to filter based on the filter in https://github.com/frc4039/2016/blob/autonomous/dev/vision.m where it subtracts the blue pixel if the green pixel is low but not high. red pixel is always subtracted.