boost::gil::histogram_matching

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

Synopsis

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

Template Parameters

Name

Description

SrcKeyType

Key Type of input histogram

RefKeyType

Key Type of reference histogram

DstKeyType

Key Type of output histogram

Parameters

Name

Description

src_hist

INPUT source histogram

ref_hist

INPUT reference histogram

dst_hist

OUTPUT Output histogram

Created with MrDocs