how to find the gradient of pixels in angular direction?
5 次查看(过去 30 天)
显示 更早的评论
i wish to find gradient of pixels which are at an angle of 30 degrees with the central pixel of the block. How can I do this? because the usual gradient operators like sobel,prewitt will allow finding gradient only in the horizontal or vertical direction and not in angular.
0 个评论
回答(2 个)
Mehri Mehrnia
2022-7-11
编辑:Mehri Mehrnia
2022-7-11
If I want to find the norm of edge, should I replace 30 with 90 in the above formula?
Is "H*cosd(30)+V*sind(30)" a vector or point?
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!