A HPF Mask is used to detect the edges in a given image.Example of one such HPF mask of order 3*3 is
[0 -1 0;-1 4 -1;0 -1 0].
This resultant image of edges is added to the original image so as to produce a sharp image.
Also LPF mask matrices can be used to produce smooth images.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.