Header. More...
Go to the source code of this file.
Namespaces | |
osvr | |
< | |
Functions | |
void | osvr::vbtracker::truncateBrightnessListTo (BrightnessList &brightnesses, size_t n) |
Helper for implementations of LedIdentifier to truncate the passed-in brightness list to the maximum useful length. More... | |
BrightnessMinMax | osvr::vbtracker::findMinMaxBrightness (const BrightnessList &brightnesses) |
Helper function for implementations of LedIdentifier to find the minimum and maximum values in a non-empty list of brightnesses. | |
LedPatternWrapped | osvr::vbtracker::getBitsUsingThreshold (const BrightnessList &brightnesses, float threshold) |
Helper for implementations of LedIdentifier to turn a brightness list into a boolean list based on thresholding on the halfway point between minimum and maximum brightness. | |