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.
Cavin Dsouza (2022). Image Masking Technique (https://www.mathworks.com/matlabcentral/fileexchange/40361-image-masking-technique), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!