Histogram computation from gradient image.

1 回表示 (過去 30 日間)
Algorithms Analyst
Algorithms Analyst 2013 年 11 月 18 日
コメント済み: Algorithms Analyst 2013 年 11 月 19 日
Hello everyone
I want to compute the histogram using image gradient.let say that I have an image
Img=imread(myimage);
[gx gy]=edge(Img,'sobel');
Mag=sqrt(gx,gy);
Dir=atan2(gy,gx);
now I want to compute the orientation bins using 12 orientations each covering 30degree.
how can I do it.After that I need to sum(Img,Dir) from 1 to number of bins 12.
Any help is appreciated.
  2 件のコメント
Walter Roberson
Walter Roberson 2013 年 11 月 18 日
sqrt() cannot take two numeric inputs.
Algorithms Analyst
Algorithms Analyst 2013 年 11 月 19 日
I will correct it. The question is about histogram computatiom

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by