The Roberts filter is used to detect edges in images by calculating the gradient of image intensity.
Horizontal kernel is given as:
| 1 | 0 |
| 0 | -1 |
Vertical kernel is given as:
| 0 | 1 |
| -1 | 0 |
Problem
| 10 | 50 | 30 | 20 |
| 80 | 100 | 90 | 60 |
| 40 | 80 | 70 | 50 |
| 10 | 60 | 20 | 30 |
- Apply Roberts edge detection method for all non border cells
- How will you find gradient, angle at (0,0) and (3,3) or in any corner pojnts
| Feature | Roberts | Sobel | Prewitt |
| Kernel Size | 2×2 | 3×3 | 3×3 |
| Edge Detection | Diagonal edges | Horizontal and vertical edges | Horizontal and vertical edges |
| Noise Sensitivity | High | Moderate | Moderate |
| Computational Complexity | Low | Moderate | Moderate |
| Accuracy | Good for fine edges | Good for general edges | Good for general edges |
![]()
Views: 3