필터 지우기
필터 지우기

using HSV histogram of 6 bins in image classification

조회 수: 2 (최근 30일)
Nermeen alami
Nermeen alami 2013년 2월 23일
Hi please i need help .... could anyone tell me how to use HSV histogram in image classification i tried hard i get the histograms but when i tried to save results in a file to use it in nearest neighbor classifier i stopped i didn't know what to save and how to use data.
i used this code
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 2월 23일
If you search this resource for
hsv histogram
you will find a number of discussions.
Nermeen alami
Nermeen alami 2013년 2월 23일
where can i find the discussion

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 2월 23일
Didn't I already give you code for that in an earlier question? I did for someone...
  댓글 수: 5
Walter Roberson
Walter Roberson 2013년 2월 23일
.mat is the expected file extension when you use save(), and is completely suitable if you will be loading the information back into MATLAB. You can use
load FILENAME
to restore the histogram variable value to your workspace.
Image Analyst
Image Analyst 2013년 2월 23일
Yes, that is fine:
fullFileName = fullfile(yourFolder, 'hsv_histograms.mat');
save(fullFileName, 'hCount', 'sCount', 'vCount');
yourFolder can be pwd (the current folder) if you want.
I don't know what your last sentence means. No idea.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by