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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by