morphological erosion with circular element More...
#include <vil1/vil1_image.h>
Go to the source code of this file.
Functions | |
vil1_image | vepl1_erode_disk (vil1_image const &, float radius) |
morphological erosion with circular element of supplied radius. |
morphological erosion with circular element
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!
Definition in file vepl1_erode_disk.h.
vil1_image vepl1_erode_disk | ( | vil1_image const & | , |
float | radius | ||
) |
morphological erosion with circular element of supplied radius.
Definition at line 8 of file vepl1_erode_disk.cxx.