PANDORE Version 6 | GREYC-IMAGE |
pexponentialfiltering applies an exponential filter to the input image im_in. The exponential filter is built as follows for one image row, first from left to right (h1) and then from right to left (h2):
h1[x]= alpha*(im_in[y][x]-h1[x-1]) + h1[x-1] h2[x]= alpha*(h1[x]-h2[x+1]) + h[x+1]
The filter is then applied on each rows and each columns.
Returns SUCCESS or FAILURE.
Performs an edge detection using the 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
Lissage par une exponentielle symétrique.
Author: Régis Clouard