필터 지우기
필터 지우기

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

Community Treasure Hunt

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

Start Hunting!

Translated by