Hi there anyone can help me with this: - After I change the values of the list a to a small image data in black and white and keep doing the same thing as I did to first program I am not able to get an image…Anyone can help me?
a={{0., 1., 0.}, {1., 0., 1.}, {0., 1., 0.},{0., 1., 0.}, {1., 0., 1.}, {0., 1., 0.},{0., 1., 0.}, {1., 0., 1.}, {0., 1., 0.}}
c=Flatten[a]
b=c
d=Riffle[b,c]
e=Partition[d,6]
Image[e]
Image[a]
Second program should do the same as the above for the image data but it gets me a weird result:
a=ImageData[ ]
c=Flatten[a]
b=c
d=Riffle[b,c]
e=Partition[d,6]
Image[e]
Image[a]
the image I want to get the image data from is attached…
