// STL includes #include // Utils includes #include #include "hyperion/BlackBorderProcessor.h" RgbColor randomColor() { const uint8_t randomRedValue = uint8_t(rand() % (std::numeric_limits::max() + 1)); const uint8_t randomGreenValue = uint8_t(rand() % (std::numeric_limits::max() + 1)); const uint8_t randomBlueValue = uint8_t(rand() % (std::numeric_limits::max() + 1)); return {randomRedValue, randomGreenValue, randomBlueValue}; } RgbImage createImage(unsigned width, unsigned height, unsigned topBorder, unsigned leftBorder) { RgbImage image(width, height); for (unsigned x=0; x