Images and matrices

Cheat sheet how to converge image into arrays and the other way around.

PIL: simple operations



PIL to array

It is a colored image so we have 3 images into 3, red, blue, green.

more simple way

Array to array transposed

Array to PIL

Split colors