added methods taking edgels to patches