Domanda di colloquio di IBM

Question on image converstion from Color to