src/libraries/img/process.js
function (inData, outData, width, height) {
        convolve5x5(inData, outData, width, height,
            [
                [-1, -1, -1, -1, -1],
                [-1, -1, -1, -1, -1],
                [-1, -1, 24, -1, -1],
                [-1, -1, -1, -1, -1],
                [-1, -1, -1, -1, -1]
            ],
            false, true, true);
    }
function (inData, outData, width, height) {
        convolve5x5(inData, outData, width, height,
            [
                [-1, -1, -1, -1, -1],
                [-1, -1, -1, -1, -1],
                [-1, -1, 24, -1, -1],
                [-1, -1, -1, -1, -1],
                [-1, -1, -1, -1, -1]
            ],
            false, true, true);
    }
function ( inData , outData , width , height ) { convolve5x5 ( inData , outData , width , height , [ [ - 1 , - 1 , - 1 , - 1 , - 1 ] , [ - 1 , - 1 , - 1 , - 1 , - 1 ] , [ - 1 , - 1 , 24 , - 1 , - 1 ] , [ - 1 , - 1 , - 1 , - 1 , - 1 ] , [ - 1 , - 1 , - 1 , - 1 , - 1 ] ] , false , true , true ) ; }
A 5x5 Laplacian edge-detect
A 5x5 Laplacian edge - detect