Converts signals/slots to use const cv::Mat& instead of QImage*