boost::gil::top_hat
Calculates the difference between input image view and the view generated by opening operation on the input image view.
Synopsis
template<
typename SrcView,
typename DstView,
typename Kernel>
void
top_hat(
SrcView const& src_view,
DstView const& dst_view,
Kernel const& ker_mat);
Template Parameters
Name |
Description |
SrcView |
type of source image, models gil::ImageViewConcept. |
DstView |
type of output image, models gil::MutableImageViewConcept. |
Kernel |
type of structuring element. |
Parameters
Name |
Description |
src_view |
‐ Source/input image view. |
dst_view |
‐ Destination view which will store the final result of top hat operation. |
ker_mat |
‐ Kernel matrix/structuring element containing 0's and 1's which will be used for applying the top hat operation. |
Created with MrDocs