Edge Detection with Pandore



1. DOG algorithm (Difference of Gaussian):

   pexponentialfiltering 0.2 tangram.pan a.pan
   pexponentialfiltering 0.8 tangram.pan b.pan
   psub a.pan b.pan c.pan
   pzerocross 8 0 c.pan out.pan

2. Thresholding by hysteresis

(seuilb seuilh tangram.pan out.pan)

pbinarization seuilh 1e30 tangram.pan i1.pan
pbinarization seuilb 1e30 tangram.pan i2.pan
pgeodesicdilatation 1 1 -1 i1.pan i2.pan out.pan
[an error occurred while processing this directive]