Do you know about https://github.com/lisa-lab/pylearn2/blob/master/pylearn2/scripts/show_binocular_greyscale_examples.py ?
You should probably comment on the relationship between the two scripts here