How can i know the edge weight of each region in an image.?

1 view (last 30 days)
How can i know the edge weight of each region in an image.?
  2 Comments
David Young
David Young on 15 Sep 2014
What do you mean by edge weight? Is it the gradient magnitude at each pixel that lies on an edge, or is it the total number of edge pixels in each region, or something else?
moon sun
moon sun on 16 Sep 2014
I mean the total number of edge pixels in each region. Thanks!

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 15 Sep 2014
Look at the values you get from the gradient image when you call imgradient().

More Answers (0)

Community Treasure Hunt

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

Start Hunting!