histogram for visual letters

1 Ansicht (letzte 30 Tage)
andrei alex
andrei alex am 1 Jun. 2019
Kommentiert: Walter Roberson am 1 Jun. 2019
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 Kommentare
Image Analyst
Image Analyst am 1 Jun. 2019
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 am 1 Jun. 2019
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 .

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by