Filter löschen
Filter löschen

Histogram computation from gradient image.

2 Ansichten (letzte 30 Tage)
Algorithms Analyst
Algorithms Analyst am 18 Nov. 2013
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 Kommentare
Walter Roberson
Walter Roberson am 18 Nov. 2013
sqrt() cannot take two numeric inputs.
Algorithms Analyst
Algorithms Analyst am 19 Nov. 2013
I will correct it. The question is about histogram computatiom

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by