how can i calculate gradient strength and orientation using sobel operator?

1 view (last 30 days)
hi , i dont know , how can i calculate gradient strength g and orientation α∈ (0, π) are extracted at each location n, m from each image using the Sobel operator ! there are a pair of factors G ( ∗) and H ( ∗) are used to define relative strength (gradient information) and orientation “change”,which are shown as:
help me please

Accepted Answer

Image Analyst
Image Analyst on 9 Aug 2017
Have you seen imgradient() and imgradientxy()? They do that.

More Answers (1)

Selva Karna
Selva Karna on 9 Aug 2017
you have apply after sobel apply cnr ratio?
  1 Comment
maso0m aBbasi
maso0m aBbasi on 9 Aug 2017
Edited: maso0m aBbasi on 9 Aug 2017
no,that is a part of an improved fusion rule based on edge preservation is proposed to preserve the geometric structural information. The edge preservation is on behalf of the edge information from the separated image. For source images A, B , the cartoon and texture images X ( At ), X ( An ), X ( Bt ), X ( Bn ), the spatial information preservation measures
are defined as:

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!