Clear Filters
Clear Filters

Why sum of elements of derivative masks need be zero?

4 views (last 30 days)
Foe example: sobel, prewitt, roberts

Accepted Answer

Matt J
Matt J on 11 Apr 2013
Edited: Matt J on 11 Apr 2013
Because a uniform image has derivative zero everywhere (i.e., has no edges) and should give zero when you run the derivative mask over it. Having the mask elements sum to zero ensures this.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!