Classes
contrib/tbl/vipl/vipl_erode_disk.h File Reference

morphological erosion with circular element More...

#include <vipl/filter/vipl_filter_2d.h>

Go to the source code of this file.

Classes

class  vipl_erode_disk< ImgIn, ImgOut, DataIn, DataOut, PixelItr >
 morphological erosion with circular element. More...

Detailed Description

morphological erosion with circular element

This image processing class is implemented using the vipl filters, which means that it can be used with any image class (IUE or not, TargetJr or not, vil or vil1 or not) of any pixel data type.

Erosion is a morphological operation that replaces a pixel with the minimum 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 min(DataIn,DataIn) is being used; for non-scalar data types (like colour pixels) an appropriate min() 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:
15 November 1997.
   Modifications:
     Peter Vanroose, Aug.2000 - adapted to vxl
   

Definition in file vipl_erode_disk.h.