UI layers merger: merging UI layers via visual learning and boundary prior