diff --git a/deploy/hyperion-remote b/deploy/hyperion-remote index 616f4ffd..2617294e 100755 Binary files a/deploy/hyperion-remote and b/deploy/hyperion-remote differ diff --git a/deploy/hyperiond.REMOVED.git-id b/deploy/hyperiond.REMOVED.git-id index c26545c9..89f28372 100644 --- a/deploy/hyperiond.REMOVED.git-id +++ b/deploy/hyperiond.REMOVED.git-id @@ -1 +1 @@ -71c14781ce343776ab00db70f9d2493e3e2feead \ No newline at end of file +2aec2ecd5196371657df1e358ad3946e0da71a14 \ No newline at end of file diff --git a/libsrc/hyperion/ImageProcessor.cpp b/libsrc/hyperion/ImageProcessor.cpp index 8e78cb6a..3b91bf9e 100644 --- a/libsrc/hyperion/ImageProcessor.cpp +++ b/libsrc/hyperion/ImageProcessor.cpp @@ -57,6 +57,9 @@ std::vector ImageProcessor::process(const RgbImage& image) void ImageProcessor::process(const RgbImage& image, std::vector& ledColors) { + // Ensure that the buffer-image is the proper size + setSize(image.width(), image.height()); + // Check black border detection verifyBorder(image); diff --git a/libsrc/hyperion/ImageToLedsMap.h b/libsrc/hyperion/ImageToLedsMap.h index 8cecb94b..59fb68a6 100644 --- a/libsrc/hyperion/ImageToLedsMap.h +++ b/libsrc/hyperion/ImageToLedsMap.h @@ -80,7 +80,7 @@ namespace hyperion /// The height of the indexed image const unsigned _height; /// The absolute indices into the image for each led - std::vector > mColorsMap; + std::vector> mColorsMap; /// /// Calculates the 'mean color' of the given list. This is the mean over each color-channel