java - How to calculate and display a laplacian filtered image -
I would like to know how to calculate and display a laplacian filter image for an example Laplacian filter. < / P>
-16 -16-206 -16 -1
Please help me with this. Thank you. I appreciate any help that I can get.
Assume that you are able to scan the image pixels in pixels. Result_Image (size) (int i = 1; i & lt; Result_Image.rows-1; i ++) for the original_size (size) = // First and last
To ignore the rows (Results i_aage.cols-1; i ++) {Result_Image (i, j) = -20 * Result_Image (i, j) + 6 * (Result_Image (i-1, Out of range) J) + Result_Image (i + 1, j) + Result_Image (i, j-1) + Result_Image (i, j + 1)) - 1 * (Result_Image (i-1, J-1) + Result_Image (I + 1, j + 1) + Result_Image (i + 1, j-1) + Result_Image (i-1, j + 1)); }}You can get Java for OpenCV or Java by using ProjectLibrary, if Java scanning does not support images by pixels
Note = This algorithm may be disabled, there are some useful functions for filtering images in libraries
Comments
Post a Comment