next up previous contents index
Next: osamss Up: Reference Previous: median   Contents   Index

opening

$ \bigcirc$Name


opening opening/closing of a cimage




$ \bigcirc$Command Synopsis


opening [-i] [-s s] [-r r] [-n n] in out



-i : if set, a closing is applied instead of an opening

-s s : if set, the shape s is taken as structuring element

-r r : otherwise, a disc of radius r (default 1.0) is used

-n n : number of iterations (default: 1)

in : input image

out : output image




$ \bigcirc$Function Summary


Cimage opening (u , v , r , s , n , i )

Cimage u , v ;

float *r ;

Curve s ;

int *n ;

char *i ;




$ \bigcirc$Description


This module computes the opening (erosion + dilation) -- or the closing (dilation + erosion) if the -i option is set -- of the Cimage u by the structuring element s (which is assumed to be a disc of radius r if no shape s is specified). The erosion module is called twice to process successively n erosions and n dilations on u.




$ \bigcirc$See Also


erosion.

sr_normalize.


$ \bigcirc$Version 2.1


Last Modification date : Thu Nov 29 20:23:56 2001


$ \bigcirc$Author


Lionel Moisan






next up previous contents index
Next: osamss Up: Reference Previous: median   Contents   Index
mw 2004-05-05