how to compute pixel difference based upon gradient direction of an image

based on four different directions need to compute pixel difference satisfying threshold value

Answers (1)

I don't understand your question. But you might start with imgradient() or imgradientxy().

1 Comment

for image 256*256 calculated edge pixel and corresponding gradient direction such as 0,45,-45,-90 now for every edge pixel i need to calculate pixel difference based upon their corresponding direction and if the difference satisfy threshold value then need to store those pixel values. Please help in this regard

Sign in to comment.

Asked:

Ram
on 20 Jun 2016

Commented:

Ram
on 27 Jun 2016

Community Treasure Hunt

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

Start Hunting!