boost::gil::histogram_matching

Overload for histogram matching algorithm, takes in a single source histogram & reference histogram and returns the color map used for histogram matching.

Synopsis

template<
    typename SrcKeyType,
    typename RefKeyType>
std::map<SrcKeyType, SrcKeyType>
histogram_matching(
    histogram<SrcKeyType> const& src_hist,
    histogram<RefKeyType> const& ref_hist);

Template Parameters

Name

Description

SrcKeyType

Key Type of input histogram

Parameters

Name

Description

src_hist

INPUT Input source histogram

ref_hist

INPUT Input reference histogram

Created with MrDocs