Phase Congruency

Computes edge and corner phase congruency in an image
4 Downloads
Updated 20 Dec 2024

View License

This is a reformatting of Peter Koveshi's phasecong3.m to facilitate computing edges, corners a features from images in videos.
Example usage
pc = PhaseCongruency('Sharpness',15);
vidRdr = VideoReader('atrium.mp4');
vidPlayer = vision.VideoPlayer;
while hasFrame(vidRdr)
frame = readFrame(vidRdr);
pc.detect(frame);
vidPlayer(pc.Edge)
end
release(vidPlayer);
To view an edge strength image
imshow(PhaseCongruency('Image', imread('coins.png')).Edge)
Included is a user interface
pcviewer()
to visualize parameter tunning

Cite As

Collin Pecora (2025). Phase Congruency (https://www.mathworks.com/matlabcentral/fileexchange/177759-phase-congruency), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with R2022a and later releases
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
1.0.0