Research Article
Image Edge Detection by Global Thresholding Using Riemann–Liouville Fractional Integral Operator
Algorithm 1
Removal and cleaning of the isolated pixels and merging of detected edges.
| Input: Binary image: b of size m × n; Set of neighbor pixels N = 4, ςl = 0.08 and ςh = 0.35. | | Output: Optimized edges: oe of size m × n; Set of operations to be executed oe. | | 1. if ς = ςl | | 2. for all {i and j ∈ N} | | 3. if b4 (i, j) = 1 | | 4. then oel(i, j) = 0; | | 5. else oel(i, j) = 1; | | 6. end if | | 7. end for | | 8. else if ς = ςh | | 9. for all {i and j ∈ N} | | 10. if b4 (i, j) = 1 | | 11. then oeh (i, j) = 0; | | 12. else oeh (i, j) = 1; | | 13. end if | | 14. end for | | 15. end if | | 16. then oe = oel ∪ oeh |
|