Home » Android code sample: bitmap and image » Sharpen bitmap using Convolution Sharpen bitmap using Convolution Anonymous 09:45 Android code sample: bitmap and image The previous exercise "Blur bitmap using Convolution". By changing the matrix of Convolution class, we can use it to sharpen bitmap. class Convolution { // matrix to sharpen image int[][] matrix = { { 0, -1, 0 }, { -1, 5, -1 }, { 0, -1, 0 } }; ...more: Something about processing images in Android Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.