Question d’entretien chez National Instruments

Write a program (method) that for a given image, determines pixel values for an array.