Image Masking Technique

It helps in edge detection, Image smoothening depending upon the masking matrices used.


Updated 19 Feb 2013

View License

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.

Cite As

Cavin Dsouza (2023). Image Masking Technique (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes