histogram for visual letters

1 visualización (últimos 30 días)
andrei alex
andrei alex el 1 de Jun. de 2019
Comentada: Walter Roberson el 1 de Jun. de 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 comentarios
Image Analyst
Image Analyst el 1 de Jun. de 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 el 1 de Jun. de 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 .

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by