Playing with WASM and Markov random fields for image processing. Specifically, a black and white only filter (no shades of gray).
The WASM/JS glue is heavily inspired by photon-rs’s examples, which were a huge help.
Live demo available here: https://speedy-parrot.alarsyo.net
Processes reasonably large images in a few seconds each!
This code is distributed under the terms of both the MIT license and the Apache License (Version 2.0).