Perform median filtering on images. More...
Go to the source code of this file.
Defines | |
#define | vil_median_txx_ |
#define | VIL_MEDIAN_INSTANTIATE(T) |
Functions | |
template<class T > | |
void | vil_median (const vil_image_view< T > &src_image, vil_image_view< T > &dest_image, const vil_structuring_element &element) |
Computes median value of pixels under structuring element. |
Perform median filtering on images.
Definition in file vil_median.txx.
#define VIL_MEDIAN_INSTANTIATE | ( | T | ) |
template void vil_median(const vil_image_view< T >& src_image, \ vil_image_view< T >& dest_image, \ const vil_structuring_element& element)
Definition at line 73 of file vil_median.txx.
#define vil_median_txx_ |
Definition at line 2 of file vil_median.txx.
void vil_median | ( | const vil_image_view< T > & | src_image, |
vil_image_view< T > & | dest_image, | ||
const vil_structuring_element & | element | ||
) |
Computes median value of pixels under structuring element.
dest_image(i0,j0) is the median value of the pixels under the structuring element when it is centred on src_image(i0,j0)
Definition at line 15 of file vil_median.txx.