An inner rim outperforms an outer rim, but its improvement over ordinary ink is uneven.
We compared the gradient of smoothed ink with the inside, outside and full rim of a thresholded silhouette. Smoothing, ink threshold and rim width were selected using training pixels only.
| Predictor | Test right | Test left |
|---|---|---|
| Ordinary ink | 0.768 | 0.700 |
| Gradient strength | 0.582 | 0.558 |
| Inner rim | 0.853 | 0.700 |
| Outer rim | 0.218 | 0.365 |
| Full rim | 0.384 | 0.509 |
Both directions select the same inner-rim setting in this finite search: 1.0 source-pixel smoothing, 0.42 threshold and two-pixel erosion. Score equality on the left is rounded. The inner model draws some loops well, but does not clearly improve grayscale prediction on both sides. This ranking is for the tested parameter grid and optimizer.