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

Community Treasure Hunt

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

Start Hunting!

Translated by