This produces high homogeneity value for edge pixels and low values for non-edge pixel. Finally, a user defined threshold (here by otsu's method) is applied to mark the edges in the image. It uses 8 neighbour pixels on 3*3 mask operator
Refer: A new homogeneity-based approach to edge detection using PSO
by Mahdi Setayesh, Mengjie Zhang and Mark Johnston
Selva (2021). Edge Detection by Homogeneity Operator (https://www.mathworks.com/matlabcentral/fileexchange/64326-edge-detection-by-homogeneity-operator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!