degate  0.1.2
Classes | Namespaces | Functions
MorphologicalFilter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  degate::ErodeImagePolicy< ImageType, PixelType >
 Policy class for image erosion. More...
struct  degate::DilateImagePolicy< ImageType, PixelType >
 Policy class for image dilation. More...

Namespaces

namespace  degate
 

The namespace 'degate' is the namespace for everything that belongs to libdegate.


Functions

template<typename ImageTypeDst , typename ImageTypeSrc >
void degate::erode_image (std::shared_ptr< ImageTypeDst > dst, std::shared_ptr< ImageTypeSrc > src, unsigned int kernel_width=3, unsigned int erosion_threshold=3)
 Filter an image with an erosion filter.
template<typename ImageTypeDst , typename ImageTypeSrc >
void degate::dilate_image (std::shared_ptr< ImageTypeDst > dst, std::shared_ptr< ImageTypeSrc > src, unsigned int kernel_width=3, unsigned int dilation_threshold=3)
 Filter an image with an erosion filter.
template<typename ImageTypeDst , typename ImageTypeSrc >
void degate::morphological_open (std::shared_ptr< ImageTypeDst > dst, std::shared_ptr< ImageTypeSrc > src, unsigned int kernel_width=3, unsigned int threshold_dilate=1, unsigned int threshold_erode=3)
 Morphological open.
template<typename ImageTypeDst , typename ImageTypeSrc >
void degate::morphological_close (std::shared_ptr< ImageTypeDst > dst, std::shared_ptr< ImageTypeSrc > src, unsigned int kernel_width=3, unsigned int threshold_dilate=1, unsigned int threshold_erode=3)
 Morphological close.
template<typename ImageType >
bool degate::zhang_suen_thinning_iteration (std::shared_ptr< ImageType > img, bool condition_switch)
 Helper function for the Zhang-Suen-Thinning.
template<typename ImageType >
void degate::thinning (std::shared_ptr< ImageType > img)
 Zhang-Suen-Thinning of an image.