boost::gil::histogram_equalization

Overload for histogram equalization algorithm, takes in both source & destination image views and histogram equalizes the input image.

Synopsis

template<
    typename SrcView,
    typename DstView>
void
histogram_equalization(
    SrcView const& src_view,
    DstView const& dst_view,
    std::size_t bin_width = 1,
    bool mask = false,
    std::vector<std::vector<bool>> src_mask = {});

Parameters

Name

Description

src_view

INPUT source image view

dst_view

OUTPUT Output image view

bin_width

INPUT Histogram bin width

mask

INPUT Specify is mask is to be used

src_mask

INPUT Mask vector over input image

Created with MrDocs