Reading csv and display it as 2D image

Hi everyone,

I am trying to read a csv file and display it as image. I’m very new to C++ and Vtk. The csv file has following data:

1 2 3 4

10 20 30 40

50 60 70 80

Any suggestions please??