Create seq2image

image2seq is a function which is used change a binary sequence to a image matrix