Visualize PMI function for an image

See viz_pmi_script.m
minor