Splitting color channels with cv::split doesnt work and final result conversion is correct