Added border-ignore to the image-to-leds mapping.

Added doxygen comments.
This commit is contained in:
T. van der Zwan
2013-08-21 15:24:42 +00:00
parent b880603a30
commit 7c9ac7d151
4 changed files with 102 additions and 70 deletions

View File

@@ -28,7 +28,7 @@ int main()
const RgbColor testColor = {64, 123, 12};
RgbImage image(64, 64, testColor);
ImageToLedsMap map(64, 64, ledString.leds());
ImageToLedsMap map(64, 64, 0, 0, ledString.leds());
std::vector<RgbColor> ledColors(ledString.leds().size());
map.getMeanLedColor(image, ledColors);