test drawing code for locating salient image locations