cp /workspace/scratch/matting.py /workspace/scratch/matting2.py; python - <<'PY'
p='/workspace/scratch/matting.py';s=open(p).read().replace('B=b\n','B=b+delta[bi[0],bi[1]]\n').replace('al=matte(a,b,mask.astype(bool),20,40)','al=matte(a,b,mask.astype(bool),140,30)');open(p,'w').write(s)
PY
OPENBLAS_NUM_THREADS=1 python /workspace/scratch/matting.py HH-1206 HH-2342