00001 #ifndef vepl_erode_disk_h_ 00002 #define vepl_erode_disk_h_ 00003 00004 //: 00005 // \file 00006 // \brief morphological erosion with circular element 00007 // 00008 // Erosion is a morphological operation that replaces a pixel with the 00009 // minimum value of its surrounding pixels, in a certain neighbourhood. 00010 // Here, the neighbourhood is circular, with an arbitrary (float) radius, 00011 // which is to be be passed to the constructor. 00012 // 00013 // Note that the function min(DataIn,DataIn) is being used; for 00014 // non-scalar data types (like colour pixels) an appropriate min() function 00015 // must thus be supplied. 00016 // 00017 // Note also the implicit use of DataOut::DataOut(DataIn), 00018 // which you probably will have to provide when DataIn and DataOut 00019 // are not the same type. It could even be argued that these types should 00020 // always be the same! 00021 // 00022 // \author Peter Vanroose, K.U.Leuven (ESAT/PSI) 00023 // \date 28 April 2001 00024 00025 #include <vil1/vil1_image.h> 00026 00027 //: morphological erosion with circular element of supplied radius 00028 vil1_image vepl_erode_disk(vil1_image const& , float radius); 00029 00030 #endif // vepl_erode_disk_h_
1.7.5.1