// Hyperion includes #include #include ImageProcessorFactory& ImageProcessorFactory::getInstance() { static ImageProcessorFactory instance; // Return the singleton instance return instance; } void ImageProcessorFactory::init(const LedString& ledString, bool enableBlackBorderDetector) { _ledString = ledString; _enableBlackBorderDetector = enableBlackBorderDetector; } ImageProcessor* ImageProcessorFactory::newImageProcessor() const { return new ImageProcessor(_ledString, _enableBlackBorderDetector); }