this is not the perfect version. I tried replicating the work of "A new homogeneity-based approach to edge
detection using PSO -- Mahdi Setayesh, Mengjie Zhang and Mark Johnston". in a easy way. results are not yet perfect but can be improved by tuning. it is a good material to start up.
objective function: uniformity(smaller at edge)/homoginity(higher at edge)
chromosome encoding: 5 pixels in consecutive row following the selected pixel having value 1-8(8 directions) 0 for no pixel
please go through "Particle Swarm Optimisation for Edge Detection in Noisy Images, Mahdi Setayesh thesis" and "Effects of Static and Dynamic Topologies in Particle Swarm Optimisation for Edge Detection in Noisy Images"
Selva (2022). Genetic algorithm based edge linking for edge detection (https://www.mathworks.com/matlabcentral/fileexchange/64384-genetic-algorithm-based-edge-linking-for-edge-detection), 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!