Matching histogram between an image with reference histogram from excel data

I have a data of histogram with bins 255, this histogram will become the reference histogram.
How i can match an image with the reference histogram? Instead using the given coding of
where 'ref' here refer to an image, while mine the 'ref' refer to a histogram data.
can anybody help me?

回答 (1 件)

DGM
DGM 2022 年 4 月 20 日

0 投票

If you have an image and you need it to match a histogram, use histeq(). That's what imhistmatch() does internally. It simply gets the histogram from the reference image and feeds it to histeq().

カテゴリ

タグ

質問済み:

2022 年 4 月 20 日

回答済み:

DGM
2022 年 4 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by