static L horizontalIntRangesToImages(BWImage img, L l) { new L out; for (IntRange r : l) out.add(img.clip(r.start, 0, r.end-r.start, img.getHeight())); ret out; }