modified:   bagofpixels/batch.m