Second-order differential filter - Laplacian operator
First-order differential filter - gradient operator
Laplacian operator
From the perspective of Laplacian operator, the number in the middle of the template is very large, the purpose is to make the image Enhanced
Function : image enhancement, highlighting details, but will cause a certain amount of noise
to calibrate the image (limit the image between [0-K])
fm=f− m i n ( f)
fs=k[fm/max(fm)]
gradient operator
Function:
Detect product defects and make edge defects clearly visible Pattern shadows
that will not change or change slowly are removed, simplifying the computational tasks required for automatic detection
Used to highlight invisible small spots in grayscale images
Highlight edges