Main Page   Modules   File List  

propgeo.c File Reference

geodesic propagation of image values More...


Detailed Description

geodesic propagation of image values

Usage: propgeo in.pgm mask.pgm connex mode out.pgm

Description: Propagates certain values of the original image in.pgm, geodesicaly wrt the connected components of the binary image mask.pgm. The connexity is specified by the parameter connex. The mode is one of the following ones: min : propagates the minimal value of the component min1 : selects one point the value of which is equal to the min max : propagates the maximal value of the component max1 : selects one point the value of which is equal to the max moy : propagates the mean grayscale value of the component moy1 : selects one point the value of which is nearest to the mean minb : propagates the minimal value of the external border of the component maxb : propagates the maximal value of the external border of the component moyb : propagates the mean value of the external border of the component randb : fills the component with random values, with a normal distribution centered around the value computed as for moyb

Types supported: byte 2d

Category: connect

Author:
Michel Couprie

Generated on Fri Dec 17 11:59:38 2004 for Pink by doxygen1.2.18