Functions
contrib/tbl/vepl/vepl_dilate_disk.h File Reference

morphological dilation with circular element More...

#include <vil/vil_image_resource.h>

Go to the source code of this file.

Functions

vil_image_resource_sptr vepl_dilate_disk (vil_image_resource_sptr, float radius)
 morphological dilation with circular element.

Detailed Description

morphological dilation with circular element

Dilation is a morphological operation that replaces a pixel with the maximum value of its surrounding pixels, in a certain neighbourhood. Here, the neighbourhood is circular, with an arbitrary (float) radius, which is to be passed to the constructor.

Note that the function max(DataIn,DataIn) is being used; for non-scalar data types (like colour pixels) an appropriate max() function must thus be supplied.

Note also the implicit use of DataOut::DataOut(DataIn), which you probably will have to provide when DataIn and DataOut are not the same type. It could even be argued that these types should always be the same!

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
7 October 2002
    Modifications
     12/97 updated by Tboult to use new codegen form and have valid (public
            agreed) ctor and to use preop and postop to define/destroy the mask.
     Peter Vanroose - 20 aug 2003 - changed parameter and return types from vil_image_view_base_sptr to vil_image_resource_sptr
   

Definition in file vepl_dilate_disk.h.


Function Documentation

vil_image_resource_sptr vepl_dilate_disk ( vil_image_resource_sptr  ,
float  radius 
)

morphological dilation with circular element.

Definition at line 10 of file vepl_dilate_disk.cxx.