フィルターのクリア

how to find grdient orientation histogram?

1 回表示 (過去 30 日間)
mano
mano 2012 年 2 月 8 日
i found the gradient and magnitude with this code but i dont know how to find gradient orientation histogram.if u know help me
angle = 360;
[GradientX,GradientY] = gradient(double(img));
Gr = sqrt((GradientX.*GradientX)+(GradientY.*GradientY));
index = GradientX == 0;
GradientX(index) = 1e-5; YX = GradientY./GradientX;
A = ((atan2(GradientY,GradientX)+pi)*180)/pi;

回答 (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