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

4 views (last 30 days)
Ram
Ram on 20 Jun 2016
Commented: Ram on 27 Jun 2016
based on four different directions need to compute pixel difference satisfying threshold value

Answers (1)

Image Analyst
Image Analyst on 26 Jun 2016
I don't understand your question. But you might start with imgradient() or imgradientxy().
  1 Comment
Ram
Ram on 27 Jun 2016
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.

Community Treasure Hunt

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

Start Hunting!