histogram for visual letters

1 回表示 (過去 30 日間)
andrei alex
andrei alex 2019 年 6 月 1 日
コメント済み: Walter Roberson 2019 年 6 月 1 日
Hello,
Could someone help me with the following fuction :
I need to write a function that for an image IMG and a dictionary for visual letter , calculates the normalized histogram for the visual letters.
For each color pixel in the img image, the closest (in the Euclidean distance) visual word of C is identified and the frequency of the occurrence of the visual word in the associated histogram is incremented.
At the end, the histogram normalizes
Thank you
  3 件のコメント
Image Analyst
Image Analyst 2019 年 6 月 1 日
I have no idea what htis means. What is a "visual word of C"? What does each axis in your Euclidean space represent?
Walter Roberson
Walter Roberson 2019 年 6 月 1 日
This could sort of make sense if every different "letter" was a different color.
But what I would expect is that there is a folder of test images, each of which holds an image of fixed size representing a letter, and there is a different folder of reference images, one per letter, and that you were intended to go through the folder of test images and find the euclidean difference between the test image and each of the reference images, and by finding the minimum, determine what the most likely match is among the reference images .

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by