Pergunta de entrevista da empresa Here Solution

How will you convert an rbg matrix to a grayscale matrix