<s> import h5py , random , numpy <EOL> import PIL , PIL . Image <EOL> from scipy . ndimage import filters <EOL> import random <EOL> f = h5py . File ( '<STR_LIT>' , '<STR_LIT:r>' ) <EOL> data = f [ '<STR_LIT>' ] <EOL> print data . shape <EOL> i = random . randint ( <NUM_LIT:0> , data . shape [ <NUM_LIT:0> ] - <NUM_LIT:1> ) <EOL> for z in xrange ( <NUM_LIT:10> ) : <EOL> j = random . randint ( <NUM_LIT:0> , data . shape [ <NUM_LIT:1> ] - <NUM_LIT:1> ) <EOL> m = data [ i ] [ j ] <EOL> m = filters . gaussian_filter ( m , sigma = random . random ( ) * <NUM_LIT:1.0> ) <EOL> img = PIL . Image . fromarray ( numpy . uint8 ( <NUM_LIT:255> - m ) ) <EOL> img . show ( ) </s>
