From: Shadow removal with background difference method based on shadow position and edges attributes
 | Criterion | Shadow position | Search direction |
---|---|---|---|
Horizontal | N1 ≥ N2 | Right half | Left to right |
N1 < N2 | Left half | Right to left | |
Vertical | N3 ≥ N4 | Lower half | Top to bottom |
N3 < N4 | Upper half | Bottom to top |