In the meantime, I found these pre-processing steps work well:
1) Convert to grayscale
2) Duplicate layer
3) Gaussian blur with a large radius (depends on source material)
4) Set layer mode to "difference"
5) Merge down
6) Colors > Invert (shadows and shade variations have now been mostly removed)
7) Colors > Threshold
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!