1 #ifndef vil_binary_opening_h_ 2 #define vil_binary_opening_h_ 24 #endif // vil_binary_opening_h_ Structuring element for morphology represented as a list of non-zero pixels.
bool vil_binary_dilate(const imAccessorT &image, unsigned plane, const vil_structuring_element &element, int i0, int j0)
Return true if any image pixel under element centred at (i0,j0) is non-zero.
bool vil_binary_erode(const imAccessorT &image, unsigned plane, const vil_structuring_element &element, int i0, int j0)
Return false if any image pixel under element centred at (i0,j0) is zero.
Perform binary erosion on images.
void vil_binary_opening(const vil_image_view< bool > &src_image, vil_image_view< bool > &dest_image, const vil_structuring_element &element)
Applies morphological opening operation with given structuring element.
Perform binary dilation on images.