repeat $! l[$>]
+to_gray /. 5
f.. "begin(val=0;);
off=abs(round(i(#-1,x,y,z,0)));
if(off,
for(xx=off*-1,xx<=off,xx++,
for(yy=off*-1,yy<=off,yy++,
val+=j(xx,yy,0,0,0,1);
);
);
val/=sqr(off*2+1);,i
);
"
rm.
endl done
Made this command which average blur depending on pixel values. Is anyone interested in this? I didn’t use crop here because I don’t see boundary condition, and strictly positive only.