boost::gil::histogram_equalization

Overload for histogram equalization algorithm, takes in both source histogram & destination histogram and returns the color map used for histogram equalization as well as transforming the destination histogram.

Synopsis

template<
    typename SrcKeyType,
    typename DstKeyType>
std::map<SrcKeyType, DstKeyType>
histogram_equalization(
    histogram<SrcKeyType> const& src_hist,
    histogram<DstKeyType>& dst_hist);

Template Parameters

Name

Description

SrcKeyType

Key Type of input histogram

DstKeyType

Key Type of output histogram

Parameters

Name

Description

src_hist

INPUT source histogram

dst_hist

OUTPUT Output histogram

Created with MrDocs