High-resolution images can be processed efficiently in browsers.
- Install
WebAssembly. - Run
compilebeforetest. - Dont
newtoo much at a time. - Many effects are still under development.
var f = new Fundus(canvasId, imageUrl, wasmUrl);
f.mat3Convolution([0,-1,0,-1,4,-1,0,-1,0]); // webgl only, edge detection
f.histEqualization(); // webgl with webassembly
f.reset();