Added prog to sample pixels of all reference images, plus result data thereof.