I am using 3 X 3 convolution matrix to obtain an sharpness image.
But the output result obtain from the above matrix is not much sharpen image. How to increase the sharpness of the image ?
Ya i am using same matrix.
common.getPixels(inputPath).then(function () {
sharp(inputPath)
.png()
.convolve({
width: 3,
height: 3,
kernel: [0,-1,0,-1,5,-1,0,-1,0]
})
But the output generated is different. Need to get more sharpen image than the generated one.