필터 지우기
필터 지우기

I am comparing two histogrmas using pdist function but it gives me error "??? Error using ==> pdist2 at 133 X and Y must have the same number of columns." so how to get equal number of columns in both histogrmas?

조회 수: 2 (최근 30일)
One histogram is colour image histogram and another is sketch image histogram formed of concatenation of several small histogram(i.e. histogram of each block),so how can I get comparison get done??? colour image histogram have 1024 columns and sketch image has 59 columns...

채택된 답변

Walter Roberson
Walter Roberson 2014년 1월 14일
In that case, do not histogram the color image into 1024 bins: histogram it into 59 bins.
  댓글 수: 4
radha
radha 2014년 1월 14일
As far as I know chi-square function is available directly then why I am getting this error.. Thanks in advance..
radha
radha 2014년 1월 14일
I want you to clear one thing as I noticed now though I changed bins to 59 but still number of columns in color image remains 1024 only I displayed it on command prompt.. so please let me know difference between columns and bins and how it affects histogram? Thanks

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

추가 답변 (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